OAuth error codes
When the third-party application makes an invalid request, the following OAuth-related errors can occur:
HTTP code
Error code
Text representation
Description
400
1
version_rejectedThe
oauth_version parameter does not correspond to the "1.0" value.400
2
parameter_absentA required parameter is missing in the request. The name of the missing parameter is specified additionally in the response.
400
3
parameter_rejectedThe type of the parameter or its value do not meet the protocol requirements (for example, array is passed instead of the string).
400
4
timestamp_refusedThe timestamp value in the oauth_timestamp parameter is incorrect.
401
5
nonce_usedThe nonce-timestamp combination has already been used.
400
6
signature_method_rejectedThe signature method is not supported. The following methods are supported: HMAC-SHA256.
401
7
signature_invalidThe signature is invalid.
401
8
consumer_key_rejectedThe Consumer Key has incorrect length or does not exist.
401
9
token_usedAn attempt of authorization of an already authorized token or an attempt to exchange a not temporary token for a permanent one.
401
10
token_expiredThe temporary token has expired. At the moment, the mechanism of expiration of temporary tokens is not implemented and the current error is not used.
401
11
token_revokeThe token is revoked by the user who authorized it.
401
12
token_rejectedThe token is not valid, or does not exist, or is not valid for using in the current type of request.
401
13
verifier_invalidThe confirmation string does not correspond to the token.
403
14
permission_unknownThe consumer permission is unknown.
403
15
permission_deniedThe consumer does not authorized to access the resource.
405
16
method_not_allowedThe method is not supported or not allowed.
403
17
consumer_key_invalidThe Consumer Key is invalid.