MTPyroger/compiler/errors/source/400_BAD_REQUEST.tsv
2020-11-13 17:59:41 +01:00

19 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
5ADMINS_TOO_MUCHThe chat has too many administrators
6ADMIN_RANK_EMOJI_NOT_ALLOWEDEmoji are not allowed in custom administrator titles
7ADMIN_RANK_INVALIDThe custom administrator title is invalid or is longer than 16 characters
8ALBUM_PHOTOS_TOO_MANYToo many photos were included in the album
9API_ID_INVALIDThe api_id/api_hash combination is invalid
10API_ID_PUBLISHED_FLOODYou are using an API key that is limited on the server side because it was published somewhere
11ARTICLE_TITLE_EMPTYThe article title is empty
12AUDIO_TITLE_EMPTYThe title attribute of the audio is empty
13AUTH_BYTES_INVALIDThe authorization bytes are invalid
14AUTH_TOKEN_ALREADY_ACCEPTEDThe authorization token was already used
15AUTH_TOKEN_EXPIREDThe provided authorization token has expired and the updated QR-code must be re-scanned
16AUTH_TOKEN_INVALIDAn invalid authorization token was provided
17AUTOARCHIVE_NOT_AVAILABLEThis feature is not yet enabled for your account due to it not receiving too many private messages from strangers
18BANK_CARD_NUMBER_INVALIDThe credit card number is invalid
19BANNED_RIGHTS_INVALIDYou provided a set of restrictions that is invalid
20BOTS_TOO_MUCHThe chat has too many bots
21BOT_CHANNELS_NABots can't edit admin privileges
22BOT_COMMAND_DESCRIPTION_INVALIDThe command description was empty, too long or had invalid characters
23BOT_DOMAIN_INVALIDThe domain used for the auth button does not match the one configured in @BotFather
24BOT_GAMES_DISABLEDBot games cannot be used in this type of chat
25BOT_GROUPS_BLOCKEDThis bot can't be added to groups
26BOT_INLINE_DISABLEDThe inline feature of the bot is disabled
27BOT_INVALIDThis is not a valid bot
28BOT_METHOD_INVALIDThe method can't be used by bots
29BOT_MISSINGThis method can only be run by a bot
30BOT_PAYMENTS_DISABLEDThis method can only be run by a bot
31BOT_POLLS_DISABLEDSending polls by bots has been disabled
32BOT_RESPONSE_TIMEOUTThe bot did not answer to the callback query in time
33BOT_SCORE_NOT_MODIFIEDThe bot score was not modified
34BROADCAST_ID_INVALIDThe channel is invalid
35BROADCAST_PUBLIC_VOTERS_FORBIDDENPolls with public voters cannot be sent in channels
36BROADCAST_REQUIREDThe request can only be used with a channel
37BUTTON_DATA_INVALIDThe button callback data contains invalid data or exceeds 64 bytes
38BUTTON_TYPE_INVALIDThe type of one of the buttons you provided is invalid
39BUTTON_URL_INVALIDThe button url is invalid
40CALL_ALREADY_ACCEPTEDThe call is already accepted
41CALL_ALREADY_DECLINEDThe call is already declined
42CALL_PEER_INVALIDThe provided call peer object is invalid
43CALL_PROTOCOL_FLAGS_INVALIDCall protocol flags invalid
44CDN_METHOD_INVALIDThe method can't be used on CDN DCs
45CHANNELS_ADMIN_PUBLIC_TOO_MUCHYou are an administrator of too many public channels
46CHANNELS_TOO_MUCHYou have joined too many channels or supergroups, leave some and try again
47CHANNEL_BANNEDThe channel is banned
48CHANNEL_INVALIDThe channel parameter is invalid
49CHANNEL_PRIVATEThe channel/supergroup is not accessible
50CHAT_ABOUT_NOT_MODIFIEDThe chat about text was not modified because you tried to edit it using the same content
51CHAT_ABOUT_TOO_LONGThe chat about text is too long
52CHAT_ADMIN_REQUIREDThe method requires chat admin privileges
53CHAT_ID_EMPTYThe provided chat id is empty
54CHAT_ID_INVALIDThe chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it
55CHAT_INVALIDThe chat is invalid
56CHAT_LINK_EXISTSThe action failed because the supergroup is linked to a channel
57CHAT_NOT_MODIFIEDThe chat settings (title, permissions, photo, etc..) were not modified because you tried to edit them using the same content
58CHAT_RESTRICTEDThe chat is restricted and cannot be used
59CHAT_SEND_INLINE_FORBIDDENYou cannot use inline bots to send messages in this chat
60CHAT_TITLE_EMPTYThe chat title is empty
61CODE_EMPTYThe provided code is empty
62CODE_HASH_INVALIDThe provided code hash invalid
63CODE_INVALIDThe provided code is invalid (i.e. from email)
64CONNECTION_API_ID_INVALIDThe provided API id is invalid
65CONNECTION_DEVICE_MODEL_EMPTYThe device model is empty
66CONNECTION_LANG_PACK_INVALIDThe specified language pack is not valid
67CONNECTION_LAYER_INVALIDThe connection layer is invalid. Missing InvokeWithLayer-InitConnection call
68CONNECTION_NOT_INITEDThe connection was not initialized
69CONNECTION_SYSTEM_EMPTYThe connection to the system is empty
70CONNECTION_SYSTEM_LANG_CODE_EMPTYThe system language code is empty
71CONTACT_ID_INVALIDThe provided contact id is invalid
72CONTACT_NAME_EMPTYThe provided contact name is empty
73DATA_INVALIDThe encrypted data is invalid
74DATA_JSON_INVALIDThe provided JSON data is invalid
75DATE_EMPTYThe date argument is empty
76DC_ID_INVALIDThe dc_id parameter is invalid
77DH_G_A_INVALIDThe g_a parameter invalid
78DOCUMENT_INVALIDThe document is invalid
79EMAIL_HASH_EXPIREDThe email hash expired and cannot be used to verify it
80EMAIL_INVALIDThe email provided is invalid
81EMAIL_UNCONFIRMED_XEmail unconfirmed, the length of the code must be {x}
82EMOTICON_EMPTYThe emoticon parameter is empty
83EMOTICON_INVALIDThe emoticon parameter is invalid
84EMOTICON_STICKERPACK_MISSINGThe emoticon sticker pack you are trying to obtain is missing
85ENCRYPTED_MESSAGE_INVALIDThe special binding message (bind_auth_key_inner) contains invalid data
86ENCRYPTION_ALREADY_ACCEPTEDThe secret chat is already accepted
87ENCRYPTION_ALREADY_DECLINEDThe secret chat is already declined
88ENCRYPTION_DECLINEDThe secret chat was declined
89ENCRYPTION_ID_INVALIDThe provided secret chat id is invalid
90ENTITIES_TOO_LONGThe entity provided contains data that is too long, or you passed too many entities to this message
91ENTITY_MENTION_USER_INVALIDThe mentioned entity is not an user
92ERROR_TEXT_EMPTYThe provided error message is empty
93EXPORT_CARD_INVALIDThe provided card is invalid
94EXTERNAL_URL_INVALIDThe external media URL is invalid
95FIELD_NAME_EMPTYThe field with the name FIELD_NAME is missing
96FIELD_NAME_INVALIDThe field with the name FIELD_NAME is invalid
97FILE_ID_INVALIDThe file id is invalid
98FILE_MIGRATE_XThe file is in Data Center No. {x}
99FILE_PARTS_INVALIDInvalid number of parts. The value is not between 1 and 4000
100FILE_PART_EMPTYThe file part sent is empty
101FILE_PART_INVALIDThe file part number is invalid. The value is not between 0 and 3999
102FILE_PART_LENGTH_INVALIDThe length of a file part is invalid
103FILE_PART_SIZE_CHANGEDThe part size is different from the size of one of the previous parts in the same file
104FILE_PART_SIZE_INVALID512 KB cannot be evenly divided by part_size
105FILE_PART_TOO_BIGThe size limit (512 KB) for the content of the file part has been exceeded
106FILE_PART_X_MISSINGPart {x} of the file is missing from storage
107FILE_REFERENCE_EMPTYThe file reference is empty
108FILE_REFERENCE_EXPIREDThe file reference has expired and is no longer valid or it belongs to self-destructing media and cannot be resent
109FILE_REFERENCE_INVALIDThe file reference is invalid
110FIRSTNAME_INVALIDThe first name is invalid
111FOLDER_ID_EMPTYThe folder you tried to delete was already empty
112FOLDER_ID_INVALIDThe folder id is invalid
113FRESH_CHANGE_ADMINS_FORBIDDENYou can't change administrator settings in this chat because your session was logged-in recently
114GAME_BOT_INVALIDYou cannot send that game with the current bot
115GIF_ID_INVALIDThe provided gif/animation id is invalid
116GRAPH_OUTDATED_RELOADThe graph data is outdated
117GROUPED_MEDIA_INVALIDThe album contains invalid media
118HASH_INVALIDThe provided hash is invalid
119IMAGE_PROCESS_FAILEDThe server failed to process your image
120INLINE_RESULT_EXPIREDThe inline bot query expired
121INPUT_CONSTRUCTOR_INVALIDThe provided constructor is invalid
122INPUT_FETCH_ERRORAn error occurred while deserializing TL parameters
123INPUT_FETCH_FAILFailed deserializing TL payload
124INPUT_FILTER_INVALIDThe filter is invalid for this query
125INPUT_LAYER_INVALIDThe provided layer is invalid
126INPUT_METHOD_INVALIDThe method invoked is invalid in the current schema
127INPUT_REQUEST_TOO_LONGThe input request is too long
128INPUT_USER_DEACTIVATEDThe target user has been deleted/deactivated
129INVITE_HASH_EMPTYThe invite hash is empty
130INVITE_HASH_EXPIREDThe chat invite link is no longer valid
131INVITE_HASH_INVALIDThe invite link hash is invalid
132LANG_PACK_INVALIDThe provided language pack is invalid
133LASTNAME_INVALIDThe last name is invalid
134LIMIT_INVALIDThe limit parameter is invalid
135LINK_NOT_MODIFIEDThe chat link was not modified because you tried to link to the same target
136LOCATION_INVALIDThe file location is invalid
137MAX_ID_INVALIDThe max_id parameter is invalid
138MAX_QTS_INVALIDThe provided QTS is invalid
139MD5_CHECKSUM_INVALIDThe file's checksum did not match the md5_checksum parameter
140MEDIA_CAPTION_TOO_LONGThe media caption is longer than 1024 characters
141MEDIA_EMPTYThe media you tried to send is invalid
142MEDIA_INVALIDThe media is invalid
143MEDIA_NEW_INVALIDThe new media to edit the message with is invalid
144MEDIA_PREV_INVALIDThe previous media cannot be edited with anything else
145MEGAGROUP_ID_INVALIDThe supergroup is invalid
146MEGAGROUP_PREHISTORY_HIDDENThe action failed because the supergroup has the pre-history hidden
147MEGAGROUP_REQUIREDThe request can only be used with a supergroup
148MESSAGE_EDIT_TIME_EXPIREDYou can no longer edit this message because too much time has passed
149MESSAGE_EMPTYThe message sent is empty or contains invalid characters
150MESSAGE_IDS_EMPTYThe requested message doesn't exist or you provided no message id
151MESSAGE_ID_INVALIDThe message id is invalid
152MESSAGE_NOT_MODIFIEDThe message was not modified because you tried to edit it using the same content
153MESSAGE_POLL_CLOSEDYou can't interact with a closed poll
154MESSAGE_TOO_LONGThe message text is over 4096 characters
155METHOD_INVALIDThe API method is invalid and cannot be used
156MSG_ID_INVALIDThe message ID used in the peer was invalid
157MSG_WAIT_FAILEDA waiting call returned an error
158MULTI_MEDIA_TOO_LONGThe album/media group contains too many items
159NEW_SALT_INVALIDThe new salt is invalid
160NEW_SETTINGS_INVALIDThe new settings are invalid
161OFFSET_INVALIDThe offset parameter is invalid
162OFFSET_PEER_ID_INVALIDThe provided offset peer is invalid
163OPTIONS_TOO_MUCHThe poll options are too many
164OPTION_INVALIDThe option specified is invalid and does not exist in the target poll
165PACK_SHORT_NAME_OCCUPIEDA sticker pack with this name already exists
166PARTICIPANTS_TOO_FEWThe chat doesn't have enough participants
167PARTICIPANT_VERSION_OUTDATEDThe other participant is using an outdated Telegram app version
168PASSWORD_EMPTYThe password provided is empty
169PASSWORD_HASH_INVALIDThe two-step verification password is invalid
170PASSWORD_MISSINGThe account is missing the two-step verification password
171PASSWORD_RECOVERY_NAThe password recovery e-mail is not available
172PASSWORD_REQUIREDThe two-step verification password is required for this method
173PASSWORD_TOO_FRESH_XThe two-step verification password was added recently and you are required to wait {x} seconds
174PAYMENT_PROVIDER_INVALIDThe payment provider was not recognised or its token was invalid
175PEER_FLOODThe method can't be used because your account is currently limited
176PEER_ID_INVALIDThe peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with it
177PEER_ID_NOT_SUPPORTEDThe provided peer id is not supported
178PERSISTENT_TIMESTAMP_EMPTYThe pts argument is empty
179PERSISTENT_TIMESTAMP_INVALIDThe persistent timestamp is invalid
180PHONE_CODE_EMPTYThe phone code is missing
181PHONE_CODE_EXPIREDThe confirmation code has expired
182PHONE_CODE_HASH_EMPTYThe phone code hash is missing
183PHONE_CODE_INVALIDThe confirmation code is invalid
184PHONE_NUMBER_APP_SIGNUP_FORBIDDENYou can't sign up using this app
185PHONE_NUMBER_BANNEDThe phone number is banned from Telegram and cannot be used
186PHONE_NUMBER_FLOODThis number has tried to login too many times
187PHONE_NUMBER_INVALIDThe phone number is invalid
188PHONE_NUMBER_OCCUPIEDThe phone number is already in use
189PHONE_NUMBER_UNOCCUPIEDThe phone number is not yet being used
190PHONE_PASSWORD_PROTECTEDThe phone is password protected
191PHOTO_CONTENT_TYPE_INVALIDThe photo content type is invalid
192PHOTO_CONTENT_URL_EMPTYThe photo content URL is empty
193PHOTO_CROP_SIZE_SMALLThe photo is too small
194PHOTO_EXT_INVALIDThe photo extension is invalid
195PHOTO_ID_INVALIDThe photo id is invalid
196PHOTO_INVALIDThe photo is invalid
197PHOTO_INVALID_DIMENSIONSThe photo dimensions are invalid
198PHOTO_SAVE_FILE_INVALIDThe photo you tried to send cannot be saved by Telegram. A reason may be that it exceeds 10 MB. Try resizing it locally
199PHOTO_THUMB_URL_EMPTYThe photo thumb URL is empty
200PHOTO_THUMB_URL_INVALIDThe photo thumb URL is invalid
201PIN_RESTRICTEDYou can't pin messages in private chats with other people
202POLL_ANSWERS_INVALIDThe poll answers are invalid
203POLL_OPTION_DUPLICATEA duplicate option was sent in the same poll
204POLL_OPTION_INVALIDA poll option used invalid data (the data may be too long)
205POLL_QUESTION_INVALIDThe poll question is invalid
206POLL_UNSUPPORTEDThis layer does not support polls in the invoked method
207PRIVACY_KEY_INVALIDThe privacy key is invalid
208PRIVACY_TOO_LONGYour privacy exception list has exceeded the maximum capacity
209PRIVACY_VALUE_INVALIDThe privacy value is invalid
210QUERY_ID_EMPTYThe query ID is empty
211QUERY_ID_INVALIDThe callback query id is invalid
212QUERY_TOO_SHORTThe query is too short
213QUIZ_CORRECT_ANSWERS_EMPTYThe correct answers of the quiz are empty
214QUIZ_CORRECT_ANSWERS_TOO_MUCHThe quiz contains too many correct answers
215QUIZ_CORRECT_ANSWER_INVALIDThe correct answers of the quiz are invalid
216QUIZ_MULTIPLE_INVALIDA quiz can't have multiple answers
217RANDOM_ID_INVALIDThe provided random ID is invalid
218RANDOM_LENGTH_INVALIDThe random length is invalid
219RANGES_INVALIDInvalid range provided
220REACTION_EMPTYThe reaction provided is empty
221REACTION_INVALIDInvalid reaction provided (only emoji are allowed)
222REPLY_MARKUP_GAME_EMPTYThe provided reply markup for the game is empty
223REPLY_MARKUP_INVALIDThe provided reply markup is invalid
224REPLY_MARKUP_TOO_LONGThe reply markup is too long
225RESULTS_TOO_MUCHThe result contains too many items
226RESULT_ID_DUPLICATEThe result contains items with duplicated identifiers
227RESULT_ID_INVALIDThe given result cannot be used to send the selection to the bot
228RESULT_TYPE_INVALIDThe result type is invalid
229RSA_DECRYPT_FAILEDInternal RSA decryption failed
230SCHEDULE_BOT_NOT_ALLOWEDBots are not allowed to schedule messages
231SCHEDULE_DATE_TOO_LATEThe date you tried to schedule is too far in the future (more than one year)
232SCHEDULE_STATUS_PRIVATEYou cannot schedule a message until the person comes online if their privacy does not show this information
233SCHEDULE_TOO_MUCHYou cannot schedule more than 100 messages in this chat
234SEARCH_QUERY_EMPTYThe search query is empty
235SECONDS_INVALIDThe seconds interval is invalid, for slow mode try with 0 (off), 10, 30, 60 (1m), 300 (5m), 900 (15m) or 3600 (1h)
236SEND_MESSAGE_MEDIA_INVALIDThe message media is invalid
237SEND_MESSAGE_TYPE_INVALIDThe message type is invalid
238SESSION_TOO_FRESH_XYou can't do this action because the current session was logged-in recently
239SHA256_HASH_INVALIDThe provided SHA256 hash is invalid
240SHORTNAME_OCCUPY_FAILEDAn error occurred when trying to register the short-name used for the sticker pack. Try a different name
241START_PARAM_EMPTYThe start parameter is empty
242START_PARAM_INVALIDThe start parameter is invalid
243STICKERSET_INVALIDThe requested sticker set is invalid
244STICKERS_EMPTYThe sticker provided is empty
245STICKER_DOCUMENT_INVALIDThe sticker document is invalid
246STICKER_EMOJI_INVALIDThe sticker emoji is invalid
247STICKER_FILE_INVALIDThe sticker file is invalid
248STICKER_ID_INVALIDThe provided sticker id is invalid
249STICKER_INVALIDThe provided sticker is invalid
250STICKER_PNG_DIMENSIONSThe sticker png dimensions are invalid
251STICKER_PNG_NOPNGStickers must be png files but the provided image was not a png
252TAKEOUT_INVALIDThe takeout id is invalid
253TAKEOUT_REQUIREDThe method must be invoked inside a takeout session
254TEMP_AUTH_KEY_EMPTYThe temporary auth key provided is empty
255THEME_MIME_INVALIDYou cannot create this theme because the mime-type is invalid
256TMP_PASSWORD_DISABLEDThe temporary password is disabled
257TOKEN_INVALIDThe provided token is invalid
258TTL_DAYS_INVALIDThe provided TTL days is invalid
259TTL_MEDIA_INVALIDThe media does not support self-destruction
260TYPES_EMPTYThe types parameter is empty
261TYPE_CONSTRUCTOR_INVALIDThe type constructor is invalid
262UNTIL_DATE_INVALIDThat date parameter is invalid
263URL_INVALIDThe URL provided is invalid
264USERNAME_INVALIDThe username is invalid
265USERNAME_NOT_MODIFIEDThe username was not modified because you tried to edit it using the same one
266USERNAME_NOT_OCCUPIEDThe username is not occupied by anyone
267USERNAME_OCCUPIEDThe username is already in use by someone else
268USERS_TOO_FEWNot enough users (to create a chat, for example)
269USERS_TOO_MUCHThe maximum number of users has been exceeded (to create a chat, for example)
270USER_ADMIN_INVALIDThe action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to
271USER_ALREADY_PARTICIPANTThe user is already a participant of this chat
272USER_BANNED_IN_CHANNELYou are limited from sending messages in supergroups/channels, check @SpamBot for details
273USER_BLOCKEDThe user is blocked
274USER_BOTBots in channels can only be administrators, not members.
275USER_BOT_INVALIDThis method can only be used by a bot
276USER_BOT_REQUIREDThe method can be used by bots only
277USER_CHANNELS_TOO_MUCHThe user is already in too many channels or supergroups
278USER_CREATORYou can't leave this channel because you're its creator
279USER_ID_INVALIDThe user id being used is invalid or not known yet. Make sure you meet the user before interacting with it
280USER_INVALIDThe provided user is invalid
281USER_IS_BLOCKEDThe user blocked you
282USER_IS_BOTA bot cannot send messages to other bots or to itself
283USER_KICKEDThis user was kicked from this chat
284USER_NOT_MUTUAL_CONTACTThe user is not a mutual contact
285USER_NOT_PARTICIPANTThe user is not a member of this chat
286VIDEO_CONTENT_TYPE_INVALIDThe video content type is invalid (i.e.: not streamable)
287VIDEO_FILE_INVALIDThe video file is invalid
288VOLUME_LOC_NOT_FOUNDThe volume location can't be found
289WALLPAPER_FILE_INVALIDThe provided file cannot be used as a wallpaper
290WALLPAPER_INVALIDThe input wallpaper was not valid
291WC_CONVERT_URL_INVALIDWC convert URL invalid
292WEBDOCUMENT_INVALIDThe web document is invalid
293WEBDOCUMENT_MIME_INVALIDThe web document mime type is invalid
294WEBDOCUMENT_URL_EMPTYThe web document URL is empty
295WEBDOCUMENT_URL_INVALIDThe web document URL is invalid
296WEBPAGE_CURL_FAILEDTelegram server could not fetch the provided URL
297WEBPAGE_MEDIA_EMPTYThe URL doesn't contain any valid media
298YOU_BLOCKED_USERYou blocked this user