Logo
ХелпдескУправление знаниямиБизнесуТарифыЧто такое KCS?Блог
Русский
Личный кабинет
Омниканальность
© 2023 - 2026 ООО «Свормика». Swarmica - Платформа управления знаниями и ресурсами техподдержки. Версия: 6.1.2

#338: Telegram bot is not working

Отредактирована: сегодня

Symptoms

When connecting a bot that was previously in another system, messages from the bot do not come to Swarmica.

In the logs, there is an error

ERROR 2024-11-16 14:01:57,491 dispatcher 7 139681445026688 Failed to fetch updates - TelegramConflictError: Telegram server says - Conflict: can't use getUpdates method while webhook is active; use deleteWebhook to delete the webhook first
WARNING 2024-11-16 14:01:57,498 dispatcher 7 139681445026688 Sleep for 4.893700 seconds and try again... (tryings = 13, bot id = 6804714376)

Solution

Delete the webhook by opening the link in the browser:

https://api.telegram.org/botAPITOKEN/setWebhook?url=

IMPORTANT! Replace the word APITOKEN with your token in the format 1111111111:AAAAAAAAAAAAAAbbbbbbbbbbCCCCCCCCCCC