pyrogram/compiler/errors/source/400_BAD_REQUEST.tsv
KurimuzonAkuma 4aa7fc49ef Add some errors to known errors
Co-authored-by: Shrimadhav U K <SpEcHiDe@users.noreply.github.com>
2024-08-07 02:06:57 +03:00

34 KiB

1idmessage
2ABOUT_TOO_LONGThe provided about/bio text is too long
3ACCESS_TOKEN_EXPIREDThe bot token has expired
4ACCESS_TOKEN_INVALIDThe bot access token is invalid
5ADDRESS_INVALIDThe specified geopoint address is invalid.
6ADMINS_TOO_MUCHThe chat has too many administrators
7ADMIN_ID_INVALIDThe specified admin ID is invalid
8ADMIN_RANK_EMOJI_NOT_ALLOWEDEmoji are not allowed in custom administrator titles
9ADMIN_RANK_INVALIDThe custom administrator title is invalid or too long
10ADMIN_RIGHTS_EMPTYThe chatAdminRights constructor passed in keyboardButtonRequestPeer.peer_type.user_admin_rights has no rights set (i.e. flags is 0).
11ALBUM_PHOTOS_TOO_MANYToo many photos were included in the album
12API_ID_INVALIDThe api_id/api_hash combination is invalid
13API_ID_PUBLISHED_FLOODYou are using an API key that is limited on the server side because it was published somewhere
14ARTICLE_TITLE_EMPTYThe article title is empty
15AUDIO_CONTENT_URL_EMPTYThe remote URL specified in the content field is empty
16AUDIO_TITLE_EMPTYThe title attribute of the audio is empty
17AUTH_BYTES_INVALIDThe authorization bytes are invalid
18AUTH_TOKEN_ALREADY_ACCEPTEDThe authorization token was already used
19AUTH_TOKEN_EXCEPTIONAn error occurred while importing the auth token
20AUTH_TOKEN_EXPIREDThe provided authorization token has expired and the updated QR-code must be re-scanned
21AUTH_TOKEN_INVALIDAn invalid authorization token was provided
22AUTH_TOKEN_INVALID2An invalid authorization token was provided
23AUTH_TOKEN_INVALIDXThe specified auth token is invalid
24AUTOARCHIVE_NOT_AVAILABLEThis feature is not yet enabled for your account due to it not receiving too many private messages from strangers
25BANK_CARD_NUMBER_INVALIDThe credit card number is invalid
26BANNED_RIGHTS_INVALIDYou provided a set of restrictions that is invalid
27BASE_PORT_LOC_INVALIDThe base port location is invalid
28BIRTHDAY_INVALIDThe age should be less than 150 year old in Telegram
29BOOSTS_EMPTYBoosts empty
30BOOSTS_REQUIREDBoosts required
31BOOST_NOT_MODIFIEDYou're already [boosting](https://core.telegram.org/api/boost) the specified channel.
32BOOST_PEER_INVALIDThe specified `boost_peer` is invalid.
33BOTS_TOO_MUCHThe chat has too many bots
34BOT_APP_INVALIDThe specified bot app is invalid.
35BOT_APP_SHORTNAME_INVALIDThe specified bot app short name is invalid.
36BOT_CHANNELS_NABots can't edit admin privileges
37BOT_COMMAND_DESCRIPTION_INVALIDThe command description was empty, too long or had invalid characters
38BOT_COMMAND_INVALIDThe specified command is invalid
39BOT_DOMAIN_INVALIDThe domain used for the auth button does not match the one configured in @BotFather
40BOT_GAMES_DISABLEDBot games cannot be used in this type of chat
41BOT_GROUPS_BLOCKEDThis bot can't be added to groups
42BOT_INLINE_DISABLEDThe inline feature of the bot is disabled
43BOT_INVALIDThis is not a valid bot
44BOT_METHOD_INVALIDThe method can't be used by bots
45BOT_MISSINGThis method can only be run by a bot
46BOT_ONESIDE_NOT_AVAILBots can't pin messages for one side only in private chats
47BOT_PAYMENTS_DISABLEDThis method can only be run by a bot
48BOT_POLLS_DISABLEDSending polls by bots has been disabled
49BOT_RESPONSE_TIMEOUTThe bot did not answer to the callback query in time
50BOT_SCORE_NOT_MODIFIEDThe bot score was not modified
51BOT_WEBVIEW_DISABLEDA webview cannot be opened in the specified conditions: emitted for example if `from_bot_menu` or `url` are set and `peer` is not the chat with the bot.
52BROADCAST_CALLS_DISABLEDBroadcast calls disabled
53BROADCAST_ID_INVALIDThe channel is invalid
54BROADCAST_PUBLIC_VOTERS_FORBIDDENPolls with public voters cannot be sent in channels
55BROADCAST_REQUIREDThe request can only be used with a channel
56BUTTON_DATA_INVALIDThe button callback data is invalid or too large
57BUTTON_ID_INVALIDThe button_id parameter is invalid
58BUTTON_TEXT_INVALIDThe specified button text is invalid
59BUTTON_TYPE_INVALIDThe type of one of the buttons you provided is invalid
60BUTTON_URL_INVALIDThe button url is invalid
61BUTTON_USER_INVALIDThe user_id passed to inputKeyboardButtonUserProfile is invalid
62BUTTON_USER_PRIVACY_RESTRICTEDThe privacy settings of the user specified in a keyboard button do not allow creating such button
63CALL_ALREADY_ACCEPTEDThe call is already accepted
64CALL_ALREADY_DECLINEDThe call is already declined
65CALL_OCCUPY_FAILEDThe call failed because the user is already making another call.
66CALL_PEER_INVALIDThe provided call peer object is invalid
67CALL_PROTOCOL_FLAGS_INVALIDCall protocol flags invalid
68CDN_METHOD_INVALIDThe method can't be used on CDN DCs
69CHANNELS_ADMIN_LOCATED_TOO_MUCHThe user has reached the limit of public geogroups
70CHANNELS_ADMIN_PUBLIC_TOO_MUCHYou are an administrator of too many public channels
71CHANNELS_TOO_MUCHYou have joined too many channels or supergroups, leave some and try again
72CHANNEL_ADD_INVALIDInternal error.
73CHANNEL_BANNEDThe channel is banned
74CHANNEL_FORUM_MISSINGThe channel forum is missing
75CHANNEL_ID_INVALIDThe specified supergroup ID is invalid.
76CHANNEL_INVALIDThe channel parameter is invalid
77CHANNEL_PARICIPANT_MISSINGThe current user is not in the channel
78CHANNEL_PRIVATEThe channel/supergroup is not accessible
79CHANNEL_TOO_BIGThe channel too big
80CHANNEL_TOO_LARGEThe channel is too large
81CHARGE_ALREADY_REFUNDEDThe charge id was already used for a refund.
82CHARGE_NOT_FOUNDThe charge id was not found.
83CHATLISTS_TOO_MUCHYou have too much chatlists on your account
84CHATLIST_EXCLUDE_INVALIDThe specified `exclude_peers` are invalid.
85CHAT_ABOUT_NOT_MODIFIEDThe chat about text was not modified because you tried to edit it using the same content
86CHAT_ABOUT_TOO_LONGThe chat about text is too long
87CHAT_ADMIN_REQUIREDThe method requires chat admin privileges
88CHAT_DISCUSSION_UNALLOWEDThe chat discussion is not allowed
89CHAT_FORWARDS_RESTRICTEDThe chat restricts forwarding content
90CHAT_ID_EMPTYThe provided chat id is empty
91CHAT_ID_INVALIDThe chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it
92CHAT_INVALIDThe chat is invalid
93CHAT_INVITE_PERMANENTThe chat invite link is primary
94CHAT_LINK_EXISTSThe action failed because the supergroup is linked to a channel
95CHAT_NOT_MODIFIEDThe chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content
96CHAT_PUBLIC_REQUIREDYou can only enable join requests in public groups.
97CHAT_RESTRICTEDThe chat is restricted and cannot be used
98CHAT_REVOKE_DATE_UNSUPPORTED`min_date` and `max_date` are not available for using with non-user peers
99CHAT_SEND_INLINE_FORBIDDENYou cannot use inline bots to send messages in this chat
100CHAT_TITLE_EMPTYThe chat title is empty
101CHAT_TOO_BIGThe chat is too big for this action
102CODE_EMPTYThe provided code is empty
103CODE_HASH_INVALIDThe provided code hash invalid
104CODE_INVALIDThe provided code is invalid (i.e. from email)
105COLOR_INVALIDThe provided color is invalid
106CONNECTION_API_ID_INVALIDThe provided API id is invalid
107CONNECTION_APP_VERSION_EMPTYApp version is empty
108CONNECTION_DEVICE_MODEL_EMPTYThe device model is empty
109CONNECTION_LANG_PACK_INVALIDThe specified language pack is not valid
110CONNECTION_LAYER_INVALIDThe connection layer is invalid. Missing InvokeWithLayer-InitConnection call
111CONNECTION_NOT_INITEDThe connection was not initialized
112CONNECTION_SYSTEM_EMPTYThe connection to the system is empty
113CONNECTION_SYSTEM_LANG_CODE_EMPTYThe system language code is empty
114CONTACT_ADD_MISSINGContact to add is missing
115CONTACT_ID_INVALIDThe provided contact id is invalid
116CONTACT_MISSINGThe specified user is not a contact.
117CONTACT_NAME_EMPTYThe provided contact name is empty
118CONTACT_REQ_MISSINGMissing contact request
119CREATE_CALL_FAILEDAn error occurred while creating the call
120CURRENCY_TOTAL_AMOUNT_INVALIDThe total amount of all prices is invalid
121CUSTOM_REACTIONS_TOO_MANYToo many custom reactions were specified.
122DATA_INVALIDThe encrypted data is invalid
123DATA_JSON_INVALIDThe provided JSON data is invalid
124DATA_TOO_LONGData too long
125DATE_EMPTYThe date argument is empty
126DC_ID_INVALIDThe dc_id parameter is invalid
127DH_G_A_INVALIDThe g_a parameter invalid
128DOCUMENT_INVALIDThe document is invalid
129EMAIL_HASH_EXPIREDThe email hash expired and cannot be used to verify it
130EMAIL_INVALIDThe email provided is invalid
131EMAIL_NOT_ALLOWEDThis email is not allowed
132EMAIL_NOT_SETUPIn order to change the login email with emailVerifyPurposeLoginChange, an existing login email must already be set using emailVerifyPurposeLoginSetup.
133EMAIL_UNCONFIRMEDEmail unconfirmed
134EMAIL_UNCONFIRMED_XThe provided email isn't confirmed, {value} is the length of the verification code that was just sent to the email
135EMAIL_VERIFY_EXPIREDThe verification email has expired
136EMOJI_INVALIDThe specified theme emoji is valid
137EMOJI_MARKUP_INVALIDThe specified `video_emoji_markup` was invalid.
138EMOJI_NOT_MODIFIEDThe theme wasn't changed
139EMOTICON_EMPTYThe emoticon parameter is empty
140EMOTICON_INVALIDThe emoticon parameter is invalid
141EMOTICON_STICKERPACK_MISSINGThe emoticon sticker pack you are trying to obtain is missing
142ENCRYPTED_MESSAGE_INVALIDThe special binding message (bind_auth_key_inner) contains invalid data
143ENCRYPTION_ALREADY_ACCEPTEDThe secret chat is already accepted
144ENCRYPTION_ALREADY_DECLINEDThe secret chat is already declined
145ENCRYPTION_DECLINEDThe secret chat was declined
146ENCRYPTION_ID_INVALIDThe provided secret chat id is invalid
147ENTITIES_TOO_LONGThe entity provided contains data that is too long, or you passed too many entities to this message
148ENTITY_BOUNDS_INVALIDThe message entity bounds are invalid
149ENTITY_MENTION_USER_INVALIDThe mentioned entity is not an user
150ERROR_TEXT_EMPTYThe provided error message is empty
151EXPIRE_DATE_INVALIDThe expiration date is invalid
152EXPIRE_FORBIDDENExpire forbidden
153EXPORT_CARD_INVALIDThe provided card is invalid
154EXTENDED_MEDIA_AMOUNT_INVALIDThe maximum amount of `star_count` should be less than the `stars_paid_post_amount_max` [client configuration parameters](/api/config).
155EXTENDED_MEDIA_PEER_INVALIDThe specified chat type is invalid.
156EXTENDED_MEDIA_TYPE_INVALIDThe specified extended media type is unsupported.
157EXTERNAL_URL_INVALIDThe external media URL is invalid
158FIELD_NAME_EMPTYThe field with the name FIELD_NAME is missing
159FIELD_NAME_INVALIDThe field with the name FIELD_NAME is invalid
160FILE_CONTENT_TYPE_INVALIDFile content-type is invalid
161FILE_EMTPYAn empty file was provided
162FILE_ID_INVALIDThe file id is invalid
163FILE_MIGRATE_XThe file is in Data Center No. {value}
164FILE_PARTS_INVALIDInvalid number of parts.
165FILE_PART_0_MISSINGFile part 0 missing
166FILE_PART_EMPTYThe file part sent is empty
167FILE_PART_INVALIDThe file part number is invalid.
168FILE_PART_LENGTH_INVALIDThe length of a file part is invalid
169FILE_PART_SIZE_CHANGEDThe part size is different from the size of one of the previous parts in the same file
170FILE_PART_SIZE_INVALIDThe file part size is invalid
171FILE_PART_TOO_BIGThe size limit for the content of the file part has been exceeded
172FILE_PART_X_MISSINGPart {value} of the file is missing from storage
173FILE_REFERENCE_EMPTYThe file id contains an empty file reference, you must obtain a valid one by fetching the message from the origin context
174FILE_REFERENCE_EXPIREDThe file id contains an expired file reference, you must obtain a valid one by fetching the message from the origin context
175FILE_REFERENCE_INVALIDThe file id contains an invalid file reference, you must obtain a valid one by fetching the message from the origin context
176FILE_TITLE_EMPTYAn empty file title was specified
177FILE_TOKEN_INVALIDThe specified file token is invalid.
178FILTER_ID_INVALIDThe specified filter ID is invalid
179FILTER_INCLUDE_EMPTYThe filter include is empty
180FILTER_NOT_SUPPORTEDThe specified filter cannot be used in this context
181FILTER_TITLE_EMPTYThe title field of the filter is empty
182FIRSTNAME_INVALIDThe first name is invalid
183FOLDER_ID_EMPTYThe folder you tried to delete was already empty
184FOLDER_ID_INVALIDThe folder id is invalid
185FORM_ID_EXPIREDThe specified id has expired.
186FORUM_ENABLEDYou can't execute the specified action because the group is a [forum](https://core.telegram.org/api/forum), disable forum functionality to continue.
187FRESH_CHANGE_ADMINS_FORBIDDENYou can't change administrator settings in this chat because your session was logged-in recently
188FROM_MESSAGE_BOT_DISABLEDBots can't use fromMessage min constructors
189FROM_PEER_INVALIDThe from peer value is invalid
190GAME_BOT_INVALIDYou cannot send that game with the current bot
191GEO_POINT_INVALIDInvalid geo point provided
192GIFT_SLUG_EXPIREDThe gift slug is expired
193GIFT_SLUG_INVALIDThe specified slug is invalid.
194GIF_CONTENT_TYPE_INVALIDGIF content-type invalid
195GIF_ID_INVALIDThe provided gif/animation id is invalid
196GRAPH_EXPIRED_RELOADThis graph has expired, please obtain a new graph token
197GRAPH_INVALID_RELOADInvalid graph token provided, please reload the stats and provide the updated token
198GRAPH_OUTDATED_RELOADThe graph data is outdated
199GROUPCALL_ALREADY_DISCARDEDThe group call was already discarded
200GROUPCALL_FORBIDDENThe group call has already ended.
201GROUPCALL_INVALIDThe specified group call is invalid
202GROUPCALL_JOIN_MISSINGYou haven't joined this group call
203GROUPCALL_NOT_MODIFIEDGroup call settings weren't modified
204GROUPCALL_SSRC_DUPLICATE_MUCHToo many group call synchronization source duplicates
205GROUPED_MEDIA_INVALIDThe album contains invalid media
206GROUP_CALL_INVALIDThe group call is invalid
207HASH_INVALIDThe provided hash is invalid
208HIDE_REQUESTER_MISSINGThe join request was missing or was already handled
209IMAGE_PROCESS_FAILEDThe server failed to process your image
210IMPORT_FILE_INVALIDThe imported file is invalid
211IMPORT_FORMAT_UNRECOGNIZEDThe imported format is unrecognized
212IMPORT_ID_INVALIDThe import id is invalid
213IMPORT_TOKEN_INVALIDThe specified token is invalid.
214INLINE_RESULT_EXPIREDThe inline bot query expired
215INPUT_CHATLIST_INVALIDThe specified folder is invalid.
216INPUT_CONSTRUCTOR_INVALIDThe provided constructor is invalid
217INPUT_FETCH_ERRORAn error occurred while deserializing TL parameters
218INPUT_FETCH_FAILFailed deserializing TL payload
219INPUT_FILTER_INVALIDThe filter is invalid for this query
220INPUT_LAYER_INVALIDThe provided layer is invalid
221INPUT_METHOD_INVALIDThe method invoked is invalid in the current schema
222INPUT_REQUEST_TOO_LONGThe input request is too long
223INPUT_TEXT_EMPTYThe specified text is empty
224INPUT_TEXT_TOO_LONGThe specified text is too long.
225INPUT_USER_DEACTIVATEDThe target user has been deleted/deactivated
226INVITES_TOO_MUCHThe maximum number of per-folder invites specified by the `chatlist_invites_limit_default`/`chatlist_invites_limit_premium` [client configuration parameters &raquo;](/api/config#chatlist-invites-limit-default) was reached.
227INVITE_FORBIDDEN_WITH_JOINASIf the user has anonymously joined a group call as a channel, they can't invite other users to the group call because that would cause deanonymization, because the invite would be sent using the original user ID, not the anonymized channel ID
228INVITE_HASH_EMPTYThe invite hash is empty
229INVITE_HASH_EXPIREDThe chat invite link is no longer valid
230INVITE_HASH_INVALIDThe invite link hash is invalid
231INVITE_REQUEST_SENTThe request to join this chat or channel has been successfully sent
232INVITE_REVOKED_MISSINGThe action required a chat invite link to be revoked first
233INVITE_SLUG_EMPTYThe invite slug is empty
234INVITE_SLUG_EXPIREDThe invite slug is expired
235INVOICE_PAYLOAD_INVALIDThe specified invoice payload is invalid
236JOIN_AS_PEER_INVALIDThe specified peer cannot be used to join a group call
237LANG_CODE_INVALIDThe specified language code is invalid
238LANG_CODE_NOT_SUPPORTEDThe specified language code is not supported
239LANG_PACK_INVALIDThe provided language pack is invalid
240LASTNAME_INVALIDThe last name is invalid
241LIMIT_INVALIDThe limit parameter is invalid
242LINK_NOT_MODIFIEDThe chat link was not modified because you tried to link to the same target
243LOCATION_INVALIDThe file location is invalid
244MAX_DATE_INVALIDThe specified maximum date is invalid
245MAX_ID_INVALIDThe max_id parameter is invalid
246MAX_QTS_INVALIDThe provided QTS is invalid
247MD5_CHECKSUM_INVALIDThe file's checksum did not match the md5_checksum parameter
248MEDIA_CAPTION_TOO_LONGThe media caption is too long
249MEDIA_EMPTYThe media you tried to send is invalid
250MEDIA_FILE_INVALIDThe provided media file is invalid
251MEDIA_GROUPED_INVALIDYou tried to send media of different types in an album
252MEDIA_INVALIDThe media is invalid
253MEDIA_NEW_INVALIDThe new media to edit the message with is invalid
254MEDIA_PREV_INVALIDThe previous media cannot be edited with anything else
255MEDIA_TTL_INVALIDThe media ttl is invalid
256MEDIA_TYPE_INVALIDThe specified media type cannot be used in stories.
257MEDIA_VIDEO_STORY_MISSINGThe media does not have a photo or a video
258MEGAGROUP_GEO_REQUIREDThis method can only be invoked on a geogroup.
259MEGAGROUP_ID_INVALIDThe supergroup is invalid
260MEGAGROUP_PREHISTORY_HIDDENThe action failed because the supergroup has the pre-history hidden
261MEGAGROUP_REQUIREDThe request can only be used with a supergroup
262MESSAGE_EDIT_TIME_EXPIREDYou can no longer edit this message because too much time has passed
263MESSAGE_EMPTYThe message sent is empty or contains invalid characters
264MESSAGE_IDS_EMPTYThe requested message doesn't exist or you provided no message id
265MESSAGE_ID_INVALIDThe message id is invalid
266MESSAGE_NOT_MODIFIEDThe message was not modified because you tried to edit it using the same content
267MESSAGE_POLL_CLOSEDYou can't interact with a closed poll
268MESSAGE_TOO_LONGThe message text is too long
269METHOD_INVALIDThe API method is invalid and cannot be used
270MIN_DATE_INVALIDThe specified minimum date is invalid
271MSG_ID_INVALIDThe message ID used in the peer was invalid
272MSG_TOO_OLDchat_read_mark_expire_period have passed since the message was sent, read receipts were deleted
273MSG_VOICE_MISSINGThe message does not contain a voice message
274MSG_WAIT_FAILEDA waiting call returned an error
275MULTI_MEDIA_TOO_LONGThe album/media group contains too many items
276NEW_SALT_INVALIDThe new salt is invalid
277NEW_SETTINGS_EMPTYNo password is set on the current account, and no new password was specified in `new_settings`
278NEW_SETTINGS_INVALIDThe new settings are invalid
279NEXT_OFFSET_INVALIDThe next offset value is invalid
280NOGENERAL_HIDE_FORBIDDENThe hidden parameter is only valid for the General topic message_thread_id=1
281OFFSET_INVALIDThe offset parameter is invalid
282OFFSET_PEER_ID_INVALIDThe provided offset peer is invalid
283OPTIONS_TOO_MUCHThe poll options are too many
284OPTION_INVALIDThe option specified is invalid and does not exist in the target poll
285ORDER_INVALIDThe specified username order is invalid.
286PACK_SHORT_NAME_INVALIDInvalid sticker pack name. It must begin with a letter, can't contain consecutive underscores and must end in '_by_<bot username>'.
287PACK_SHORT_NAME_OCCUPIEDA sticker pack with this name already exists
288PACK_TITLE_INVALIDThe sticker pack title is invalid
289PARTICIPANTS_TOO_FEWThe chat doesn't have enough participants
290PARTICIPANT_ID_INVALIDThe specified participant ID is invalid
291PARTICIPANT_JOIN_MISSINGTrying to enable a presentation, when the user hasn't joined the Video Chat with phone.joinGroupCall
292PARTICIPANT_VERSION_OUTDATEDThe other participant is using an outdated Telegram app version
293PASSWORD_EMPTYThe password provided is empty
294PASSWORD_HASH_INVALIDThe two-step verification password is invalid
295PASSWORD_MISSINGThe account is missing the two-step verification password
296PASSWORD_RECOVERY_EXPIREDThe recovery code has expired.
297PASSWORD_RECOVERY_NAThe password recovery e-mail is not available
298PASSWORD_REQUIREDThe two-step verification password is required for this method
299PASSWORD_TOO_FRESH_XThe two-step verification password was added recently and you are required to wait {value} seconds
300PAYMENT_PROVIDER_INVALIDThe payment provider was not recognised or its token was invalid
301PEERS_LIST_EMPTYThe specified list of peers is empty.
302PEER_FLOODThe method can't be used because your account is currently limited
303PEER_HISTORY_EMPTYPeer history empty
304PEER_ID_INVALIDThe peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it
305PEER_ID_NOT_SUPPORTEDThe provided peer id is not supported
306PERSISTENT_TIMESTAMP_EMPTYThe pts argument is empty
307PERSISTENT_TIMESTAMP_INVALIDThe persistent timestamp is invalid
308PHONE_CODE_EMPTYThe phone code is missing
309PHONE_CODE_EXPIREDThe confirmation code has expired
310PHONE_CODE_HASH_EMPTYThe phone code hash is missing
311PHONE_CODE_INVALIDThe confirmation code is invalid
312PHONE_HASH_EXPIREDAn invalid or expired phone_code_hash was provided
313PHONE_NOT_OCCUPIEDNo user is associated to the specified phone number
314PHONE_NUMBER_APP_SIGNUP_FORBIDDENYou can't sign up using this app
315PHONE_NUMBER_BANNEDThe phone number is banned from Telegram and cannot be used
316PHONE_NUMBER_FLOODThis number has tried to login too many times
317PHONE_NUMBER_INVALIDThe phone number is invalid
318PHONE_NUMBER_OCCUPIEDThe phone number is already in use
319PHONE_NUMBER_UNOCCUPIEDThe phone number is not yet being used
320PHONE_PASSWORD_PROTECTEDThe phone is password protected
321PHOTO_CONTENT_TYPE_INVALIDThe photo content type is invalid
322PHOTO_CONTENT_URL_EMPTYThe photo content URL is empty
323PHOTO_CROP_FILE_MISSINGPhoto crop file missing
324PHOTO_CROP_SIZE_SMALLThe photo is too small
325PHOTO_EXT_INVALIDThe photo extension is invalid
326PHOTO_FILE_MISSINGProfile photo file missing
327PHOTO_ID_INVALIDThe photo id is invalid
328PHOTO_INVALIDThe photo is invalid
329PHOTO_INVALID_DIMENSIONSThe photo dimensions are invalid
330PHOTO_SAVE_FILE_INVALIDThe photo you tried to send cannot be saved by Telegram
331PHOTO_THUMB_URL_EMPTYThe photo thumb URL is empty
332PHOTO_THUMB_URL_INVALIDThe photo thumb URL is invalid
333PINNED_DIALOGS_TOO_MUCHToo many pinned dialogs
334PIN_RESTRICTEDYou can't pin messages in private chats with other people
335POLL_ANSWERS_INVALIDThe poll answers are invalid
336POLL_ANSWER_INVALIDOne of the poll answers is not acceptable
337POLL_OPTION_DUPLICATEA duplicate option was sent in the same poll
338POLL_OPTION_INVALIDA poll option used invalid data (the data may be too long)
339POLL_QUESTION_INVALIDThe poll question is invalid
340POLL_UNSUPPORTEDThis layer does not support polls in the invoked method
341POLL_VOTE_REQUIREDCast a vote in the poll before calling this method
342PREMIUM_ACCOUNT_REQUIREDThe method requires a premium user account
343PREMIUM_GIFTCODE_WAS_REFUNDEDThis gift code can't be redeemed because the giveaway organizer requested a refund
344PRIVACY_KEY_INVALIDThe privacy key is invalid
345PRIVACY_TOO_LONGYour privacy exception list has exceeded the maximum capacity
346PRIVACY_VALUE_INVALIDThe privacy value is invalid
347PUBLIC_BROADCAST_EXPECTEDA public channel was expected, but something else was provided
348PUBLIC_KEY_REQUIREDA public key is required
349QUERY_ID_EMPTYThe query ID is empty
350QUERY_ID_INVALIDThe callback query id is invalid
351QUERY_TOO_SHORTThe query is too short
352QUIZ_ANSWER_MISSINGYou can forward a quiz while hiding the original author only after choosing an option in the quiz
353QUIZ_CORRECT_ANSWERS_EMPTYThe correct answers of the quiz are empty
354QUIZ_CORRECT_ANSWERS_TOO_MUCHThe quiz contains too many correct answers
355QUIZ_CORRECT_ANSWER_INVALIDThe correct answers of the quiz are invalid
356QUIZ_MULTIPLE_INVALIDA quiz can't have multiple answers
357QUOTE_TEXT_INVALIDThe quote text is invalid
358RANDOM_ID_EMPTYThe random ID is empty
359RANDOM_ID_INVALIDThe provided random ID is invalid
360RANDOM_LENGTH_INVALIDThe random length is invalid
361RANGES_INVALIDInvalid range provided
362REACTIONS_TOO_MANYNon-premium users, can set up only one reaction per message
363REACTION_EMPTYThe reaction provided is empty
364REACTION_INVALIDInvalid reaction provided (only valid emoji are allowed)
365REFLECTOR_NOT_AVAILABLEThe call reflector is not available
366REPLY_MARKUP_BUY_EMPTYReply markup for buy button empty
367REPLY_MARKUP_GAME_EMPTYThe provided reply markup for the game is empty
368REPLY_MARKUP_INVALIDThe provided reply markup is invalid
369REPLY_MARKUP_TOO_LONGThe reply markup is too long
370REPLY_MESSAGE_ID_INVALIDThe reply message id is invalid
371REPLY_TO_INVALIDThe specified `reply_to` field is invalid.
372REPLY_TO_USER_INVALIDThe replied-to user is invalid.
373RESET_REQUEST_MISSINGNo password reset is in progress
374RESULTS_TOO_MUCHThe result contains too many items
375RESULT_ID_DUPLICATEThe result contains items with duplicated identifiers
376RESULT_ID_EMPTYResult ID empty
377RESULT_ID_INVALIDThe given result cannot be used to send the selection to the bot
378RESULT_TYPE_INVALIDThe result type is invalid
379REVOTE_NOT_ALLOWEDYou cannot change your vote
380RIGHTS_NOT_MODIFIEDThe new admin rights are equal to the old rights, no change was made
381RSA_DECRYPT_FAILEDInternal RSA decryption failed
382SAVED_DIALOGS_UNSUPPORTEDYou cannot use this method
383SCHEDULE_BOT_NOT_ALLOWEDBots are not allowed to schedule messages
384SCHEDULE_DATE_INVALIDInvalid schedule date provided
385SCHEDULE_DATE_TOO_LATEThe date you tried to schedule is too far in the future (more than one year)
386SCHEDULE_STATUS_PRIVATEYou cannot schedule a message until the person comes online if their privacy does not show this information
387SCHEDULE_TOO_MUCHYou tried to schedule too many messages in this chat
388SCORE_INVALIDThe specified game score is invalid
389SEARCH_QUERY_EMPTYThe search query is empty
390SEARCH_WITH_LINK_NOT_SUPPORTEDYou cannot provide a search query and an invite link at the same time
391SECONDS_INVALIDThe seconds interval is invalid
392SEND_AS_PEER_INVALIDYou can't send messages as the specified peer
393SEND_MESSAGE_MEDIA_INVALIDThe message media is invalid
394SEND_MESSAGE_TYPE_INVALIDThe message type is invalid
395SESSION_TOO_FRESH_XYou can't do this action because the current session was logged-in recently
396SETTINGS_INVALIDInvalid settings were provided
397SHA256_HASH_INVALIDThe provided SHA256 hash is invalid
398SHORTNAME_OCCUPY_FAILEDAn error occurred when trying to register the short-name used for the sticker pack. Try a different name
399SHORT_NAME_INVALIDThe specified short name is invalid
400SHORT_NAME_OCCUPIEDThe specified short name is already in use
401SLOTS_EMPTYThe specified slot list is empty.
402SLOWMODE_MULTI_MSGS_DISABLEDSlowmode is enabled, you cannot forward multiple messages to this group
403SLUG_INVALIDThe specified invoice slug is invalid.
404SMS_CODE_CREATE_FAILEDAn error occurred while creating the SMS code
405SRP_ID_INVALIDInvalid SRP ID provided
406SRP_PASSWORD_CHANGEDThe password has changed
407START_PARAM_EMPTYThe start parameter is empty
408START_PARAM_INVALIDThe start parameter is invalid
409START_PARAM_TOO_LONGThe start parameter is too long
410STICKERPACK_STICKERS_TOO_MUCHThere are too many stickers in this stickerpack, you can't add any more
411STICKERSET_INVALIDThe requested sticker set is invalid
412STICKERSET_NOT_MODIFIEDThe sticker set is not modified
413STICKERS_EMPTYThe sticker provided is empty
414STICKERS_TOO_MUCHToo many stickers in the set
415STICKER_DOCUMENT_INVALIDThe sticker document is invalid
416STICKER_EMOJI_INVALIDThe sticker emoji is invalid
417STICKER_FILE_INVALIDThe sticker file is invalid
418STICKER_GIF_DIMENSIONSThe specified video sticker has invalid dimensions
419STICKER_ID_INVALIDThe provided sticker id is invalid
420STICKER_INVALIDThe provided sticker is invalid
421STICKER_MIME_INVALIDMake sure to pass a valid image file for the right InputFile parameter
422STICKER_PNG_DIMENSIONSThe sticker png dimensions are invalid
423STICKER_PNG_NOPNGStickers must be png files but the provided image was not a png
424STICKER_TGS_NODOCYou must send the animated sticker as a document
425STICKER_TGS_NOTGSA tgs sticker file was expected, but something else was provided
426STICKER_THUMB_PNG_NOPNGA png sticker thumbnail file was expected, but something else was provided
427STICKER_THUMB_TGS_NOTGSIncorrect stickerset TGS thumb file provided.
428STICKER_VIDEO_BIGThe specified video sticker is too big
429STICKER_VIDEO_NODOCYou must send the video sticker as a document
430STICKER_VIDEO_NOWEBMA webm video file was expected, but something else was provided
431STORAGE_KEY_REQUIREDA cloud storage key is required.
432STORIES_NEVER_CREATEDYou have never created any stories
433STORIES_TOO_MUCHToo many stories in the current account
434STORY_ID_EMPTYYou specified no story IDs.
435STORY_ID_INVALIDThe specified story ID is invalid.
436STORY_NOT_MODIFIEDThe new story information you passed is equal to the previous story information, thus it wasn't modified.
437STORY_PERIOD_INVALIDThe story period is invalid
438STORY_SEND_FLOOD_MONTHLY_XYou've hit the monthly story limit as specified by the [`stories_sent_monthly_limit_*` client configuration parameters](https://core.telegram.org/api/config#stories-sent-monthly-limit-default): wait for the specified number of seconds before posting a new story.
439STORY_SEND_FLOOD_WEEKLY_XYou've hit the weekly story limit as specified by the [`stories_sent_weekly_limit_*` client configuration parameters](https://core.telegram.org/api/config#stories-sent-weekly-limit-default): wait for the specified number of seconds before posting a new story.
440SWITCH_PM_TEXT_EMPTYThe switch_pm.text field was empty
441TAKEOUT_INVALIDThe takeout id is invalid
442TAKEOUT_REQUIREDThe method must be invoked inside a takeout session
443TASK_ALREADY_EXISTSAn email reset was already requested.
444TEMP_AUTH_KEY_ALREADY_BOUNDThe passed temporary key is already bound to another perm_auth_key_id
445TEMP_AUTH_KEY_EMPTYThe temporary auth key provided is empty
446THEME_FILE_INVALIDInvalid theme file provided
447THEME_FORMAT_INVALIDInvalid theme format provided
448THEME_INVALIDInvalid theme provided
449THEME_MIME_INVALIDYou cannot create this theme because the mime-type is invalid
450THEME_TITLE_INVALIDThe specified theme title is invalid
451TITLE_INVALIDThe specified stickerpack title is invalid
452TMP_PASSWORD_DISABLEDThe temporary password is disabled
453TMP_PASSWORD_INVALIDThe temporary password is invalid
454TOKEN_EMPTYThe specified token is empty.
455TOKEN_INVALIDThe provided token is invalid
456TOKEN_SECRET_INVALIDThe specified token secret is invalid
457TOKEN_TYPE_INVALIDThe specified token type is invalid.
458TOPICS_EMPTYYou specified no topic IDs.
459TOPIC_CLOSEDThe topic was closed
460TOPIC_CLOSE_SEPARATELYThe `close` flag cannot be provided together with any of the other flags.
461TOPIC_DELETEDThe topic was deleted
462TOPIC_HIDE_SEPARATELYThe `hide` flag cannot be provided together with any of the other flags.
463TOPIC_ID_INVALIDThe provided topic ID is invalid
464TOPIC_NOT_MODIFIEDThe topic was not modified
465TOPIC_TITLE_EMPTYThe specified topic title is empty.
466TO_LANG_INVALIDThe specified destination language is invalid
467TRANSCRIPTION_FAILEDTelegram is having internal problems. Please try again later to transcribe the audio.
468TTL_DAYS_INVALIDThe provided TTL days is invalid
469TTL_MEDIA_INVALIDThe media does not support self-destruction
470TTL_PERIOD_INVALIDThe provided TTL period is invalid
471TYPES_EMPTYThe types parameter is empty
472TYPE_CONSTRUCTOR_INVALIDThe type constructor is invalid
473UNKNOWN_ERRORUnknown error
474UNTIL_DATE_INVALIDThat date parameter is invalid
475URL_INVALIDThe URL provided is invalid
476USAGE_LIMIT_INVALIDThe usage limit is invalid
477USERNAMES_ACTIVE_TOO_MUCHThe maximum number of active usernames was reached.
478USERNAME_INVALIDThe username is invalid
479USERNAME_NOT_MODIFIEDThe username was not modified because you tried to edit it using the same one
480USERNAME_NOT_OCCUPIEDThe username is not occupied by anyone
481USERNAME_OCCUPIEDThe username is already in use by someone else
482USERNAME_PURCHASE_AVAILABLEThe username is available for purchase on fragment.com
483USERPIC_UPLOAD_REQUIREDYou are required to upload a profile picture for this action
484USERS_TOO_FEWNot enough users (to create a chat, for example)
485USERS_TOO_MUCHThe maximum number of users has been exceeded (to create a chat, for example)
486USER_ADMIN_INVALIDThe action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to
487USER_ALREADY_INVITEDYou have already invited this user
488USER_ALREADY_PARTICIPANTThe user is already a participant of this chat
489USER_BANNED_IN_CHANNELYou are limited from sending messages in supergroups/channels, check @SpamBot for details
490USER_BLOCKEDThe user is blocked
491USER_BOTBots in channels can only be administrators, not members.
492USER_BOT_INVALIDThis method can only be used by a bot
493USER_BOT_REQUIREDThe method can be used by bots only
494USER_CHANNELS_TOO_MUCHThe user is already in too many channels or supergroups
495USER_CREATORYou can't leave this channel because you're its creator
496USER_ID_INVALIDThe user id being used is invalid or not known yet. Make sure you meet the user before interacting with it
497USER_INVALIDThe provided user is invalid
498USER_IS_BLOCKEDThe user blocked you
499USER_IS_BOTA bot cannot send messages to other bots or to itself
500USER_KICKEDThis user was kicked from this chat
501USER_NOT_MUTUAL_CONTACTThe user is not a mutual contact
502USER_NOT_PARTICIPANTThe user is not a member of this chat
503USER_PUBLIC_MISSINGThe accounts username is missing
504USER_VOLUME_INVALIDThe specified user volume is invalid
505VENUE_ID_INVALIDThe specified venue ID is invalid.
506VIDEO_CONTENT_TYPE_INVALIDThe video content type is invalid (i.e.: not streamable)
507VIDEO_FILE_INVALIDThe video file is invalid
508VIDEO_TITLE_EMPTYThe specified video title is empty
509VOICE_MESSAGES_FORBIDDENVoice messages are restricted
510VOLUME_LOC_NOT_FOUNDThe volume location can't be found
511WALLPAPER_FILE_INVALIDThe provided file cannot be used as a wallpaper
512WALLPAPER_INVALIDThe input wallpaper was not valid
513WALLPAPER_MIME_INVALIDThe wallpaper mime type is invalid
514WALLPAPER_NOT_FOUNDThe specified wallpaper could not be found.
515WC_CONVERT_URL_INVALIDWC convert URL invalid
516WEBDOCUMENT_INVALIDThe web document is invalid
517WEBDOCUMENT_MIME_INVALIDThe web document mime type is invalid
518WEBDOCUMENT_SIZE_TOO_BIGThe web document is too big
519WEBDOCUMENT_URL_EMPTYThe web document URL is empty
520WEBDOCUMENT_URL_INVALIDThe web document URL is invalid
521WEBPAGE_CURL_FAILEDTelegram server could not fetch the provided URL
522WEBPAGE_MEDIA_EMPTYThe URL doesn't contain any valid media
523WEBPAGE_NOT_FOUNDWebpage not found
524WEBPAGE_URL_INVALIDWebpage url invalid
525WEBPUSH_AUTH_INVALIDThe specified web push authentication secret is invalid
526WEBPUSH_KEY_INVALIDThe specified web push elliptic curve Diffie-Hellman public key is invalid
527WEBPUSH_TOKEN_INVALIDThe specified web push token is invalid
528YOU_BLOCKED_USERYou blocked this user