Error Code

If an error occurs in an API, no result is returned. You can locate the error cause based on the error codes of each API. When the invocation fails, an HTTP status code is returned. The returned message body contains the specific error code and information.

Error Response Body Format

  • Parameter description

    Table 1 Parameter description

    Name

    Type

    Description

    error_code

    String

    Specifies the error returned when a task submission exception occurs.

    error_msg

    String

    Specifies the description of the error returned when a task submission exception occurs.

  • Response example

    {
        "error_code": "DBS.200001",
        "error_msg": "Parameter error"
    }
    

Error Code Description

Table 2 Error code description

Status Code

Error Code

Error Information

Description

Handling Measure

400

DBS.200001

Parameter Error

Parameter error.

Check whether the transferred parameters or URLs are correct.

404

DBS.200002

The DB instance does not exist.

The DB instance does not exist.

Check whether the DB instance and its ID are correct and whether the DB instance exists.

400

DBS.200004

Operation is illegal.

Invalid operation.

Check whether the operation meets the API requirements.

400

DBS.200010

Authentication failed.

Authentication failed

Check whether the tenant and instance match.

403

DBS.200011

This instance {0} status makes it not be allowed to do this {1} operation now.

Operation cannot be executed in current state of the DB instance.

Check whether the instance status or the ongoing operation on the instance conflicts with the request.

404

DBS.200013

This node does not exist.

The node does not exist

Check whether the node ID or group ID is correct.

403

DBS.200018

This instance's status or its node's status makes it not be allowed to do this operation now.

This DB instance is not available.

Check whether the instance status or the ongoing operation on the instance conflicts with the request.

403

DBS.200019

Another operation is being performed on the DB instance or the DB instance is faulty.

Operation cannot be executed in current state of the DB instance.

Check whether the instance status or the ongoing operation on the instance conflicts with the request.

400

DBS.200024

The region is unavailable.

The region is unavailable.

Check whether the region name is correct and whether the region is available.

400

DBS.200025

Invalid AZ.

Invalid AZ.

Check whether the AZ name is correct and whether the AZ is available.

403

DBS.200028

Volume size reach limit.

The maximum storage space has been reached.

Check whether the storage space exceeds the upper limit.

400

DBS.200029

Invalid username and password.

Invalid username and password.

Check whether the username and password match and whether the password meets the password strength requirements.

400

DBS.200041

Invalid datastore version.

Invalid database version.

Check whether the database version is supported.

404

DBS.200042

Invalid database engine.

Invalid DB engine.

Check whether the DB engine is supported by DDS.

400

DBS.200047

Operation cannot be executed in current state of the DB instance or node.

Operation cannot be executed in current state of the DB instance or node.

Check whether the instance status or the ongoing operation on the instance conflicts with the request.

400

DBS.200048

Invalid VPC.

Invalid VPC.

Check whether the VPC ID and name are correct and meet the requirements.

400

DBS.200049

Invalid subnet.

Invalid subnet.

Check whether the subnet ID and name are correct and meet the requirements.

400

DBS.200050

Invalid security group.

Invalid security group.

Check whether the security group ID and name are correct and meet the requirements.

400

DBS.200052

Invalid password.

Invalid password.

Check whether the username and password match and whether the password meets the password strength requirements.

400

DBS.200053

The DB instance specifications do not exist.

The DB instance specifications do not exist.

Check whether the specifications are correct and supported in the current AZ.

400

DBS.200054

Invalid DB instance specifications.

Invalid DB instance specifications.

Check whether the specifications are correct and supported in the current AZ.

400

DBS.200057

Invalid parameter group ID.

Invalid parameter template.

Check whether the parameter template is correct, whether the parameter template exists, and whether the parameter template matches the instance type.

400

DBS.200059

Invalid database port.

Invalid database port

Check whether the database port is missing or valid.

400

DBS.200060

The database port number is out of the specified range.

The database port number is out of the specified range.

Check whether the database port is valid.

400

DBS.200068

Weak password.

Weak password

Check whether the password meets the requirements. Enter a strong password.

400

DBS.200072

