pyrogram/compiler/errors/source/406_NOT_ACCEPTABLE.tsv
2024-08-11 10:00:37 +03:00

2.7 KiB
Raw Blame History

1idmessage
2AUTH_KEY_DUPLICATEDThe same authorization key (session file) was used in more than one place simultaneously. You must delete your session file and log in again with your phone number or bot token
3BANNED_RIGHTS_INVALIDYou provided some invalid flags in the banned rights.
4BOT_PRECHECKOUT_FAILEDBot precheckout is failed
5CALL_PROTOCOL_COMPAT_LAYER_INVALIDThe other side of the call does not support any of the VoIP protocols supported by the local client, as specified by the `protocol.layer` and `protocol.library_versions` fields.
6CHANNEL_PRIVATEThe channel/supergroup is not accessible
7CHANNEL_TOO_LARGEСhannel is too large to be deleted. Contact support for removal
8CHAT_FORWARDS_RESTRICTEDYou can't forward messages from a protected chat
9FILEREF_UPGRADE_NEEDEDThe file reference has expired and you must use a refreshed one by obtaining the original media message
10FRESH_CHANGE_ADMINS_FORBIDDENYou were just elected admin, you can't add or modify other admins yet
11FRESH_CHANGE_PHONE_FORBIDDENYou can't change your phone number because your session was logged-in recently
12FRESH_RESET_AUTHORISATION_FORBIDDENYou can't terminate other authorized sessions because the current was logged-in recently
13GIFTCODE_NOT_ALLOWEDGiftcode not allowed
14INVITE_HASH_EXPIREDThe chat the user tried to join has expired and is not valid anymore
15PAYMENT_UNSUPPORTEDA detailed description of the error will be received separately as described [here »](https://core.telegram.org/api/errors#406-not-acceptable).
16PHONE_NUMBER_INVALIDThe phone number is invalid
17PHONE_PASSWORD_FLOODYou have tried to log-in too many times
18PREMIUM_CURRENTLY_UNAVAILABLEPremium currently unavailable
19PREVIOUS_CHAT_IMPORT_ACTIVE_WAIT_XMINSimilar to a flood wait, must wait {value} minutes
20PRIVACY_PREMIUM_REQUIREDYou need a [Telegram Premium subscription](https://core.telegram.org/api/premium) to send a message to this user.
21SEND_CODE_UNAVAILABLEReturned when all available options for this type of number were already used (e.g. flash-call, then SMS, then this error might be returned to trigger a second resend)
22STICKERSET_INVALIDThe sticker set is invalid
23STICKERSET_OWNER_ANONYMOUSThis sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins
24TOPIC_CLOSEDThis topic was closed, you can't send messages to it anymore.
25TOPIC_DELETEDThe specified topic was deleted.
26UPDATE_APP_TO_LOGINUpdate app to login
27USERPIC_PRIVACY_REQUIREDYou need to disable privacy settings for your profile picture in order to make your geolocation public
28USERPIC_UPLOAD_REQUIREDYou must have a profile picture to publish your geolocation
29USER_RESTRICTEDYou are limited/restricted. You can't perform this action