Error Codes

If an error occurs in API calling, no result is returned. Identify the cause based on the error code of each API. If an error occurs in 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 HUAWEI CLOUD customer service and provide the error code, so that we can help you solve the problem as soon as possible.

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.

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

Status Code

Error Code

Error Message

Description

Troubleshooting

400

SVCSTG.CCE-ADDONMGR.4000003

Request Body Error

The request body is incorrect.

For details, see the returned error message or contact technical support.

400

SVCSTG.CCE-ADDONMGR.4030301

Addon version can't be delete because of used by cluster

The add-on version cannot be deleted because it is being used by a cluster.

For details, see the returned error message or contact technical support.

400

SVCSTG.CCE-ADDONMGR.4030302

The cluster can't support the addon

The cluster does not support this add-on.

For details, see the returned error message or contact technical support.

400

SVCSTG.CCE-ADDONMGR.4040204

Addon not exist

The add-on does not exist.

For details, see the returned error message or contact technical support.

500

SVCSTG.CCE-ADDONMGR.5000001

Get UserInfo Error

Failed to obtain the user information

For details, see the returned error message or contact technical support.

500

SVCSTG.CCE-ADDONMGR.5000002

Get Addon Instance Error

Failed to obtain the add-on instance.

For details, see the returned error message or contact technical support.

500

SVCSTG.CCE-ADDONMGR.5000006

Convert response error

A conversion response error occurs.

For details, see the returned error message or contact technical support.

500

SVCSTG.CCE-ADDONMGR.5000007

Convert object to []byte error

An error occurred when converting an object to a slice of bytes.

For details, see the returned error message or contact technical support.

500

SVCSTG.CCE-ADDONMGR.5000201

Upload File Error

Failed to upload the file.

For details, see the returned error message or contact technical support.

500

SVCSTG.CCE-ADDONMGR.5000203

Delete Remote File Error

An error occurred when deleting the remote file.

For details, see the returned error message or contact technical support.