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 database customer service 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

Status Code

Error Code

Error Information

Description

Solution

400

DWS.5001

Invalid instance name.

Invalid instance name.

Enter a valid instance name according to the instance name description and try again later.

400

DWS.5002

Invalid database type.

Invalid database type.

Enter a valid database type according to the database parameter description and try again later.

400

DWS.5003

Invalid database version.

Invalid database version.

Enter a valid database version according to the database parameter description and try again later.

400

DWS.5004

Empty datastore field.

Empty datastore field.

Enter the correct datastore according to the actual situation and try again later.

400

DWS.5005

Database type or version not supported.

Database type or version not supported.

Enter a valid database type and version according to the database parameter description and try again later.

400

DWS.5006

Invalid specifications.

Invalid specifications.

Select the correct flavor and try again later.

400

DWS.5010

Invalid region.

Invalid region.

Select a valid region and try again.

400

DWS.5011

Invalid AZ.

Invalid AZ.

Select a valid AZ and try again.

400

DWS.5012

The region or AZ does not exist.

The region or AZ does not exist.

Enter a correct region or AZ and try again later.

400

DWS.5013

Invalid password of database root.

Invalid password of database root.

Enter a valid password according to the password description.

400

DWS.5014

Invalid VPC ID.

Invalid VPC ID.

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

400

DWS.5015

Invalid subnet ID.

Invalid subnet ID.

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

400

DWS.5016

Invalid security group ID.

Invalid security group ID.

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

400

DWS.5017

Invalid retention period of automated backups.

Invalid retention period of automated backups.

Enter a proper retention period and try again later.

400

DWS.5018

Invalid automated backup period.

Invalid automated backup period.

Enter a proper automated backup period and try again later.

404

DWS.5021

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

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

Enter a correct VPC and try again later.

404

DWS.5022

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

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

Enter a correct subnet and try again later.

404

DWS.5023

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

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

Enter a correct security group and try again later.

400

DWS.5027

Invalid AZ.

Invalid AZ.

Enter a correct AZ and try again later.

400

DWS.5033

The volume size is not a multiple of 10.

The volume size is not a multiple of 10.

Enter a valid size and try again.

400

DWS.5034

Flavors do not match.

Flavors do not match.

Select a correct flavor and try again.

403

DWS.5036

Datastore does not exist or does not have sufficient permissions.

Datastore does not exist or does not have sufficient permissions.

Enter a correct Datastore and try again.

400

DWS.5037

The parameter does not exist.

The parameter does not exist.

Enter the correct parameter group and try again.

400

DWS.5038

The parameter value is out of range.

The parameter value is out of range.

Enter a valid parameter and try again.

400

DWS.5039

Duplicate parameters.

Duplicate parameters.

Enter a valid parameter and try again.

400

DWS.5045

The current tenant is not allowed to perform this operation.

The current tenant is not allowed to perform this operation.

Ensure that the current tenant is the same as the tenant to which the cluster belongs and try again.

400

DWS.5046

nics is left black.

nics is left black.

Enter a correct nics and try again.

400

DWS.5047

Invalid instance quantity.

Invalid instance quantity.

Enter a correct instance quantity.

400

DWS.5048

Invalid extended parameter.

Invalid extended parameter.

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

409

DWS.5050

The cluster name already exists.

The cluster name already exists.

Enter a correct cluster name and try again later.

400

DWS.5051

Invalid IP address.

Invalid IP address.

Enter a valid IP address and try again.

400

DWS.5052

Invalid value of the AZ.

Invalid value of the AZ.

Enter a correct AZ and try again later.

400

DWS.5053

The value of locality between instances is invalid.

The value of locality between instances is invalid.

Enter a correct locality value and try again later.

400

DWS.5054

The parameter group ID is invalid.

The parameter group ID is invalid.

Enter a correct parameter group ID and try again later.

400

DWS.5056

Invalid string length.

Invalid string length.

Enter a valid string and try again.

400

DWS.5057

The cluster name pattern is invalid.

The cluster name pattern is invalid.

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

400

DWS.5059

Database username contains invalid characters.

Database username contains invalid characters.

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

400

DWS.5060

Integer type is of wrong range.

Integer type is of wrong range.

Enter a valid Integer type and try again later.

400

DWS.5061

The volume type is illegal.

The volume type is illegal.

Enter a valid volume type and try again later.

400

DWS.5062

The volume tag is illegal.

The volume tag is illegal.

Enter a valid volume tag and try again later.

400

DWS.5063

Invalid Specific field.

Invalid Specific field.