Invalid storage space.

Invalid storage space.

Check whether the storage space exceeds the upper limit.

400

DBS.200075

Invalid node role.

Invalid node role.

Check whether the role of the node meets the requirements and whether the instance is normal.

403

DBS.200076

Operation cannot be executed in current state of the DB instance.

Operation cannot be executed in current state of the DB instance.

Check whether the instance status or the ongoing operation on the instance conflicts with the request.

400

DBS.200077

Failed to change the password.

Failed to reset the password.

Check whether the user name is correct.

400

DBS.200091

Invalid IP address.

Invalid IP address.

Check whether the required IP address is missing or whether the input IP address is valid.

400

DBS.200092

The IP address already exists.

The IP address already exists.

Check whether the IP address exists.

400

DBS.200095

Invalid parameter.

Parameter error.

Check whether the parameters in the request and URLs are correct.

400

DBS.200302

The storage space must be a multiple of 10.

The storage space must be a multiple of 10.

Check whether the storage space is a multiple of 10.

400

DBS.200303

The maximum number of times that the storage space can be scaled up has been reached.

The maximum number of times that the storage space can be scaled up has been reached.

The maximum number of times that the storage space can be scaled up has been reached. To continue to scale up the storage space, contact technical support.

400

DBS.200304

The storage space can be scaled up for a maximum of four times.

The storage space can be scaled up a maximum of four times.

Check whether the instance has been scaled up for multiple times.

400

DBS.200306

Invalid storage space.

Invalid storage space.

Check whether the storage space is correct and meets the requirements.

400

DBS.200311

Scaling up storage space is not allowed in current state of the node.

Scaling up the storage space is not allowed in current state of the node.

Check whether the node type, instance type, and node ID are correct.

400

DBS.200434

Failed to restart the DB instance.

Failed to restart the DB instance.

Check whether the DB instance status is normal and whether other operations are being performed on the DB instance.

400

DBS.200451

The node does not exist.

The node does not exist.

Check whether node ID is correct.

400

DBS.200462

The database port is the same as the current port.

The database port is the same as the current port.

Check whether the new port number is the same as the original port number.

400

DBS.200470

Invalid AZ.

Invalid AZ.

Check whether the AZ is correct.

400

DBS.200501

The subnet does not exist.

The subnet does not exist.

Check whether the subnet ID and name exist and match the VPC.

400

DBS.200502

The security group does not exist.

The security group does not exist.

Check whether the security group ID and name exist and match the VPC.

400

DBS.200503

The VPC does not exist.

The VPC does not exist.

Check whether the tenant has the VPC.

400

DBS.200506

The encryption key does not exist.

The encryption key does not exist.

Check whether the disk encryption key ID exists.

400

DBS.200507

The encryption key is not available.

The encryption key is not available.

Check whether the disk encryption key is available.

403

DBS.200604

The instance is not owned by the current user.

The instance is not owned by the current user.

Check whether the project ID is subordinate to the instance ID.

400

DBS.200700

The EIP status does not allow EIP binding.

The EIP is being bound. Not allowed to bind the EIP again.

Check whether the instance is being bound to an EIP.

400

DBS.200701

The EIP status does not allow EIP unbinding.

Unbinding the EIP is not allowed due to the EIP status.

Check whether the operation is allowed by the EIP status.

400

DBS.200702

The node has been bound to a public IP address and cannot be bound again.

The node has been bound to a public IP address and cannot be bound again.

Check whether a public IP address has been bound to the node.

400

DBS.200816

Failed to create the database user.

Failed to create a database user.

Check whether the database user name is valid and check the database status and instance status.

400

DBS.200817

Failed to obtain the database user list.

Failed to obtain the database user list.

Check the database status and instance status.

400

DBS.200818

Failed to delete the database user.

Failed to delete a database user.

Check the database status and instance status.

400

DBS.200823

The database does not exist.

The database does not exist.

Check whether the database name is valid.

400

DBS.200824

The database account does not exist.

The database account does not exist.

Check whether the database username is valid.

400

DBS.200826

The database name already exists.

