Updated on 2022-02-21 GMT+08:00

Error Code

If an error occurs during API calling, no result will be returned. You can locate the cause based on the error code of each API. If an error occurs during API calling, HTTP status code 4xx or 5xx is returned. The response body contains the specific error code and information. If you fail to locate the cause of an error, contact customer service and provide the error code for fast troubleshooting.

Format of an Error Response Body

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

{ 
    "errorCode": "SVCSTG_AMS_4000001", 
    "errorMessage": "Request param invalid" 
}

In the preceding information, errorCode is an error code, and errorMessage describes the error.

Error Code Description

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

Table 1 Error codes

Status Code

Error Code

Message

Description

Solution

200

SVCSTG.ATPS.2000

null

-

-

200

SVCSTG.ATS.2000

null

-

-

400

SVCSTG.ATS.400101

projectId in url is invalid.

Invalid projectId in the URL.

Check whether the parameter meets requirements.

400

SVCSTG.ATS.200103

query trace result is empty.

The trace query result is empty.

Check whether the parameter meets requirements.