Answer the question
In order to leave comments, you need to log in
Trouble hosting telegram bot on heroku?
telebot.apihelper.ApiException: A request to the Telegram API was unsuccessful. The server returned HTTP 404 Not Found. response body.
The bot works on the local machine. (It seems to me that the token is specified directly in the code) It seems to me that the error is due to the use of config vars on heroku. Used config vars to avoid putting the bot's token on github
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question