S
S
Solak12021-12-09 18:15:12
API
Solak1, 2021-12-09 18:15:12

What to do with an error ERROR - TeleBot: "A request to the Telegram API was unsuccessful. Error code: 409?

Deployed a telegram bot on an Ubuntu server, set up a database, tried to run the bot and got an error

(__init__.py:694 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. Error code: 409. Description: Conflict: terminated by other getUpdates request; make sure that only one bot instance is running"

I could not google anything sensible on this topic, maybe someone had such a problem. I will be grateful for help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey, 2022-01-19
@Varikorek

There may be such a problem as the code has already been run somewhere. Consequently, if in this way the error could not be found. I recommend just creating a new key to it.
I had such a situation that the bot was running in the background using the development environment. And I forgot about it overlooked. And he could close it only with the help of the found process in the task manager.
Things like that, good luck!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question