MTPyroger/compiler/error/source/400_BAD_REQUEST.tsv
Dan 538f1e3972 Deep rewrite: preparing for v1.0
- Pyrogram core is now fully asynchronous
- Ditched Python 3.5, welcome 3.6 as minimum version.
- Moved all types to pyrogram.types
- Turned the Filters class into a module (filters)
- Moved all filters to pyrogram.filters
- Moved all handlers to pyrogram.handlers
- Moved all emoji to pyrogram.emoji
- Renamed pyrogram.api to pyrogram.raw
- Clock is now synced with server's time
- Telegram schema updated to Layer 117
- Greatly improved the TL compiler (proper type-constructor hierarchy)
- Added "do not edit" warning in generated files
- Crypto parts are executed in a thread pool to avoid blocking the event loop
- idle() is now a separate function (it doesn't deal with Client instances)
- Async storage, async filters and async progress callback (optional, can be sync too)
- Added getpass back, for hidden password inputs
2020-08-22 08:05:05 +02:00

8.4 KiB

1idmessage
2FIRSTNAME_INVALIDThe first name is invalid
3LASTNAME_INVALIDThe last name is invalid
4PHONE_NUMBER_INVALIDThe phone number is invalid
5PHONE_CODE_HASH_EMPTYphone_code_hash is missing
6PHONE_CODE_EMPTYphone_code is missing
7PHONE_CODE_EXPIREDThe confirmation code has expired
8PHONE_CODE_INVALIDThe confirmation code is invalid
9API_ID_INVALIDThe api_id/api_hash combination is invalid
10PHONE_NUMBER_OCCUPIEDThe phone number is already in use
11PHONE_NUMBER_UNOCCUPIEDThe phone number is not yet being used
12USERS_TOO_FEWNot enough users (to create a chat, for example)
13USERS_TOO_MUCHThe maximum number of users has been exceeded (to create a chat, for example)
14TYPE_CONSTRUCTOR_INVALIDThe type constructor is invalid
15FILE_PART_INVALIDThe file part number is invalid. The value is not between 0 and 3999
16FILE_PARTS_INVALIDInvalid number of parts. The value is not between 1 and 4000
17FILE_PART_X_MISSINGPart {x} of the file is missing from storage
18MD5_CHECKSUM_INVALIDThe file's checksum did not match the md5_checksum parameter
19PHOTO_INVALID_DIMENSIONSThe photo dimensions are invalid
20FIELD_NAME_INVALIDThe field with the name FIELD_NAME is invalid
21FIELD_NAME_EMPTYThe field with the name FIELD_NAME is missing
22MSG_WAIT_FAILEDA waiting call returned an error
23PEER_ID_INVALIDThe id/access_hash combination is invalid
24MESSAGE_EMPTYThe message sent is empty
25ENCRYPTED_MESSAGE_INVALIDThe special binding message (bind_auth_key_inner) contains invalid data
26INPUT_METHOD_INVALIDThe method called is invalid
27PASSWORD_HASH_INVALIDTwo-step verification password is invalid
28USERNAME_NOT_OCCUPIEDThe username is not occupied by anyone
29USERNAME_INVALIDThe username is invalid
30MESSAGE_ID_INVALIDThe message id is invalid
31MESSAGE_NOT_MODIFIEDThe message was not modified because you tried to edit it using the same content
32ENTITY_MENTION_USER_INVALIDThe mentioned entity is not an user
33MESSAGE_TOO_LONGThe message text is over 4096 characters
34ACCESS_TOKEN_EXPIREDThe bot token is invalid
35BOT_METHOD_INVALIDThe method can't be used by bots
36QUERY_TOO_SHORTThe query is too short
37SEARCH_QUERY_EMPTYThe query is empty
38CHAT_ID_INVALIDThe chat id is invalid
39DATE_EMPTYThe date argument is empty
40PERSISTENT_TIMESTAMP_EMPTYThe pts is empty
41CDN_METHOD_INVALIDThe method can't be used on CDN DCs
42VOLUME_LOC_NOT_FOUNDThe volume location can't be found
43FILE_ID_INVALIDThe file id is invalid
44LOCATION_INVALIDThe file address is invalid
45CHAT_ADMIN_REQUIREDThe method requires chat admin privileges
46PHONE_NUMBER_BANNEDThe phone number is banned
47ABOUT_TOO_LONGThe about text is too long
48MULTI_MEDIA_TOO_LONGThe album contains more than 10 items
49USERNAME_OCCUPIEDThe username is already in use
50BOT_INLINE_DISABLEDThe inline feature of the bot is disabled
51INLINE_RESULT_EXPIREDThe inline bot query expired
52INVITE_HASH_INVALIDThe invite link hash is invalid
53USER_ALREADY_PARTICIPANTThe user is already a participant of this chat
54TTL_MEDIA_INVALIDThe media does not support self-destruction
55MAX_ID_INVALIDThe max_id parameter is invalid
56CHANNEL_INVALIDThe channel parameter is invalid
57DC_ID_INVALIDThe dc_id parameter is invalid
58LIMIT_INVALIDThe limit parameter is invalid
59OFFSET_INVALIDThe offset parameter is invalid
60EMAIL_INVALIDThe email provided is invalid
61USER_IS_BOTA bot cannot send messages to other bots or to itself
62WEBPAGE_CURL_FAILEDTelegram server could not fetch the provided URL
63STICKERSET_INVALIDThe requested sticker set is invalid
64PEER_FLOODThe method can't be used because your account is limited
65MEDIA_CAPTION_TOO_LONGThe media caption is longer than 1024 characters
66USER_NOT_MUTUAL_CONTACTThe user is not a mutual contact
67USER_CHANNELS_TOO_MUCHThe user is already in too many channels or supergroups
68API_ID_PUBLISHED_FLOODYou are using an API key that is limited on the server side
69USER_NOT_PARTICIPANTThe user is not a member of this chat
70CHANNEL_PRIVATEThe channel/supergroup is not accessible
71MESSAGE_IDS_EMPTYThe requested message doesn't exist
72WEBPAGE_MEDIA_EMPTYThe URL doesn't contain any valid media
73QUERY_ID_INVALIDThe callback query id is invalid
74MEDIA_EMPTYThe media is invalid
75USER_IS_BLOCKEDThe user blocked you
76YOU_BLOCKED_USERYou blocked this user
77ADMINS_TOO_MUCHThe chat has too many administrators
78BOTS_TOO_MUCHThe chat has too many bots
79USER_ADMIN_INVALIDThe action requires admin privileges
80INPUT_USER_DEACTIVATEDThe target user has been deactivated
81PASSWORD_RECOVERY_NAThe password recovery e-mail is not available
82PASSWORD_EMPTYThe password entered is empty
83PHONE_NUMBER_FLOODThis number has tried to login too many times
84TAKEOUT_INVALIDThe takeout id is invalid
85TAKEOUT_REQUIREDThe method must be invoked inside a takeout session
86MESSAGE_POLL_CLOSEDYou can't interact with a closed poll
87MEDIA_INVALIDThe media is invalid
88BOT_SCORE_NOT_MODIFIEDThe bot score was not modified
89USER_BOT_REQUIREDThe method can be used by bots only
90IMAGE_PROCESS_FAILEDThe server failed to process your image
91USERNAME_NOT_MODIFIEDThe username was not modified
92CALL_ALREADY_ACCEPTEDThe call is already accepted
93CALL_ALREADY_DECLINEDThe call is already declined
94PHOTO_EXT_INVALIDThe photo extension is invalid
95EXTERNAL_URL_INVALIDThe external media URL is invalid
96CHAT_NOT_MODIFIEDThe chat settings were not modified
97RESULTS_TOO_MUCHThe result contains too many items
98RESULT_ID_DUPLICATEThe result contains items with duplicated identifiers
99ACCESS_TOKEN_INVALIDThe bot access token is invalid
100INVITE_HASH_EXPIREDThe chat invite link is no longer valid
101USER_BANNED_IN_CHANNELYou are limited, check @SpamBot for details
102MESSAGE_EDIT_TIME_EXPIREDYou can no longer edit this message
103FOLDER_ID_INVALIDThe folder id is invalid
104MEGAGROUP_PREHISTORY_HIDDENThe action failed because the supergroup has the pre-history hidden
105CHAT_LINK_EXISTSThe action failed because the supergroup is linked to a channel
106LINK_NOT_MODIFIEDThe chat link was not modified because you tried to link to the same target
107BROADCAST_ID_INVALIDThe channel is invalid
108MEGAGROUP_ID_INVALIDThe supergroup is invalid
109BUTTON_DATA_INVALIDThe button callback data contains invalid data or exceeds 64 bytes
110START_PARAM_INVALIDThe start parameter is invalid
111ARTICLE_TITLE_EMPTYThe article title is empty
112FILE_PART_TOO_BIGThe size limit (512 KB) for the content of the file part has been exceeded
113FILE_PART_EMPTYThe file part sent is empty
114FILE_PART_SIZE_INVALID512 KB cannot be evenly divided by part_size
115FILE_PART_SIZE_CHANGEDThe part size is different from the size of one of the previous parts in the same file
116FILE_MIGRATE_XThe file is in Data Center No. {x}
117RESULT_TYPE_INVALIDThe result type is invalid
118PHOTO_THUMB_URL_EMPTYThe photo thumb URL is empty
119PHOTO_THUMB_URL_INVALIDThe photo thumb URL is invalid
120PHOTO_CONTENT_URL_EMPTYThe photo content URL is empty
121PHOTO_CONTENT_TYPE_INVALIDThe photo content type is invalid
122WEBDOCUMENT_INVALIDThe web document is invalid
123WEBDOCUMENT_URL_EMPTYThe web document URL is empty
124WEBDOCUMENT_URL_INVALIDThe web document URL is invalid
125WEBDOCUMENT_MIME_INVALIDThe web document mime type is invalid
126BUTTON_URL_INVALIDThe button url is invalid
127AUTH_BYTES_INVALIDThe authorization bytes are invalid
128USER_ID_INVALIDThe user ID is invalid
129CHANNELS_TOO_MUCHYou have joined too many channels or supergroups
130ADMIN_RANK_INVALIDThe custom administrator title is invalid or is longer than 16 characters
131ADMIN_RANK_EMOJI_NOT_ALLOWEDEmojis are not allowed in custom administrator titles
132FILE_REFERENCE_EMPTYThe file reference is empty
133FILE_REFERENCE_INVALIDThe file reference is invalid
134REPLY_MARKUP_TOO_LONGThe reply markup is too long
135SECONDS_INVALIDThe seconds interval is invalid, for slow mode try with 0 (off), 10, 30, 60 (1m), 300 (5m), 900 (15m) or 3600 (1h)
136QUIZ_MULTIPLE_INVALIDA quiz can't have multiple answers
137QUIZ_CORRECT_ANSWERS_EMPTYThe correct answers of the quiz are empty
138QUIZ_CORRECT_ANSWER_INVALIDThe correct answers of the quiz are invalid
139QUIZ_CORRECT_ANSWERS_TOO_MUCHThe quiz contains too many correct answers
140OPTIONS_TOO_MUCHThe poll options are too many
141POLL_ANSWERS_INVALIDThe poll answers are invalid
142POLL_QUESTION_INVALIDThe poll question is invalid
143FRESH_CHANGE_ADMINS_FORBIDDENRecently logged-in users cannot change admins
144BROADCAST_PUBLIC_VOTERS_FORBIDDENPolls with public voters cannot be sent in channels
145INPUT_FILTER_INVALIDThe filter is invalid for this query
146EMOTICON_EMPTYThe emoticon parameter is empty
147EMOTICON_INVALIDThe emoticon parameter is invalid
148VIDEO_FILE_INVALIDThe video file is invalid
149PRIVACY_TOO_LONGYour privacy exception list has exceeded the maximum capacity