mtcute/packages/tl/raw-errors.json

1 line
45 KiB
JSON
Raw Normal View History

[{"codes":"400","name":"BAD_REQUEST","description":"The query contains errors. In the event that a request was created using a form and contains user generated data, the user should be notified that the data must be corrected before the query is repeated","base":true},{"codes":"401","name":"UNAUTHORIZED","description":"There was an unauthorized attempt to use functionality available only to authorized users.","base":true},{"codes":"403","name":"FORBIDDEN","description":"Privacy violation. For example, an attempt to write a message to someone who has blacklisted the current user.","base":true},{"codes":"404","name":"NOT_FOUND","description":"An attempt to invoke a non-existent object, such as a method.","base":true},{"codes":"420","name":"FLOOD","description":"The maximum allowed number of attempts to invoke the given methodwith the given input parameters has been exceeded. For example, in anattempt to request a large number of text messages (SMS) for the samephone number.","base":true},{"codes":"303","name":"SEE_OTHER","description":"The request must be repeated, but directed to a different data center","base":true},{"codes":"406","name":"NOT_ACCEPTABLE","description":"Similar to 400 BAD_REQUEST, but the app should not display any error messages to user in UI as a result of this response. The error message will be delivered via updateServiceNotification instead.","base":true},{"codes":"500","name":"INTERNAL","description":"An internal server error occurred while a request was being processed; for example, there was a disruption while accessing a database or file storage.","base":true},{"name":"2FA_CONFIRM_WAIT_X","codes":"420","description":"The account is 2FA protected so it will be deleted in a week. Otherwise it can be reset in {seconds}"},{"name":"ABOUT_TOO_LONG","codes":"400","description":"The provided bio is too long"},{"name":"ACCESS_TOKEN_EXPIRED","codes":"400","description":"Bot token expired"},{"name":"ACCESS_TOKEN_INVALID","codes":"400","description":"The provided token is not valid"},{"name":"ACTIVE_USER_REQUIRED","codes":"401","description":"The method is only available to already activated users"},{"name":"ADMINS_TOO_MUCH","codes":"400","description":"Too many admins"},{"name":"ADMIN_RANK_EMOJI_NOT_ALLOWED","codes":"400","description":"Emoji are not allowed in admin titles or ranks"},{"name":"ADMIN_RANK_INVALID","codes":"400","description":"The given admin title or rank was invalid (possibly larger than 16 characters)"},{"name":"ALBUM_PHOTOS_TOO_MANY","codes":"400","description":"Too many photos were included in the album"},{"name":"API_ID_INVALID","codes":"400","description":"The api_id/api_hash combination is invalid"},{"name":"API_ID_PUBLISHED_FLOOD","codes":"400","description":"This API id was published somewhere, you can't use it now"},{"name":"ARTICLE_TITLE_EMPTY","codes":"400","description":"The title of the article is empty"},{"name":"AUDIO_TITLE_EMPTY","codes":"400","description":"The title attribute of the audio must be non-empty"},{"name":"AUDIO_CONTENT_URL_EMPTY","codes":"400","description":""},{"name":"AUTH_BYTES_INVALID","codes":"400","description":"The provided authorization is invalid"},{"name":"AUTH_KEY_DUPLICATED","codes":"406","description":"The authorization key (session file) was used under two different IP addresses simultaneously, and can no longer be used. Use the same session exclusively, or use different sessions"},{"name":"AUTH_KEY_INVALID","codes":"401","description":"The key is invalid"},{"name":"AUTH_KEY_PERM_EMPTY","codes":"401","description":"The method is unavailable for temporary authorization key, not bound to permanent"},{"name":"AUTH_KEY_UNREGISTERED","codes":"401","description":"The key is not registered in the system"},{"name":"AUTH_RESTART","codes":"500","description":"Restart the authorization process"},{"name":"AUTH_TOKEN_ALREADY_ACCEPTED","codes":"400","description":"The authorization token was already used"},{"name":"AUTH_TOKEN_EXPIRED","codes":"400","description":"The provided authorization token has expired and the updated QR-code must be re-scanned"},{"name":