Invalid or rejected Telegram token
How to fix @BotFather HTTP API token format errors, revoked tokens, duplicate bot connections, or Serverless Access Token issues.
Common token error causes
1. Incomplete token or extra text copied
Every HTTP API token issued by @BotFather consists of two parts separated by a colon (:), starting with the numeric bot ID:
1234567890:AAHfiqksKZ8WmR2z9xYpL0exampleTokenStringMake sure you copy only the token string, without surrounding text from the @BotFather message.
2. Revoked or rotated token
If a new token was generated via /token or /revoke in @BotFather, Telegram returns 401 Unauthorized. Send /token to @BotFather, select your bot, and copy the current active token.
3. Bot already connected to another slot
If StreamBot reports that the bot is already registered, check My bots (/panel/bots). To reuse the same Telegram bot in a different product category, delete its existing record in My bots first.
4. Telegram Serverless Access Token (Mini Apps)
The token required under Mini Apps (/panel/miniapps) is not the bot’s HTTP API token — it is the CLI Access Token generated inside the @BotFather Mini App under Serverless → CLI Access.