pyrogram/compiler/error/source/400_BAD_REQUEST.tsv
2019-03-03 17:55:53 +01:00

4.9 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
16FILE_PARTS_INVALIDThe number of file parts is invalid
17FILE_PART_X_MISSINGPart {x} of the file is missing from storage
18MD5_CHECKSUM_INVALIDThe MD5 checksums do not match
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
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 location 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