• Data Warehouse Service

dws
  1. Help Center
  2. Data Warehouse Service
  3. API Reference
  4. Common Parameters
  5. Error Code

Error Code

No data is returned if an API fails to be called. You can locate the cause of error according to the error code of each API. When the calling fails, HTTP status code 4xx or 5xx is returned. The returned message body contains the specific error code and error information. If you fail to locate the cause of error, contact the customer service personnel and technical support and provide the error code so that we can help you solve the problem as soon as possible.

Table 1 Error code

Error Code

Status Code

Description

Solution

DWS.0001

400

Incorrect parameter!

Enter the correct parameter according to the corresponding parameter description and retry.

DWS.0005

500

Server failure.

Contact the customer service personnel or retry later.

DWS.0006

400

The request is empty. Enter a request parameter.

Enter the request parameter and retry.

DWS.0011

409

This operation cannot be performed because another operation is being performed on the instance or the instance is faulty. Please try again later.

Contact the customer service personnel or retry later.

DWS.0015

403

Resource not found or permission denied.

Verify the access resources and the access rights and retry.

DWS.0020

403

Restricted account.

Contact the customer service personnel.

DWS.0021

403

Frozen account.

Contact the customer service personnel.

DWS.0022

404

The instance does not exist or has been deleted.

Enter a correct instance and retry.

DWS.0030

400

The number of snapshots reaches the quota!

Contact the customer service personnel.

DWS.0031

400

The object already exists!

Enter a correct object and retry.

DWS.0032

403

You are not authorized to perform the operation. Check the account permission on the IAM.

Check the account permission through the IAM.

DWS.0047

404

The cluster does not exist or has been deleted.

Verify the cluster and cluster status and retry.

DWS.0048

400

The cluster does not support the operation.

Verify the cluster and cluster status and retry.

DWS.1112

400

The number of instances reaches the quota.

Contact the customer service personnel.

DWS.2026

400

This is a weak password. Enter a strong password!

Enter a valid password according to the password description.

DWS.2067

400

The input parameter is illegal!

Enter the correct parameter according to the corresponding parameter description and retry.

DWS.2073

400

A historical password cannot be used again.

Enter a password that is different from historical passwords.

DWS.3026

400

The backup file does not exist.

Ensure that the backup file is correct and retry.

DWS.3027

400

The cluster does not exist.

Ensure that the cluster is correct and retry.

DWS.3029

400

The backup file of a specific time point does not exist.

Ensure that the backup file is correct and retry.

DWS.3030

400

The volume size of the new instance should not be less than that of the original one.

Rectify the fault according to the prompted error message and retry.

DWS.5001

400

Invalid instance name.

Enter a valid instance name according to the instance name description and retry.

DWS.5002

400

Invalid database type.

Enter a valid database type according to the database parameter description and retry.

DWS.5003

400

Invalid database version.

Enter a valid database version according to the database parameter description and retry.

DWS.5004

400

Empty datastore field.

Enter the correct datastore according to the actual situation and retry.

DWS.5005

400

Database type or version not supported.

Enter a valid database type and version according to the database parameter description and retry.

DWS.5006

400

Invalid flavor.

Select the correct flavor and retry.

DWS.5013

400

Invalid password of database root.

Enter a valid password according to the password description.

DWS.5014

400

Invalid VPC ID.

Enter a valid ID according to the description of parameter vpc_id.

DWS.5015

400

Invalid subnet ID.

Enter a valid ID according to the description of parameter subnet_id.

DWS.5016

400

Invalid security group ID.

Enter a valid ID according to the description of the security group ID parameter.

DWS.5017

400

Invalid retention period of automatic backup.

Enter a proper retention period of automatic backup and retry.

DWS.5018

400

Invalid automatic backup period.

Enter a proper automatic backup period and retry.

DWS.5020

400

The time when automatic backup starts is invalid.

Enter a proper automatic backup start time and retry.

DWS.5021

404

The VPC does not exist or does not belong to the user.

Enter a correct VPC and retry.

DWS.5022

404

The subnet does not exist or does not belong to the VPC.

Enter a correct subnet and retry.

DWS.5023

404

The security group does not exist or does not belong to the VPC.

Enter a correct security group and retry.

DWS.5026

400

Invalid AZ.

Enter a correct AZ and retry.

DWS.5027

400

Invalid AZ.

Enter a correct AZ and retry.

DWS.5045

400

Current tenant is not allowed!

Contact the customer service personnel.