The database name already exists.

Check whether the database name is valid.

400

DBS.200827

The database user already exists.

The database account name already exists.

Check whether the database user is valid.

400

DBS.200828

Built-in database accounts cannot be edited.

Cannot use database built-in account.

Check whether the database user is valid.

400

DBS.200998

The system is busy. Try again later.

The system is busy. Try again later.

The system is busy. Try again later.

403

DBS.201000

The status of DB instance {0} does not allow the {1} operation.

Operation cannot be executed in current state of the DB instance.

Check whether the instance status or the ongoing operation on the instance conflicts with the request.

400

DBS.201006

Parameter error.

Parameter error.

Check whether the transferred parameters or URLs are correct.

403

DBS.201014

Operation cannot be executed in current state of the DB instance.

Operation cannot be executed in current state of the DB instance.

Check whether the instance status or the ongoing operation on the instance conflicts with the request.

403

DBS.201015

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

This operation cannot be performed because another operation is being performed.

Check whether the instance status or the ongoing operation on the instance conflicts with the request.

400

DBS.201020

Invalid DB engine.

Invalid DB engine.

Check whether the DB engine is supported by DDS.

403

DBS.201028

The DB instance does not exist.

The DB instance does not exist.

Check whether the DB instance belongs to the tenant and whether the DB instance exists.

400

DBS.201201

The backup already exists.

The backup already exists.

Check whether the backup name or ID exists.

400

DBS.201202

Operation cannot be executed in current state of the DB instance.

Operation cannot be executed in current state of the DB instance.

Check whether the instance status or the ongoing operation on the instance conflicts with the request.

400

DBS.201204

Operation cannot be executed in current state of the DB instance.

The backup file does not exist.

Check whether the backup file exists and matches the instance.

400

DBS.201214

The backup file does not exist.

The backup file does not exist.

Check whether the backup exists and matches the instance.

400

DBS.201319

Deleting backup file is not allowed because a restoration task is currently in progress. Please wait.

Deleting backup file is not allowed because a restoration task is currently in progress. Please wait.

Check whether the backup is being used to restore instances.

400

DBS.201501

The DB instance does not exist.

The DB instance does not exist.

Check whether the tenant has the DB instance, whether the DB instance name or ID is correct, and whether the DB instance exists.

400

DBS.201502

The DB instance does not exist.

The DB instance does not exist.

Check whether the tenant has the DB instance, whether the DB instance name or ID is correct, and whether the DB instance exists.

404

DBS.212001

The parameter group {0} does not exist.

This parameter template does not exist.

Check whether the parameter template exists.

400

DBS.212003

This operation is not permitted.

This operation is not permitted.

Check whether the instance status or the ongoing operation on the instance conflicts with the request.

400

DBS.212006

The node associated with this parameter group is not available.

The node associated with this parameter template is not available.

Check whether the node that is associated with the parameter template is normal.

400

DBS.212008

The database type does not exist.

The database type is not supported.

Check whether the database type is supported

400

DBS.212013

The parameter group does not exist.

This parameter template does not exist.

Check whether the parameter exists.

400

DBS.212017

The parameter is invalid.

Invalid parameter.

Check whether the transferred parameters or URLs are correct and meet the requirements.

400

DBS.212019

Invalid parameter.

Invalid parameter.

Check whether the transferred parameters or URLs are correct and meet the requirements.

400

DBS.212028

Invalid description.

Invalid parameter template description.

Check whether the parameter template description is valid.

400

DBS.212030

The parameter group name already exists.

The parameter group name already exists.

Check whether the parameter template name is correct and whether the tenant has created the parameter template.

400

DBS.212031

Invalid parameter group name.

Invalid parameter template name.

Check whether the parameter template name meets the requirements:

400

DBS.212032

The operation cannot be performed because this parameter group is being applied to one or more DB instance nodes.

The operation cannot be performed because this parameter template is applied to one or more DB instance nodes.

Check whether the parameter template has been applied to the instance.

400

DBS.216026

The node does not exist.

The node does not exist or has been deleted.

