F
F
fendiglock2021-02-17 17:40:58
Bots
fendiglock, 2021-02-17 17:40:58

Error when sending a message to a bot in Telegram?

I downloaded the finished bot script, and this is the error when I write / start in the bot.

ERROR - TeleBot: "A request to the Telegram API was unsuccessful. Error code: 400. chat not found?

The bot is on pythonanywhere

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Karbivnichy, 2021-02-17
@hottabxp

Error code: 400. chat not found?
This error indicates that the chat was not found. We can't help more than that.

A
Alex K, 2021-02-17
@alexk111

Probably, when accessing the Telegram API, an incorrect chat_id was passed in the parameters

W
wz, 2021-02-17
@rensly

Invalid chat id.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question