Enter a correct Specific value and try again later.

400

DWS.5064

Invalid UUID.

Invalid UUID.

Enter a valid UUID and try again.

400

DWS.5065

Invalid format.

Invalid format.

Use a valid format and try again.

400

DWS.5070

Flavor ref is invalid in xml.

Flavor ref is invalid in xml.

Enter correct flavor ref and try again later.

400

DWS.5071

The volume type is invalid in XML.

The volume type is invalid in XML.

Enter a correct disk type and try again later.

400

DWS.5078

Invalid disk size.

Invalid disk size.

Enter a valid disk size and try again later.

400

DWS.5079

The backup period is not permitted.

The backup period is not permitted.

Enter a proper backup period and try again later.

400

DWS.5080

The backup retention period is not permitted.

The backup retention period is not permitted.

Enter a proper backup retention duration and try again later.

400

DWS.5081

The instance disk type is not allowed.

The instance disk type is not allowed.

Select a valid instance type and try again.

400

DWS.5082

The database user name is not supported.

The database user name is not supported.

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

400

DWS.5083

Invalid affinity in the XML configuration.

Invalid affinity in the XML configuration.

Enter a valid affinity value and try again.

400

DWS.5084

Incorrect volume configuration in the XML file.

Incorrect volume configuration in the XML file.

Enter a correct volume value and try again later.

400

DWS.5086

The same instance type does not meet flavor consistency requirements.

The same instance type does not meet flavor consistency requirements.

Enter the correct flavor and try again later.

400

DWS.5087

The same instance type does not meet disk consistency requirements.

The same instance type does not meet disk consistency requirements.

Enter a correct disk and try again later.

400

DWS.5089

Unsupported type.

Unsupported type.

Enter a supported type and try again.

400

DWS.5091

The number of nodes has reached the maximum.

The number of nodes has reached the maximum.

Enter a valid node quantity and try again.

400

DWS.5093

Flavor information is invalid.

Flavor information is invalid.

Enter valid flavor information and try again later.

400

DWS.5095

The current instance type does not support this operation.

The current instance type does not support this operation.

Select a correct instance type and try again.

400

DWS.5096

Invalid disk quantity.

Invalid disk quantity.

Enter valid disk quantity and try again later.

400

DWS.5097

Region or AZ does not exist.

Region or AZ does not exist.

Enter a correct region or AZ and try again later.

400

DWS.5098

Invalid EIP binding type.

Invalid EIP binding type.

Enter a correct EIP binding type and try again later.

400

DWS.5104

The subnet of an instance must be unique.

The subnet of an instance must be unique.

Ensure that the subnet of the instance is unique and try again.

400

DWS.5106

Invalid instance type.

Invalid instance type.

Enter a valid instance type and try again later.

400

DWS.5107

Invalid cluster mode.

Invalid cluster mode.

Enter a valid disk mode and try again later.

400

DWS.5111

The backup file ID does not exist.

The backup file ID does not exist.

Enter a correct backup file ID and try again later.

400

DWS.5130

Invalid agency name.

Invalid agency name.

Enter a valid agency name and then try again.

400

DWS.5133

Invalid EIP ID.

Invalid EIP ID.

Enter a valid EIP ID and try again.

400

DWS.5135

The EIP does not exist.

The EIP does not exist.

Enter a valid EIP and try again.

400

DWS.5144

Invalid password of the cluster administrator.

Invalid password of the cluster administrator.

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

400

DWS.5145

The cluster administrator password cannot contain the username, or the username spelled backwards.

The cluster administrator password cannot contain the username, or the username spelled backwards.

Enter a valid cluster administrator password as prompted and try again later.

400

DWS.5146

The ECS group parameter is missing.

The ECS group parameters is missing.

Enter a valid parameter and try again.

400

DWS.5147

Invalid ECS group parameter.

Invalid ECS group parameter.

Enter a valid parameter and try again.

400

DWS.5148

The number of ECS groups has reached the upper limit.

The number of ECS groups has reached the upper limit.

Enter a valid ECS group quantity and try again.

400

DWS.5149

The snapshot ID is invalid.

The snapshot ID is invalid.

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

400

DWS.5165

Invalid null content in the data file.

Invalid null content in the data file.

Enter the correct control content and try again later.

400

DWS.5166

Invalid noescaping parameter in text format

Invalid noescaping parameter in text format

Enter the correct noescaping parameter and try again later.

400

DWS.5167

Invalid header parameter in the data file. The supported values are true/on and false/off.

Invalid header parameter in the data file. The supported values are true/on and false/off.

