Skip to content

Open Platform API Status Code Reference

Document Overview

This document defines the status code conventions returned by Open Platform API endpoints. It clarifies call outcomes, error types, and causes so developers can troubleshoot quickly. All API endpoints follow these status code rules in their responses.

Status Code Ranges

Code rangeCategory
200Success (request completed normally)
1xxxxGeneral errors (uncategorized exceptions)
2xxxxAuthentication and authorization errors
4xxxxRequest and parameter validation errors
5xxxxEndpoint-related errors
6xxxxRate limiting errors
7xxxxBusiness logic errors

Status Code Details

1. Success

CodeEnumDescription
200SUCCESSRequest succeeded

2. General errors (1xxxx)

CodeEnumDescription
10000UNKNOWN_ERRORUnknown error; contact technical support

3. Authentication and authorization errors (2xxxx)

CodeEnumDescription
20001API_KEY_MISSINGAPI key missing (no API Key parameter in the request)
20002API_KEY_INVALIDInvalid API key (disabled, expired, or not approved)
20010TIMESTAMP_MISSINGTimestamp parameter missing (no timestamp in the request)
20011TIMESTAMP_FORMAT_ERRORInvalid timestamp format (must be 10 or 13 digits)
20012TIMESTAMP_EXPIREDTimestamp expired (request timed out; generate a new timestamp and retry)
20020SIGNATURE_MISSINGSignature parameter missing (no signature in the request)
20021SIGNATURE_VERIFY_FAILEDSignature verification failed (incorrect signing rule or tampered parameters)

4. Request and parameter validation errors (4xxxx)

CodeEnumDescription
400INVALID_REQUESTRequest body could not be parsed (verify that parameters are sent as documented)
404NOT_FOUNDEndpoint path does not exist (verify the request path)
405REQUEST_METHOD_NOT_ALLOWEDHTTP method not allowed (verify the method against the documentation)
40001REQUIRED_PARAMS_EMPTYRequired parameters missing (a required field was not submitted)
40002REQUIRED_PARAMS_ILLEGALInvalid parameters (format or value out of allowed range)
CodeEnumDescription
50001INTERFACE_NOT_FOUNDAPI endpoint does not exist (incorrect request path)

6. Rate limiting errors (6xxxx)

CodeEnumDescription
60001INTERFACE_RATE_LIMITCall rate exceeded; try again later

7. Business logic errors (7xxxx)

CodeEnumDescription
70001NOT_ENOUGH_CREDITInsufficient account balance; please top up