- TeleBot: "ApiTelegramException occurred, args=('A request to the Telegram API was unsuccessful. Error code: 403 Description: Forbidden: bot was blocked by the user',)
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/telebot/util.py", line 69, in run
task(*args, **kwargs)
File "mainex.py", line 89, in send_welcome
bot.send_message(message.chat.id,"Готов к работе",reply_markup=menu_keyboard)
File "/usr/local/lib/python3.8/dist-packages/telebot/__init__.py", line 640, in send_message
apihelper.send_message(self.token, chat_id, text, disable_web_page_preview, reply_to_message_id,
File "/usr/local/lib/python3.8/dist-packages/telebot/apihelper.py", line 201, in send_message
return _make_request(token, method_url, params=payload, method='post')
File "/usr/local/lib/python3.8/dist-packages/telebot/apihelper.py", line 108, in _make_request
json_result = _check_result(method_name, result)
File "/usr/local/lib/python3.8/dist-packages/telebot/apihelper.py", line 135, in _check_result
raise ApiTelegramException(method_name, result, result_json)
telebot.apihelper.ApiTelegramException: A request to the Telegram API was unsuccessful. Error code: 403 Description: Forbidden: bot was blocked by the user
"
2020-10-24 16:54:35,186 (__init__.py:455 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. Error code: 403 Description: Forbidden: bot was blocked by the user"
это телеграм бот
ты его заблокировал
по-моему это юзер заблочил у себя твоего бота.
бота
тоесть какой-то пидор сидит спамит боту и быстро его блочит?
почему пидор-то? Просто отключил от него уведомления. Простейший способ.
Обсуждают сегодня