DEV Community

Discussion on: Creating a Whatsapp chatbot using Node JS, Dialogflow and Twilio

 
chriskahiga profile image
chriskahiga

Hi Tinashe, how did you solve your issue, I'm also getting the same 502 Bad Gateway error

Thread Thread
 
teenahg profile image
Tinashe Gondwa

Hi Chris. First, check if you have all of the required node modules installed. The second check is this: if you're testing your project in a local environment, you must run npm run dev first, then once the server is running, you also start any other service or app that wants to use your project.