V
V
Vladimir2016-10-21 08:27:52
Heroku
Vladimir, 2016-10-21 08:27:52

How to run telegram bot on heroku with webhook?

Good afternoon!
Trying to run telegram bot on heroku using webhook
https://github.com/eternnoir/pyTelegramBotAPI/blob...
resulting in error
2016-10-12 10:04:05,274 (__init__.py:220 MainThread) ERROR - TeleBot : "A request to the Telegram API was unsuccessful. The server returned HTTP 409 Conflict. Response body:
2016-10-12T10:04:05.275181+00:00 app[web.1]: [b'{"ok":false ,"error_code":409,"description":"Conflict: terminated by other long poll or webhook"}']"
tell me what to do?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2016-11-07
@0sMo0

You already have a webhook running from another URL, or you are using GetUpdates somewhere else.
Make sure your bot is not running somewhere else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question