Why vk bot does not work on heroku?

The situation is this:
Make bot for the VC group, the project installed the following modules:
- express io
- body-parser,
- node-vk-bot-api
Use Callback API Vkontakte for continuous support of the work of the bot.
Bot works successfully using ngrok but on heroku somehow gives an application error and the VC server it says I need the server returned a wrong answer.
While using Long Polling API, all worked.
Token and confirmation prescribed in the bot object.
UDP: the issue has been resolved by changing the port in process.env.PORT || 3000;
April 19th 20 at 12:10
1 answer
April 19th 20 at 12:12

Find more questions by tags HerokuBotsDeploymentVKontakte