Check whether the input node exists and belongs to the current instance.

403

DBS.216030

The queried node does not belong to the current instance.

The queried node does not belong to the current instance.

Check whether the input node belongs to the current instance.

500

DBS.201509

Failed to access OBS.

The OBS service system is faulty.

An internal error occurs. Contact the O&M personnel to locate the fault.

400

DBS.238007

This operation cannot be performed in the current IP address status.

This operation cannot be performed in the current IP address status.

Check whether the delivered IP address is in use.

400

DBS.239011

Invalid SSL option.

Invalid SSL option.

Check whether the SSL parameter is missing or whether the SSL option is valid.

400

DBS.239012

The specifications are improper.

The specifications are improper.

Check whether the specifications are proper when the backup of an Enhanced Edition instance is restored to a new instance.

400

DBS.239014

Failed to create the database role.

Failed to create a database role.

Check the database status and instance status.

400

DBS.239015

Failed to obtain the database role list.

Failed to obtain the database role list.

Check the database status and instance status.

400

DBS.239016

Invalid database role.

Invalid database role.

Check whether the role meets the requirements and check the database status and instance status.

400

DBS.239017

The database role name already exists.

The database role name already exists.

Check whether the database role exists.

400

DBS.239018

The database role does not exist.

The database role does not exist.

Enter an existing database status.

400

DBS.239019

Invalid database permission.

Invalid database permission.

Check whether the database permission is valid.

400

DBS.239020

Invalid database name.

Invalid database name.

Check whether the database name is valid.

400

DBS.239021

Roles in the non-admin databases cannot be inherited from other databases.

Roles in the non-admin databases cannot be inherited from other databases.

Check whether the data role is valid.

400

DBS.239022

Cannot use database built-in roles.

Cannot use database built-in roles.

Check whether the role is valid.

400

DBS.239029

Failed to delete database role.

Failed to delete the database role.

Check whether the database role exists and whether the instance status is normal.

400

DBS.239031

Invalid balancer action.

The balancer switching is invalid

Check whether the action parameter is correct.

400

DBS.239032

Invalid balancer window.

Invalid balancer window

Check whether the startTime and stopTime parameters are correct.

400

DBS.239033

Balancer window not supported.

Versions earlier than DDS 4.0 do not support the setting of the balancer window

Frozen instances and instances of versions earlier than DDS 4.0 do not support the setting of the balancer window.

400

DBS.280001

Parameter error.

Parameter error.

Check whether the transferred parameters or URLs are correct and meet the requirements.

500

DBS.280005

Server error. Try again later.

Server error. Try again later.

Contact technical support engineers.

400

DBS.280015

Permission denied.

Permission denied.

Check whether the token expires and whether the instance matches the tenant.

400

DBS.280016

Resource not found.

Resource not found.

Check whether the transferred parameters are correct and whether the instance exists.

403

DBS.280019

Account suspended.

Account suspended.

Check the account balance.

403

DBS.280032

You do not have permission to perform this operation. Contact the administrator to obtain permission.

Permission denied.

Check whether the user group to which the current user belongs has the corresponding operation permission.

403

DBS.280042

Invalid request.

Invalid request.

Check whether the request is allowed by the current instance status and the operations being performed on the instance and whether the request is valid.

401

DBS.280056

Invalid token.

Invalid token.

Check whether the instance belongs to the tenant and whether the token has been obtained again.

403

DBS.280063

You do not have following permission to perform this operation: {0}. Contact the administrator to obtain permission.

Permission denied. Contact the account administrator for authorization

Note

xxx indicates the fine-grained configuration item corresponding to an operation performed on the DDS DB instance.

Check whether the user group to which the current user belongs has the corresponding operation permission.

401

DBS.280064

Check PDP permissions failed.

Fine-grained authentication failed.

Contact the customer service.

400

DBS.280066

Invalid log type.

Invalid log type.

Check whether the log type meets the requirements.

400

DBS.280067

Invalid start time.

Invalid start time.

Check whether the start time meets the requirement.

400

DBS.280068

Invalid end time.

Invalid end time.

