mtcute/packages/tl/raw-errors.json

1 line
102 KiB
JSON
Raw Normal View History

{"base":[{"code":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"},{"code":401,"name":"UNAUTHORIZED","description":"There was an unauthorized attempt to use functionality available only to authorized users."},{"code":403,"name":"FORBIDDEN","description":"Privacy violation. For example, an attempt to write a message to someone who has blacklisted the current user."},{"code":404,"name":"NOT_FOUND","description":"An attempt to invoke a non-existent object, such as a method."},{"code":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."},{"code":303,"name":"SEE_OTHER","description":"The request must be repeated, but directed to a different data center"},{"code":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."},{"code":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."}],"errors":{"ABOUT_TOO_LONG":{"code":400,"name":"ABOUT_TOO_LONG","description":"About string too long."},"ACCESS_TOKEN_EXPIRED":{"code":400,"name":"ACCESS_TOKEN_EXPIRED","description":"Access token expired."},"ACCESS_TOKEN_INVALID":{"code":400,"name":"ACCESS_TOKEN_INVALID","description":"Access token invalid."},"ADMIN_ID_INVALID":{"code":400,"name":"ADMIN_ID_INVALID","description":"The specified admin ID is invalid."},"ADMIN_RANK_EMOJI_NOT_ALLOWED":{"code":400,"name":"ADMIN_RANK_EMOJI_NOT_ALLOWED","description":"An admin rank cannot contain emojis."},"ADMIN_RANK_INVALID":{"code":400,"name":"ADMIN_RANK_INVALID","description":"The specified admin rank is invalid."},"ADMINS_TOO_MUCH":{"code":400,"name":"ADMINS_TOO_MUCH","description":"There are too many admins."},"ALBUM_PHOTOS_TOO_MANY":{"code":400,"name":"ALBUM_PHOTOS_TOO_MANY","description":"Too many photos were included in the album"},"API_ID_INVALID":{"code":400,"name":"API_ID_INVALID","description":"API ID invalid."},"API_ID_PUBLISHED_FLOOD":{"code":400,"name":"API_ID_PUBLISHED_FLOOD","description":"This API id was published somewhere, you can't use it now."},"ARTICLE_TITLE_EMPTY":{"code":400,"name":"ARTICLE_TITLE_EMPTY","description":"The title of the article is empty."},"AUDIO_CONTENT_URL_EMPTY":{"code":400,"name":"AUDIO_CONTENT_URL_EMPTY","description":"The remote URL specified in the content field is empty."},"AUDIO_TITLE_EMPTY":{"code":400,"name":"AUDIO_TITLE_EMPTY","description":"An empty audio title was provided."},"AUTH_BYTES_INVALID":{"code":400,"name":"AUTH_BYTES_INVALID","description":"The provided authorization is invalid."},"AUTH_TOKEN_ALREADY_ACCEPTED":{"code":400,"name":"AUTH_TOKEN_ALREADY_ACCEPTED","description":"The specified auth token was already accepted."},"AUTH_TOKEN_EXPIRED":{"code":400,"name":"AUTH_TOKEN_EXPIRED","description":"The authorization token has expired."},"AUTH_TOKEN_INVALID":{"code":400,"name":"AUTH_TOKEN_INVALID","description":"The specified auth token is invalid."},"AUTH_TOKEN_INVALIDX":{"code":400,"name":"AUTH_TOKEN_INVALIDX","description":"The specified auth token is invalid."},"AUTOARCHIVE_NOT_AVAILABLE":{"code":400,"name":"AUTOARCHIVE_NOT_AVAILABLE","description":"The autoarchive setting is not available at this time: please check the value of the [autoarchive_setting_available field in client config »](https://core.telegram.org/api/config#client-configuration) before calling this method."},"BANK_CARD_NUMBER_INVALID":{"code":400,"name":"BANK_CARD_NUMBER_INVALID","description":"The specified card number is invalid."},"BANNED_RIGHTS_INVALID":{"code":400