Telegram errors
USER_DEACTIVATED_BAN and deleted accounts
The account you are using was deleted or banned.
Based only on Telegram's official documentation, checked on November 25, 2026.
The errors
- USER_DEACTIVATED_BAN401
“The current account was deleted and banned by Telegram's antispam system.”
Source: Error database (errors.json) - USER_DEACTIVATED401
“The current account was deleted by the user.”
Source: Error database (errors.json) - PHONE_NUMBER_BANNED400
“The provided phone number is banned from telegram.”
Source: auth.sendCode
What it means
These errors concern your own account, not the person you write to. Code 401 (UNAUTHORIZED) means "an unauthorized attempt to use functionality available only to authorized users".
Source: Error handlingUSER_DEACTIVATED_BAN: Telegram's antispam system deleted and banned the account. USER_DEACTIVATED: the account was deleted by its owner.
Source: Error database (errors.json)PHONE_NUMBER_BANNED appears when you request a login code: the phone number itself is banned.
Source: auth.sendCodeWhat to do
- 1
The session belongs to an account that no longer exists: it cannot be used again.
Source: Error database (errors.json) - 2
Telegram's developer documentation gives no recovery procedure for these errors.
Source: Error handling - 3
Check which error you really have: a limited account returns PEER_FLOOD and a frozen account returns FROZEN_METHOD_INVALID. A limit ends with time, and a frozen account can be appealed.
Source: Spam FAQ, Frozen accounts
Official sources
- Error handlingcore.telegram.org/api/errors
- Error database (errors.json)core.telegram.org/api/errors.json
- auth.sendCodecore.telegram.org/method/auth.sendCode
Related errors
Spend less time on errors
TeleBoost shows each account's status and why a send failed, in plain words, across all your Telegram accounts.