Enter the correct header parameter and try again later.

400

DWS.5168

Invalid fill_missing_fields parameter in the data file. The supported values are true/on and false/off.

Invalid fill_missing_fields parameter in the data file. The supported values are true/on and false/off.

Enter the correct fill_missing_fields parameter and try again later.

400

DWS.5169

Invalid ignore_extra_data parameter in the data file. The supported values are true/on and false/off.

Invalid ignore_extra_data parameter in the data file. The supported values are true/on and false/off.

Enter the correct ignore_extra_data parameter and try again later.

400

DWS.5170

Invalid number of incorrect data formats during data import.

Invalid number of incorrect data formats during data import.

Enter the correct number of incorrect data formats and try again later.

400

DWS.5171

Invalid username or password for logging in to the database.

Invalid username or password for logging in to the database.

Enter the correct username or password and try again later.

400

DWS.5172

The database does not exist.

The database does not exist.

Enter the correct database name and try again later.

400

DWS.5173

The schema where the database table resides does not exist.

The schema where the database table resides does not exist.

Enter a correct schema and try again later.

400

DWS.5174

The database table does not exist.

The database table does not exist.

Enter the correct database table and try again later.

400

DWS.5175

The database username cannot be blank.

The database username cannot be blank.

Enter the username and try again later.

400

DWS.5176

The password corresponding to the database username cannot be blank.

The password corresponding to the database username cannot be blank.

Enter the password and try again later.

400

DWS.5177

Name of the database where the table to which data is loaded is located cannot be blank.

Name of the database where the table to which data is loaded is located cannot be blank.

Enter the database name and try again later.

400

DWS.5178

Schema where the table to which data is loaded is located cannot be blank.

Schema where the table to which data is loaded is located cannot be blank.

Enter the schema and try again later.

400

DWS.5179

Database table to which data is loaded cannot be blank.

Database table to which data is loaded cannot be blank.

Enter the database table and try again later.

400

DWS.5180

Invalid path for OBS file loading.

Invalid path for OBS file loading.

Enter a correct OBS loading path and try again later.

400

DWS.5181

Failed to load data. The error information is #failedReason#.

Failed to load data. The error information is #failedReason#.

Rectify the fault according to the error information and try again later.

400

DWS.5182

The current job is stopped.

The current job is stopped.

Select a loading job and cancel it.

400

DWS.5183

The current job has been canceled.

The current job has been canceled.

Select a loading job and cancel it.

400

DWS.5184

Invalid format of the data source file. The supported file formats are CSV and TEXT.

Invalid format of the data source file. The supported file formats are CSV and TEXT.

Enter a correct data source file format and try again later. The supported file formats are CSV and TEXT.

400

DWS.5185

Invalid encoding format of the data file. The supported file formats are GBK, UTF8, Latin1, and SQL_ASCII.

Invalid encoding format of the data file. The supported file formats are GBK, UTF8, Latin1, and SQL_ASCII.

Enter a correct encoding format and try again later. The supported file formats are GBK, UTF8, Latin1, and SQL_ASCII.

400

DWS.5186

Invalid field delimiter of row data in a data source file.

Invalid field delimiter of row data in a data source file.

Enter a correct field delimiter and try again later.

400

DWS.5187

Invalid quote character for a CSV file.

Invalid quote character for a CSV file.

Enter a correct quote character and try again later.

400

DWS.5189

Failed to obtain the AK/SK.

Failed to obtain the AK/SK.

Contact the database customer service or try again later.

400

DWS.5191

The tag does not exist.

The tag does not exist.

Enter the correct tag and try again later.

400

DWS.5194

The number of tags exceeds the maximum value.

The number of tags exceeds the maximum value.

Verify the number of tags for the resource and try again later.

400

DWS.5197

The tag is invalid.

The tag is invalid.

Enter the correct tag and try again later.

400

DWS.5198

Invalid username.

Invalid username.

Enter a correct username and try again.

400

DWS.5199

Invalid password.

Invalid password.

Enter a valid password and try again.

400

DWS.5200

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

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.

400

DWS.5202

The subnet ID cannot be left blank.

The subnet ID cannot be left blank.

Enter a correct subnet ID and try again later.

400

DWS.5203

The security group ID cannot be left blank.

The security group ID cannot be left blank.

Enter a valid security group ID and try again later.

400

DWS.5206

Databases of this version do not support the function.

Databases of this version do not support the function.

Ensure that the API parameters match the cluster version. If the parameters do not match the version, correct the parameters and try again.