DWS.5047

400

Invalid instance quantity.

Enter the correct instance quantity.

DWS.5048

400

Invalid extended parameter.

Enter a valid extended parameter according to the corresponding description of the extended parameter.

DWS.5050

409

Cluster name already exists.

Enter the correct cluster name and retry.

DWS.5052

400

Invalid value of the AZ.

Enter a correct AZ and retry.

DWS.5053

400

The value of locality between instances is invalid.

Enter a correct locality value and retry.

DWS.5054

400

The parameter group ID is invalid.

Enter a correct parameter group ID and retry.

DWS.5055

400

The flavor ID is invalid.

Enter a correct flavor ref ID and retry.

DWS.5057

400

Cluster name pattern is invalid.

Enter a valid cluster name according to the cluster name description.

DWS.5059

400

Database username contains invalid characters.

Enter a valid database username according to the database username description.

DWS.5060

400

Integer field is of wrong range.

Enter a valid Integer type and retry.

DWS.5061

400

Volume type is illegal.

Enter a valid volume type and retry.

DWS.5062

400

Volume tag is illegal.

Enter a valid Volume tag and retry.

DWS.5063

400

Invalid Specific field.

Enter a correct Specific value and retry.

DWS.5068

400

Invalid disk parameters.

Enter correct disk parameters and retry.

DWS.5070

400

Flavor ref is invalid in xml.

Enter correct flavor ref and retry.

DWS.5071

400

Volume type is invalid in xml.

Enter a correct disk type and retry.

DWS.5079

400

The backup period is not permitted.

Enter a proper backup period and retry.

DWS.5080

400

The backup retention period is not permitted.

Enter a proper backup retention duration and retry.

DWS.5082

400

Database user is not supported.

Enter a valid database username according to the database username description.

DWS.5083

400

Locality is not permitted in xml.

Contact the customer service personnel.

DWS.5084

400

Incorrect Volume configuration in the XML file.

Enter a correct Volume value and retry.

DWS.5085

400

Locality is not globally consistent.

Contact the customer service personnel.

DWS.5086

400

The same instance type does not meet flavor consistency requirements.

Enter the correct flavor and retry.

DWS.5087

400

The same instance type does not meet disk consistency requirements.

Enter a correct disk and retry.

DWS.5093

400

Flavor info is invalid.

Enter valid flavor info and retry.

DWS.5096

400

Invalid disk quantity.

Enter valid disk quantity and retry.

DWS.5097

400

Region or AZ does not exist.

Enter a correct region or AZ and retry.

DWS.5098

400

Invalid EIP binding type.

Enter a correct EIP binding type and retry.

DWS.5100

400

Configuration file cannot be parsed.

Contact the customer service personnel.

DWS.5106

400

Invalid instance type!

Enter a valid instance type and retry.

DWS.5107

400

Invalid cluster mode!

Enter a valid disk mode and retry.

DWS.5110

400

Parameter groups of instances are inconsistent!

Enter a correct parameter group and retry.

DWS.5111

400

The backup file ID does not exist.

Enter a correct backup file ID and retry.

DWS.5144

400

Invalid password of the cluster administrator.

Enter a valid cluster administrator password according to the description of the cluster administrator's password.

DWS.5145

400

The administrator password cannot contain the username or the reverse username.

Enter a valid administrator password as prompted and retry.

DWS.5149

400

Invalid snapshot ID.

Enter a valid snapshot ID according to the snapshot ID description.

DWS.5191

400

The tag does not exist.

Enter the correct tag and retry.

DWS.5194

400

The number of tags exceeds the maximum value.

Verify the number of tags for the resource and retry.

DWS.5197

400

The tag is invalid.

Enter the correct tag and retry.

DWS.5200

400

The flavor has been sold out. Switch to another AZ or region.

Create a cluster of another flavor or switch to another AZ or region.

DWS.6000

400

Cluster creation fails.

Check the account's remaining quota. If it is greater than the resources applied by the user, contact customer service personnel.

DWS.6001

400

Cluster scale-out fails.

Check the account's remaining quota of nodes. If it is greater than the number of nodes to be added, contact the customer service personnel.

DWS.6002

400

Cluster restart fails.

Contact the customer service personnel or retry later.

DWS.6003

400

Cluster restoration fails.

Check the account's remaining quota. If it is greater than the applied quota, contact the customer service personnel.

DWS.9999

500

Request processing failed.

Contact the customer service personnel or retry later.