# 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

```txt
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:

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

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