Error Codes

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.

Error Code Description

Status Code

Error Code

Error Message

Description

Solution

400

DSS.0001

invalid project id!

Incorrect tenant ID in the URI.

Use the correct project ID.

400

DSS.0002

invalid token!

Header parameters in the HTTP request are incorrect.

Use the correct token.

400

DSS.0003

invalid token roles!

The token used is incorrect.

Check whether the token has the desired role. If not, add the role for the token.

400

DSS.1001

invalid dss id!

Invalid storage pool ID.

Modify the storage pool ID format.

400

DSS.1002

invalid dss name!

Parameter name in the URL for querying the storage pool details is incorrect.

Modify the storage pool name format.

400

DSS.1003

invalid filter limit!

Parameter limit in the URL for querying the storage pool details is incorrect.

Enter a value larger than 0 for parameter limit.

400

DSS.1004

invalid filter offset!

Parameter offset in the URL for querying the storage pool details is incorrect.

Check whether the offset parameter in the request is correct.

400

DSS.1005

invalid filter usage!

Parameter usage in the URL for querying the storage pool details is incorrect.

Check whether the usage parameter in the request is correct.

400

DSS.1006

api roles is null or empty!

User permission error.

Add the required user permission.

400

DSS.1007

User role is not allowed for this action!

You have no permission to the operation.

Add the required user permission.

400

DSS.1008

Type conversion error , parameter type is unexpected

Type conversion error. The parameter type is unexpected.

Check whether the input parameters are correct.

400

DSS.1009

url encoding failed!

Type conversion error.

Check whether the input parameters are correct.

400

DSS.5400

Malformed request body

Incorrect request body parameter and format.

Check whether the parameters and format of the request body are correct.

400

DSS.5400

Malformed request url.

Incorrect request URL parameter and format.

Check whether the parameters and format of the request URL are correct.

401

DSS.5401

Authentication required.

This operation is unauthorized.

Call the API after authorization.

403

DSS.5403

Policy check failed.

Insufficient permissions.

Add the permission and try again.

403

DSS.5403

metadata can not be operated.

No operation permissions.

Modifying parameter metadata is forbidden.

404

DSS.5404

Resource(Volume, Snapshot, Backup .etc) cound not be found.

Resources, such as the disk, snapshot, and backup, do not exist.

Check whether the resources are available.

413

DSS.5413

Insufficient volume quota.

Insufficient disk quotas.

Check whether the disk capacity and quantity quotas are sufficient.

500

DSS.1010

internal error!

The service is unavailable.

Contact technical support.

500

DSS.5500

Internal server error.

Internal server error.

Try again later or contact customer service.

503

DSS.5503

Service unavailable.

Service unavailable.

Try again later or contact customer service.

Common Error Codes

Status Code

Description

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

405

Method Not Allowed

406

Not Acceptable

407

Proxy Authentication Required

408

Request Timeout

409

Conflict

413

overLimit

415

badMediaType

500

Internal Server Error

501

Not Implemented

502

Bad Gateway

503

Service Unavailable

504

Gateway Timeout