# API responses and error handling

Distinguish HTTP status, numeric transaction code, request ID, and asynchronous acceptance results, and find error details by function.

Open API use at account level [API tokens](/en/developers/authentication/api-token) or the interface explicitly states the authentication method. Read responses by looking at HTTP status first and then at the digital transaction in JSON `code` and `message`; `requestId` Used for debugging purposes and not equivalent to operational equivalence numbers.

## Success and asynchronous acceptance

Static API Success Response Included `code: 200`, `message`, `requestId` and `data`. Purchase, renewal HTTP `200` It only indicates that the task has been accepted and requires a query for the final status of the order or operation. Encrypted HTTP `200` The results still need to be examined item by item. See the return format for dynamic IP extracts.[Extract return format](/en/developers/api/response-formats).

## Error handling

Parameter or authentication issues should be corrected first. Reading failures are limited in avoidance. When writing results are uncertain, the original clientOrderNo or clientOperationNo query is used, and the number cannot be changed blindly to duplicate the transaction. All error codes, HTTP status, error response fields and recovery methods are in one place.[Error Codes and Recommendations](/en/developers/errors/error-codes). Dynamic successes with each interface returned in the form of a success response for the corresponding interface.