Check whether the end time meets the requirement.

400

DBS.280110

The DB instance does not exist.

The DB instance does not exist.

Check whether the tenant has the DB instance, whether the DB instance name or ID is correct, and whether the DB instance exists.

400

DBS.280122

Invalid DB engine.

Invalid DB engine.

Check whether the storage engine matches the instance engine.

400

DBS.280123

Invalid node number.

Invalid node number.

Check whether the number of nodes to be added to the instance meets the requirements.

400

DBS.280124

Invalid backup.

Invalid backup.

Check whether the backup ID is correct and meets the requirements.

400

DBS.280127

Invalid backup description.

Invalid backup description.

Check whether the backup description is correct and meets the requirements.

400

DBS.280200

The password contains invalid characters.

The password contains invalid characters.

Check whether the password is correct and meets the requirements.

400

DBS.280214

Invalid retention period.

Invalid retention period.

Check whether the backup retention period is correct.

400

DBS.280215

Invalid backup cycle.

Invalid backup period.

Check whether the backup start time, end time, and backup cycle are correct and meet the requirements.

400

DBS.280216

Invalid backup start time.

Invalid backup start time.

Check whether the backup start time meets the requirements and whether the relationship between the backup start time and end time is correct.

400

DBS.280234

Invalid DB instance name.

Invalid DB instance name.

Check whether the instance name is correct and whether the instance exists.

400

DBS.280235

Invalid database type.

Invalid DB engine.

Check whether the DB engine information is correct.

400

DBS.280236

Invalid database version.

Invalid database version.

Check whether the database version is supported.

400

DBS.280239

Invalid specifications.

Invalid specifications.

Check whether the specification code is correct, whether the specification exists in the current AZ, and whether the specification is supported.

400

DBS.280241

Invalid storage type

Invalid storage type.

Check whether the storage type is correct and meets the requirements.

400

DBS.280242

The storage space is out of range.

The storage space is out of range.

Check whether the disk size is correct.

400

DBS.280244

Invalid AZ.

Invalid AZ.

Check whether the parameters of the AZ are correct, whether the AZ exists, and whether the AZ matches the specifications.

400

DBS.280247

Invalid VPC.

Invalid VPC.

Check whether the VPC ID is correct and whether the VPC exists.

400

DBS.280248

Invalid subnet.

Invalid subnet.

Check whether the subnet ID is correct and whether the subnet exists.

400

DBS.280249

Invalid security group.

Invalid security group.

Check whether the security group ID is correct and whether the security group exists.

400

DBS.280266

Invalid storage space.

Invalid storage space.

Check whether the storage space is correct and meets the requirements.

400

DBS.280267

Specifications not match.

Specifications do not match.

Check whether the specification information is correct and whether the specification matches the instance.

400

DBS.280271

Parameter value out of range.

The parameter value is too long.

Check whether the length of the parameter value is correct.

400

DBS.280277

Invalid backup name.

Invalid backup name.

Check whether the backup name is correct and meets the requirements.

400

DBS.280280

Invalid DB instance number.

Invalid DB instance number.

Check whether the number of DB instances is correct and meets the requirements.

400

DBS.280284

Invalid IP address.

Invalid IP address.

Check whether the IP address is correct and meets the requirements.

400

DBS.280292

Invalid database username.

Invalid username.

Check whether the username is correct and meets the requirements.

400

DBS.280311

Invalid storage space.

Invalid storage space.

Check whether the storage space is correct and meets the requirements.

400

DBS.280314

Invalid storage space.

Invalid storage type.

Check whether the storage type is correct and whether the instance supports the disk type.

400

DBS.280327

Invalid node type.

Invalid node type.

Check whether the node type is correct, whether the node type matches the instance, and whether the node type matches the group ID and node ID.

400

DBS.280342

Invalid DB instance mode.

Invalid DB instance mode.

Check whether the instance mode is correct and whether the instance mode matches the instance ID.

400

DBS.280343

Unsupported operation.

The operation is not supported.

Check whether the instance and node meet the API requirements.

400

DBS.280347

Unsupported database type.

