Updated on 2025-02-25 GMT+08:00

Error Codes

If an error occurs when calling an API, the HTTP request will return an HTTP status code of 4xx or 5xx. The response body contains the specific error code and information. If you fail to locate the cause of the error, contact technical support and provide the error code for troubleshooting.

Format of an Error Response Body

If an error occurs during API calling, the system returns an error code and a message to you. The following shows the format of an error response body:

{
    "error_msg": "xxx",
    "error_code": "DataArtsInsight.20010003"
}

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

Table 1 Exceptions

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error details.

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 Error Codes.

Table 2 Error codes

Status Code

Error Code

Error Message

-

20010003

There is an issue with IAM permissions.

404

24010003

Resource not found.

400

24010043

The current resource lacks collaborative permissions.

400

24150000

Invalid workspace name. The name can contain a maximum of 32 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.

400

24150001

The workspace name is already taken. Please choose a different name.

400

24150002

The default workspace cannot be deleted.

400

24150003

Operation failed. The maximum number of workspaces has been reached.

400

24150004

Operation failed. Check whether the workspace status is normal.

400

24150005

The workspace does not exist.

400

24150010

The workspace requires members. Please choose members to add.

400

24150011

At least one role must be retained for workspace members.

400

24150012

The creator of the workspace cannot be deleted.

400

24150020

Please select a user group. It cannot be left empty.

400

24150021

The memory storage capacity of the workspace is abnormal.

400

24150022

There are only [{0}] bytes of unused capacity, which is not enough to release [{1}] bytes.