Common error codes and definitions one, authorization/Token request Interface return code
Describes the return code of an open platform when the application initiates an authorization request or token request.
Error code
Error description
Error Description
10000
Illegal request parameters
Invalid Request
10001
User authentication failed
Invalid Client
10002
Illegal authorization information
Invalid Grant
10003
The application is not authorized to use the specified Grant_type
Unauthorized client
10004
Grant_type field exceeds defined range
Unsupported Grant_type
10005
Scope information is invalid or out of scope
Invalid Scope
10006
The supplied update token has expired
Expired token
10007
Redirect_uri field does not match when registering application
Redirect_uri mismatch
10008
Response_type parameter value exceeds defined range
Unsupported response type
10009
User or authorized server denies data access permissions
Access denied second, API Universal return code
Describe the generic return code for API interfaces, API custom interface return codes, refer to the corresponding API interface document description.
Error code
Error description
Error Description
0
Success
Success
1
Unknown error
Unknown Error
2
Service is temporarily unavailable
Service temporarily unavailable
3
The Unknown method
Unsupported Openapi method
4
The number of interface calls has reached the set limit
Open API Request Limit reached
5
Request from an unauthorized IP address
Unauthorized client IP Address
6
Access to this user data without permission
No permission to access user data
7
Requests from this refer do not have access rights
No permission to access data for this Referer
100
Invalid request parameter
Invalid parameter
101
Invalid API Key
Invalid API Key
104
Invalid signature
Incorrect signature
105
Too many request parameters
Too Many parameters
106
Unknown Signature method
Unsupported Signature Method
107
Invalid timestamp parameter
invalid/used Timestamp parameter
109
Invalid User data field name
Invalid User Info Field
110
Invalid access token
Access token invalid or no longer valid
111
Access token expired
Access Token expired
210
User not visible
User not visible
211
Get an unauthorized field
Unsupported permission
212
No access to user email
No permission to access user email
800
Unknown storage operation Error
Unknown data store API error
801
Invalid method of operation
Invalid operation
802
The data storage space has exceeded the set limit
Data Store allowable quota was exceeded
803
The specified object does not exist
Specified object cannot be found
804
The specified object already exists
Specified Object already exists
805
Database operation error, please try again
A database error occurred. Please try again
900
The Access application does not exist
No such application exists reprint: http://open.189.cn/index.php?m=content&c=index&a=lists&catid=31
Baidu Open API error codes define the errors code error Description (Chinese) Error Description (中文版) 0 Success Success 1 unknown error Unknown The fault 2 service is not Available Service temporarily unavailable 3 Unknown methods unsupported Openapi Method 4 interface calls have reached the set upper limit Open API request limit reached 5 requests From unauthorized IP address unauthorized client IP address:%s 6 No access to this user data no permission to access data 7 request No access from the refer no permission t o Access data for this referer 100 request parameter Invalid Invalid parameter API key invalid Invalid API Key 102 session key invalid session key in Valid or no longer valid call_id parameter invalid invalid/used call_id parameter 104 Invalid signature incorrect signature 105 request parameter too many Too p Arameters 106 Unknown Signature Methods Unsupported Signature method timestamp parameter Invalid invalid/used timestamp parameter 108 invalid User ID inval ID User ID 109 invalid user data field name Invalid user info field 110 Invalid access token access token Invalid or no longer valid Oken expired Access Token expired 112 session key expiration session key expired 114 invalid IP parameter Invalid IP 210 users not visible user not visible 211 get Unauthorized Fields Unsupported PermiSsion 212 does not have access to the user's email no permission to access user Email 800 unknown storage operation error Unknown data store API Error 801 Invalid operation method Invalid Operation 802 data storage space has exceeded the set upper bound of the date store allowable quota was exceeded 803 the specified object does not exist Specified objects cannot be found 804 specified Object already exists Specified object already exists 805 database operation error, please retry A db error occurred. Please try again 900 access does not exist no such application exists 950 bulk operation has started, call the End_batch interface before the end of a bulk operation Begin_batch already called, The interface calls for the End_batch first 951 end bulk operations should not be invoked before the Start_batch interface End_batch called before Start_batch 952 per batch Sure A volume call cannot contain more than 20 interfaces call each batch API can not contain more than items 953 This interface is not suitable for use in a batch call operation method is not allowed in batch Mo De