Unsupported database type.

Check whether the DB instance type is correct and meets the requirements.

400

DBS.280361

Invalid file name.

Invalid file name.

Check whether the input file name is correct and meets the requirements.

400

DBS.280365

Invalid payment mode.

Invalid payment mode.

Check whether the payment mode is correct and meets the requirements.

400

DBS.280404

Invalid DB instance ID.

Invalid DB instance ID.

Check whether the instance ID is correct and meets the requirements.

403

DBS.280406

The DB instance cannot be deleted.

The DB instance cannot be deleted.

Check whether the instance deletion operation is supported by the DB engine.

400

DBS.280407

Invalid node ID.

Invalid node ID.

Check whether the node ID is correct and meets the requirements.

400

DBS.280408

Invalid project id.

Unauthorized tenant ID

Check whether the tenant ID is correct and meets the requirements.

400

DBS.280409

Invalid date.

Invalid time format.

Check whether the time format and content are correct and meet the requirements.

400

DBS.280414

Invalid group type.

Invalid group type.

Check whether the group type is correct, whether the group type matches the instance, and whether the node type matches the group ID.

400

DBS.280416

Invalid backup end time.

Invalid end time

Check whether the end time is missing and whether the end time period and format meet the requirements.

400

DBS.280421

Invalid EIP .

Invalid EIP.

Check whether the EIP exists and meets the requirements.

403

DBS.280433

Invalid enterprise project ID.

Invalid enterprise project ID.

Check whether the enterprise project ID is valid.

400

DBS.280434

The specifications are unavailable.

Invalid resource specifications code.

Check whether the resource specifications code exists and meets the requirements.

400

DBS.280437

Not support enterprise project.

Not support enterprise multi-project.

The current user has not enabled the enterprise multi-project service. Enable the enterprise multi-project service or do not transfer related parameters.

400

DBS.280438

Invalid encryption key.

Invalid encryption key ID.

Check whether the disk encryption key ID in the request is created and available, and whether the current DB engine supports disk encryption.

400

DBS.280439

Invalid limit.

Invalid query limit.

Check whether the value of the limit parameter is valid.

400

DBS.280440

Invalid offset.

Invalid offset.

Check whether the value of the offset parameter is valid.

400

DBS.280441

Invalid key.

Invalid key.

Check whether the tag key is valid.

429

DBS.280443

The maximum number of connections has been reached.

The maximum number of connections has been reached.

APIs are frequently called by the same tenant. Reduce the frequency of API calls.

400

DBS.280445

The DB instance class is not available.

The DB instance class is not available.

The current DB instance class is unavailable. Select another one.

400

DBS.280446

The database information does not exist.

The database information does not exist.

Check whether the datastore field exists.

400

DBS.280469

Invalid ECS group policy.

Invalid ECS group policy.

Check whether the policy associated with the ECS group is correct.

400

DBS.280482

Invalid user tag key.

Invalid user tag key.

Check whether the tag key is valid.

400

DBS.280483

Invalid tag value.

Invalid tag value.

Check whether the tag key is valid.

400

DBS.280484

Tag number reach limit.

There are too many tags.

Check whether the number of tags is correct.

400

DBS.290000

Parameter error.

Parameter error.

Check whether the transferred parameters or URLs are correct and meet the requirements.

400

DBS.301071

Invalid session id.

Invalid session ID.

Check whether the session ID is correct and meets the requirements.

400

DBS.301072

Invalid plan summary.

Invalid execution plan.

Check whether the execution plan is correct and meets the requirements.

400

DBS.301073

Invalid operation type.

Invalid operation type.

Check whether the operation type is correct and meets the requirements.

400

DBS.301074

Invalid namespace.

Invalid namespace.

Check whether the namespace is correct and meets the requirements.

400

DBS.301075

Invalid cost time.

Invalid execution time.

Check whether the execution time is correct and meets the requirements.

400

DBS.301076

Query session failed.

Failed to query the session.

Contact customer service to check the instance status.

400

DBS.301077

Kill session failed.

Failed to kill the session.

Contact customer service to check the instance status.