Add more RPC errors

This commit is contained in:
Dan 2021-05-14 17:31:36 +02:00
parent dd32854db4
commit aef0cce8d9
2 changed files with 9 additions and 3 deletions

View File

@ -290,6 +290,8 @@ STICKER_ID_INVALID The provided sticker id is invalid
STICKER_INVALID The provided sticker is invalid STICKER_INVALID The provided sticker is invalid
STICKER_PNG_DIMENSIONS The sticker png dimensions are invalid STICKER_PNG_DIMENSIONS The sticker png dimensions are invalid
STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a png STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a png
STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
TAKEOUT_INVALID The takeout id is invalid TAKEOUT_INVALID The takeout id is invalid
TAKEOUT_REQUIRED The method must be invoked inside a takeout session TAKEOUT_REQUIRED The method must be invoked inside a takeout session
TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty
@ -298,6 +300,7 @@ THEME_FORMAT_INVALID Invalid theme format provided
THEME_INVALID Invalid theme provided THEME_INVALID Invalid theme provided
THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid
TMP_PASSWORD_DISABLED The temporary password is disabled TMP_PASSWORD_DISABLED The temporary password is disabled
TMP_PASSWORD_INVALID The temporary password is invalid
TOKEN_INVALID The provided token is invalid TOKEN_INVALID The provided token is invalid
TTL_DAYS_INVALID The provided TTL days is invalid TTL_DAYS_INVALID The provided TTL days is invalid
TTL_MEDIA_INVALID The media does not support self-destruction TTL_MEDIA_INVALID The media does not support self-destruction
@ -310,6 +313,7 @@ USERNAME_INVALID The username is invalid
USERNAME_NOT_MODIFIED The username was not modified because you tried to edit it using the same one USERNAME_NOT_MODIFIED The username was not modified because you tried to edit it using the same one
USERNAME_NOT_OCCUPIED The username is not occupied by anyone USERNAME_NOT_OCCUPIED The username is not occupied by anyone
USERNAME_OCCUPIED The username is already in use by someone else USERNAME_OCCUPIED The username is already in use by someone else
USERPIC_UPLOAD_REQUIRED You are required to upload a profile picture for this action
USERS_TOO_FEW Not enough users (to create a chat, for example) USERS_TOO_FEW Not enough users (to create a chat, for example)
USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example) USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
USER_ADMIN_INVALID The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to USER_ADMIN_INVALID The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to
@ -333,6 +337,7 @@ VIDEO_FILE_INVALID The video file is invalid
VOLUME_LOC_NOT_FOUND The volume location can't be found VOLUME_LOC_NOT_FOUND The volume location can't be found
WALLPAPER_FILE_INVALID The provided file cannot be used as a wallpaper WALLPAPER_FILE_INVALID The provided file cannot be used as a wallpaper
WALLPAPER_INVALID The input wallpaper was not valid WALLPAPER_INVALID The input wallpaper was not valid
WALLPAPER_MIME_INVALID The wallpaper mime type is invalid
WC_CONVERT_URL_INVALID WC convert URL invalid WC_CONVERT_URL_INVALID WC convert URL invalid
WEBDOCUMENT_INVALID The web document is invalid WEBDOCUMENT_INVALID The web document is invalid
WEBDOCUMENT_MIME_INVALID The web document mime type is invalid WEBDOCUMENT_MIME_INVALID The web document mime type is invalid

1 id message
290 STICKER_INVALID The provided sticker is invalid
291 STICKER_PNG_DIMENSIONS The sticker png dimensions are invalid
292 STICKER_PNG_NOPNG Stickers must be png files but the provided image was not a png
293 STICKER_TGS_NOTGS A tgs sticker file was expected, but something else was provided
294 STICKER_THUMB_PNG_NOPNG A png sticker thumbnail file was expected, but something else was provided
295 TAKEOUT_INVALID The takeout id is invalid
296 TAKEOUT_REQUIRED The method must be invoked inside a takeout session
297 TEMP_AUTH_KEY_EMPTY The temporary auth key provided is empty
300 THEME_INVALID Invalid theme provided
301 THEME_MIME_INVALID You cannot create this theme because the mime-type is invalid
302 TMP_PASSWORD_DISABLED The temporary password is disabled
303 TMP_PASSWORD_INVALID The temporary password is invalid
304 TOKEN_INVALID The provided token is invalid
305 TTL_DAYS_INVALID The provided TTL days is invalid
306 TTL_MEDIA_INVALID The media does not support self-destruction
313 USERNAME_NOT_MODIFIED The username was not modified because you tried to edit it using the same one
314 USERNAME_NOT_OCCUPIED The username is not occupied by anyone
315 USERNAME_OCCUPIED The username is already in use by someone else
316 USERPIC_UPLOAD_REQUIRED You are required to upload a profile picture for this action
317 USERS_TOO_FEW Not enough users (to create a chat, for example)
318 USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
319 USER_ADMIN_INVALID The action requires admin privileges. Probably you tried to edit admin privileges on someone you don't have rights to
337 VOLUME_LOC_NOT_FOUND The volume location can't be found
338 WALLPAPER_FILE_INVALID The provided file cannot be used as a wallpaper
339 WALLPAPER_INVALID The input wallpaper was not valid
340 WALLPAPER_MIME_INVALID The wallpaper mime type is invalid
341 WC_CONVERT_URL_INVALID WC convert URL invalid
342 WEBDOCUMENT_INVALID The web document is invalid
343 WEBDOCUMENT_MIME_INVALID The web document mime type is invalid

View File

