Black Friday: 20% off

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

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 handling

USER_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.sendCode

What to do

  1. 1

    The session belongs to an account that no longer exists: it cannot be used again.

    Source: Error database (errors.json)
  2. 2

    Telegram's developer documentation gives no recovery procedure for these errors.

    Source: Error handling
  3. 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

Related errors

All Telegram 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.