Updated on 2024-03-15 GMT+08:00

Error Codes

Since no result data is returned in the case of an API call error, you can identify the error cause based on the error codes of each API.

If HTTP status code 400 or 505 is returned after an API call error, you can find the specific error code and description in the response body.

If you are unable to identify the cause of an error, contact customer service and provide the error code for quick troubleshooting.

Format of an Error Response Body

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

{
    "error_msg": "The format of message is error",
    "error_code": "AS.0001"
}

In the preceding information, error_code is 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 the instructions provided in API Gateway Error Codes.

Table 1 Error codes

Status Code

Error Code

Error Message

Description

Solution

200

CC.00050000

parameters not valid

Invalid parameters.

Check the parameter formats.

200

CC.00050001

query task list error

Querying the task list throws an error.

Contact customer service.

200

CC.00050002

query task detail error

Querying task details throws an error.

Contact customer service.

200

CC.00050003

query templates error

Viewing the task configuration template throws an error.

Contact customer service.

200

CC.00050004

query task history error

Querying the task history throws an error.

Contact customer service.

200

CC.00050005

create task error

Creating a task throws an error.

Contact customer service.

200

CC.00050006

service inner error

Internal service error.

Contact customer service.

200

CC.00050007

IAM authentication failed

IAM authentication failed.

Check whether the authentication token is valid.

200

CC.00050010

current user does not have permission

Insufficient permission.

Check the permission.

200

CC.00050011

not in any project

The current user is not a member of any project of the tenant.

Join the project.

200

CC.00050012

retry later

The network is busy.

Try again later or contact customer service.

200

CC.00050013

project not exist

The project does not exist or has been deleted.

Modify project-related parameters.

200

CC.00050014

call getTaskBasicInfo failed

Failed to call the getTaskBasicInfo API.

Try again later or contact customer service.

200

CC.00050015

task is running

The task is being executed. Try again later.

Try again later.

200

CC.00050016

create task failed

An error occurred when creating a task. Creation failed.

Check related parameters or contact customer service.

200

CC.00050017

call updateIssueStatus failed

Ignore the warning in the latest scanning result.

Ignore the warning in the latest scanning result.

200

CC.00050019

operations that are not supported by domain of the earlier version

Operation not supported by tenants using earlier versions

Operation not supported by tenants using earlier versions

200

CC.00050020

The current task has not been checked or has been checked successfully. Please check or try again after the check is successful

The current task has not been checked or checked successfully. Check or try again after the check is successful.

Check or try again after the check is successful.