@ -9,6 +9,7 @@ CHP_CALL_FAIL Telegram is having internal problems. Please try again later
ENCRYPTION_OCCUPY_ADMIN_FAILED Failed occupying memory for admin info due to Telegram having internal problems. Please try again later ENCRYPTION_OCCUPY_ADMIN_FAILED Failed occupying memory for admin info due to Telegram having internal problems. Please try again later
ENCRYPTION_OCCUPY_FAILED Internal server error while accepting secret chat ENCRYPTION_OCCUPY_FAILED Internal server error while accepting secret chat
FOLDER_DEAC_AUTOFIX_ALL Telegram is having internal problems. Please try again later FOLDER_DEAC_AUTOFIX_ALL Telegram is having internal problems. Please try again later
GROUPCALL_ADD_PARTICIPANTS_FAILED Failure while adding voice chat member due to Telegram having internal problems. Please try again later
GROUPED_ID_OCCUPY_FAILED Telegram is having internal problems. Please try again later GROUPED_ID_OCCUPY_FAILED Telegram is having internal problems. Please try again later
HISTORY_GET_FAILED The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later HISTORY_GET_FAILED The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later
IMAGE_ENGINE_DOWN Image engine down due to Telegram having internal problems. Please try again later IMAGE_ENGINE_DOWN Image engine down due to Telegram having internal problems. Please try again later
@ -23,8 +24,10 @@ MSG_RANGE_UNSYNC Message range unsynchronized due to Telegram having internal pr
MT_SEND_QUEUE_TOO_LONG The MTProto send queue has grown too much due to Telegram having internal problems. Please try again later MT_SEND_QUEUE_TOO_LONG The MTProto send queue has grown too much due to Telegram having internal problems. Please try again later
NEED_CHAT_INVALID The provided chat is invalid NEED_CHAT_INVALID The provided chat is invalid
NEED_MEMBER_INVALID The provided member is invalid or does not exist NEED_MEMBER_INVALID The provided member is invalid or does not exist
No workers running The Telegram server is restarting its workers. Try again later.
PARTICIPANT_CALL_FAILED Failure while making call due to Telegram having internal problems. Please try again later PARTICIPANT_CALL_FAILED Failure while making call due to Telegram having internal problems. Please try again later
PERSISTENT_TIMESTAMP_OUTDATED The persistent timestamp is outdated due to Telegram having internal problems. Please try again later PERSISTENT_TIMESTAMP_OUTDATED The persistent timestamp is outdated due to Telegram having internal problems. Please try again later
PHOTO_CREATE_FAILED The creation of the photo failed due to Telegram having internal problems. Please try again later
POSTPONED_TIMEOUT Telegram is having internal problems. Please try again later POSTPONED_TIMEOUT Telegram is having internal problems. Please try again later
PTS_CHANGE_EMPTY No PTS change PTS_CHANGE_EMPTY No PTS change
RANDOM_ID_DUPLICATE You provided a random ID that was already used RANDOM_ID_DUPLICATE You provided a random ID that was already used
@ -40,5 +43,3 @@ UPLOAD_NO_VOLUME Telegram is having internal problems. Please try again later
VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later
WORKER_BUSY_TOO_LONG_RETRY Server workers are too busy right now due to Telegram having internal problems. Please try again later WORKER_BUSY_TOO_LONG_RETRY Server workers are too busy right now due to Telegram having internal problems. Please try again later
WP_ID_GENERATE_FAILED Telegram is having internal problems. Please try again later WP_ID_GENERATE_FAILED Telegram is having internal problems. Please try again later
GROUPCALL_ADD_PARTICIPANTS_FAILED Failure while adding voice chat member due to Telegram having internal problems. Please try again later
No workers running The Telegram server is restarting its workers. Try again later.
1 id message
9 ENCRYPTION_OCCUPY_ADMIN_FAILED Failed occupying memory for admin info due to Telegram having internal problems. Please try again later
10 ENCRYPTION_OCCUPY_FAILED Internal server error while accepting secret chat
11 FOLDER_DEAC_AUTOFIX_ALL Telegram is having internal problems. Please try again later
12 GROUPCALL_ADD_PARTICIPANTS_FAILED Failure while adding voice chat member due to Telegram having internal problems. Please try again later
13 GROUPED_ID_OCCUPY_FAILED Telegram is having internal problems. Please try again later
14 HISTORY_GET_FAILED The chat history couldn't be retrieved due to Telegram having internal problems. Please try again later
15 IMAGE_ENGINE_DOWN Image engine down due to Telegram having internal problems. Please try again later
24 MT_SEND_QUEUE_TOO_LONG The MTProto send queue has grown too much due to Telegram having internal problems. Please try again later
25 NEED_CHAT_INVALID The provided chat is invalid
26 NEED_MEMBER_INVALID The provided member is invalid or does not exist
27 No workers running The Telegram server is restarting its workers. Try again later.
28 PARTICIPANT_CALL_FAILED Failure while making call due to Telegram having internal problems. Please try again later
29 PERSISTENT_TIMESTAMP_OUTDATED The persistent timestamp is outdated due to Telegram having internal problems. Please try again later
30 PHOTO_CREATE_FAILED The creation of the photo failed due to Telegram having internal problems. Please try again later
31 POSTPONED_TIMEOUT Telegram is having internal problems. Please try again later
32 PTS_CHANGE_EMPTY No PTS change
33 RANDOM_ID_DUPLICATE You provided a random ID that was already used
43 VOLUME_LOC_NOT_FOUND Telegram is having internal problems. Please try again later
44 WORKER_BUSY_TOO_LONG_RETRY Server workers are too busy right now due to Telegram having internal problems. Please try again later
45 WP_ID_GENERATE_FAILED Telegram is having internal problems. Please try again later
GROUPCALL_ADD_PARTICIPANTS_FAILED Failure while adding voice chat member due to Telegram having internal problems. Please try again later
No workers running The Telegram server is restarting its workers. Try again later.