Updated on 2026-06-25 GMT+08:00

Error Codes

If an API fails to be called, no service data will be returned. You can identify the cause based on the error code of each API. If an error occurs in API calling, HTTP status code 4xx or 5xx will be returned. The response body contains the specific error code and information. If you are unable to identify the cause of an error, contact customer service and provide the error code so that we can help you solve the problem as soon as possible.

Error Response Body Format

If an error occurs during API calling, an error code and a message will be displayed. The following shows an error response body.

{
    "errorMsg": Modify the request body based on the returned message and the ASM API documentation, or contact technical support.
    "errorCode": "ASM.01400001"
}

In the preceding information, error_code indicates an error code, and error_msg describes the error.

Error Code Description

If an error code starting with APIGW is returned after you call an API, rectify the fault by referring to Error Codes.

Table 1 Error codes

Status Code

Error Code

Error Message

Description

Troubleshooting

400

ASM.01010001

Invalid request.

The request body is invalid.

Modify the request body based on the returned message and the ASM API documentation, or contact technical support.

401

ASM.01000001

Authenticate error.

The authentication failed.

See the returned message or contact technical support.

403

ASM.01000002

Forbidden.

The access is denied.

See the returned message or contact technical support.

404

ASM.01010002

Resource not found.

The resource is not found.

Check whether the resource to be accessed has been deleted.

409

ASM.01010003

The resource already exists.

The resource already exists.

Delete the resource and try again.

500

ASM.01040001

Internal error.

An internal error occurred.

See the returned message or contact technical support.