بوابة المطوّرين
النمط

Error Code#

When a request is sent to the server, it will respond to the user's request with HTTP status codes and error codes. Please refer to the table below for more information on the different error codes and messages returned when API calls fail.

Response Example#

General#

Error MessageHTTP Status CodeError Code
Succeeded.2000
Body can not be empty.40050000
Service temporarily unavailable, please try again later.50350001
Json data format error.40050002
Endpoint request timeout (does not mean that the request was successful or failed, please check the request result).40050004
API is offline or unavailable.41050005
Invalid Content_Type, please use "application/json" format.40050006
Account blocked.20050007
User does not exist.20050008
Account is suspended due to ongoing liquidation.20050009
User ID can not be empty.20050010
Requests too frequent.42950011
Account status invalid.20050012
System is busy, please try again later.20050013
Parameter {0} can not be empty.40050014
Either parameter {0} or {1} is required.40050015
Parameter {0} does not match parameter {1}.40050016
Parameter {0} and {1} can not exist at the same time.20050024
Parameter {0} count exceeds the limit {1}.20050025
System error.50050026
No permission to use this API. You need to upgrade your account's payment level.40350030
Parameter %s error.40050036
Token does not exist.20050037
This chain does not currently support.20050038
This alert has no history of processing.20050039
No data is displayed for this block height.20050040
The historical balance of this token is not currently supported.20050041
This token protocol type does not support scanning.20050042
Your account behavior triggered risk control, and the API function has been frozen.20050043
Data already exists.40050044
Client operation error.40050045
According to regulations, the X Layer API service is not available in your country or region.40050047

Authentication#

Error MessageHTTP Status CodeError Code
API frozen, please contact customer service.40050100
Timestamp request expired.40150102
Request header "OK_ACCESS_KEY" can not be empty.40150103
Request header "OK_ACCESS_PASSPHRASE" can not be empty.40150104
Request header "OK_ACCESS_PASSPHRASE" incorrect.40150105
Request header "OK_ACCESS_SIGN" can not be empty.40150106
Request header "OK_ACCESS_TIMESTAMP" can not be empty.40150107
Exchange ID does not exist.40150108
Exchange domain does not exist.40150109
Invalid IP.40150110
Invalid OK_ACCESS_KEY.40150111
Invalid OK_ACCESS_TIMESTAMP.40150112
Invalid signature.40150113
Invalid authorization.40150114
Invalid request method.40550115
Exceeds the range of historical data queries.40050117

Business#

Error MessageHTTP Status CodeError Code
Parameter {0} error.40451000
The outputAddress you filled in was not found in this transaction.20051001
The outputAddress specified by this index does not exist in this transaction.20051002
Detail information with this transaction hash has not been found on the blockchain network, and risk status is pending for this transaction.20051003