• Domain Name Service

dns
  1. Help Center
  2. Domain Name Service
  3. API Reference
  4. Public Parameters
  5. Error Code

Error Code

Introduction

When an API call encounters an error, an error structure is returned. This section describes parameters of the DNS error codes.

Error Code Structure Format

{
    "code": "DNS.0001",
    "message": "Internal error."
}

Error Code Description

Category

Status Code

Error Code

Message

Description

Handling Measure

General

500

DNS.0000

The system is busy. Try again later.

Unknown error.

Retry the operation. If the error persists, contact customer service.

500

DNS.0001

Internal error.

Internal error.

Retry the operation. If the error persists, contact customer service.

400

DNS.0002

Invalid request.

Invalid request.

Check whether the request parameter is empty or invalid.

500

DNS.0003

The system is busy. Try again later.

DB exception.

Retry the operation. If the error persists, contact customer service.

404

DNS.0004

No record sets found.

No record sets found.

Check whether the resource is available.

401

DNS.0005

Authentication required.

Authentication required.

1. When calling an API, check whether the token is valid.

2. Check whether you have operation permission on the required resources.

400

DNS.0006

The limit parameter is invalid.

The limit parameter is invalid.

Check the value of limit in the request.

400

DNS.0007

The marker parameter is invalid.

The marker parameter is invalid.

Check the value of marker in the request.

400

DNS.0008

The zone of this type is not supported now.

The zone of this type is not supported now.

Check the zone type and try again.

400

DNS.0009

The startTime parameter is invalid.

The startTime parameter is invalid.

Check the value of startTime in the request.

400

DNS.0010

The endTime parameter is invalid.

The endTime parameter is invalid.

Check the value of endTime in the request.

400

DNS.0011

The Start parameter is invalid.

The start parameter is invalid.

Check the value of start in the request.

500

DNS.0012

An error occurred when the VPC service is called.

An error occurred when the VPC service is called.

Retry the operation. If the error persists, contact customer service.

403

DNS.0013

You do not have the permission to perform this operation using the API.

You do not have the permission to perform this operation using the API.

The project of the requested resource may be frozen. Log in to the IAM console with the domain account and check whether the project status is normal.

403

DNS.0014

Request forbidden by flow control.

Request forbidden by flow control.

Try again some time later.

500

DNS.0015

An error occurred when the IAM service is called.

An error occurred when the IAM service is called.

Retry the operation. If the error persists, contact customer service.

400

DNS.0016

This record already exists or conflicts with another record.

This record already exists.

Check the record.

400

DNS.0017

The offset parameter is invalid.

The offset parameter is invalid.

Check the value of offset in the request.

409

DNS.0021

Could not acquire the lock, please try again later.

Failed to obtain the lock.

Try again later.

400/500

DNS.0022

An error occurred when the Cloud Eye service is called.

An error occurred when Cloud Eye is called.

Retry the operation. If the error persists, contact customer service.

500

DNS.0023

An error occurred when the Cloud Eye service is called. Cloud Eye service response: Read timed out.

An error occurred when the Cloud Eye service is called (Read timed out).

Retry the operation. If the error persists, contact customer service.

500

DNS.0024

An error occurred when the Cloud Eye service is called. Connect to Cloud Eye service failed: Connection refused.

An error occurred when the Cloud Eye service is called (Connection refused).

Retry the operation. If the error persists, contact customer service.

500

DNS.0025

An error occurred when the Cloud Eye service is called. Connect to Cloud Eye service failed: connect timed out.

An error occurred when the Cloud Eye service is called (Connection timed out).

Retry the operation. If the error persists, contact customer service.

500

DNS.0026

Invalid CES endpoint configuration.

Invalid Cloud Eye endpoint configuration.

Retry the operation. If the error persists, contact customer service.

413

DNS.0027

Warning: upload file too large.

The file to be uploaded is oversized.

The request body is too large.

400

DNS.0028

Invalid version.

Invalid version number.

Retry the operation. If the error persists, contact customer service.

Pool

400

DNS.0101

Invalid pool name.

Invalid pool name.

Check the pool name in the request.

400

DNS.0102

Invalid pool description.

Invalid pool description.

Check the pool description in the request.

400

DNS.0103

Invalid pool type.

Invalid pool type.

Check whether the pool type you specify is supported or valid.

400

DNS.0104

Invalid server configuration in the pool.

Invalid server configuration in the pool.

Check the server configuration in the pool.

400

DNS.0105

Invalid name server configuration in the pool.

Invalid name server configuration in the pool.

Check the name server configuration in the pool.

400

DNS.0106

Invalid pool region.

Invalid pool region.

Check the region configuration in the pool.

400

DNS.0107

Invalid pool ID.

Invalid pool ID.

Check the pool ID in the request.

404

DNS.0108

This pool does not exist.

This pool does not exist.

Check whether the pool is available.

400

DNS.0109

This pool is in use.

This pool is in use.

A pool in use cannot be deleted. Contact customer service.

Zone

400

DNS.0201

The email address of the zone is invalid.

The email address of the zone is invalid.

Check the email address in the request.

400

DNS.0202

Invalid zone name.

Invalid zone name.

1. Check whether the zone name format is correct.

2. Ensure that the zone name cannot be a top-level or public second-level domain name.

400

DNS.0203

Invalid zone TTL value. The value ranges from %s to %s.

Invalid zone TTL value. The value ranges from {minTTL} to {maxTTL}.

Check the TTL value in the request. If the limit does not meet your requirements, contact customer service.

400

DNS.0204

Invalid zone type.

Invalid zone type.

Check whether the zone type you specify is supported.

404/500

DNS.0205

No pools available.

No pools available.

Contact customer service.

400

DNS.0206

Invalid zone description. The description can contain a maximum of 255 characters.

Invalid zone description. The description can contain a maximum of 255 characters.

Check the zone description in the request.

500

DNS.0207

No views available in the pool.

No views available.

Contact customer service.

400

DNS.0208

This zone already exists.

This zone already exists.

Check whether the requested zone already exists.

400/409/500

DNS.0209

The zone is not in the Normal state.

The zone is not in the normal state.

The zone status is not stable. Try again later.

400

DNS.0210

The zone name is used by the system.

The zone name is used by the system.

Check the zone name in the request.

400

DNS.0211

The zone name is used by another tenant.

The zone name is used by another tenant.

Check the zone name in the request.

400/409

DNS.0212

This VPC has already been associated with the zone.

This VPC has already been associated with the zone.

Check whether that the VPC has been associated with the private zone.

Record set

400

DNS.0301

Invalid zone ID.

Invalid zone ID.

Check the zone ID in the request.

400/404

DNS.0302

This zone does not exist.

This zone does not exist.

Check the zone of the requested record set.

400

DNS.0303

Invalid record set TTL value.

Invalid record set TTL value.

Check the TTL value in the request.

400

DNS.0304

Invalid record set name.

Invalid record set name.

Check whether the record set name is a valid domain name ended with the zone name.

400

DNS.0305

Invalid record set description. The description can contain a maximum of 255 characters.

Invalid record set description. The description can contain a maximum of 255 characters.

Check the record set description in the request.

400

DNS.0307

Invalid record set type.

Invalid record set type.

Check whether the record set type you specify is supported.

400

DNS.0308

Invalid record set value.

Invalid record set value.

Check whether the record set value you specify is well-formatted.

400

DNS.0309

Invalid record set ID.

Invalid record set ID.

Check the record set ID in the request.

400/403

DNS.0310

Invalid tenant ID.

Invalid tenant ID.

Check whether the tenant ID is empty or in incorrect format.

400/403

DNS.0311

Invalid domain ID.

Invalid domain ID.

Check whether the domain ID is empty or in incorrect format.

400

DNS.0312

This record set name already exists.

This record set already exists.

Check whether the record set name already exists.

404

DNS.0313

This record set does not exist.

This record set does not exist.

Check the requested record set.

400/409

DNS.0314

The record set is not in a steady state.

The record set is not in a steady state.

Check the record set status. If it is not stable, you cannot perform operations.

400

DNS.0315

Invalid status.

Invalid status.

Check the status in the request.

400/409

DNS.0317

This record set is a default one and cannot be deleted.

This record set is a default one and cannot be deleted.

Check whether the record set to be deleted is created by default.

400/409

DNS.0318

This record set is a default one and cannot be updated.

This record set is a default one and cannot be updated.

Check whether the record set to be updated is created by default.

400

DNS.0319

The TTL parameter has been out of range.

The TTL parameter has been out of range. The value ranges from {minTTL} to {maxTTL}.

Check the TTL value in the request. If the limit does not meet your requirements, contact customer service.

400

DNS.0320

The Zone name levels have been out of MAX count. The maximum is %s.

The zone name levels have been out of MAX count. The maximum is {maxLevel}.

Check the domain name level in the request.

400

DNS.0321

The sub domain levels have been out of MAX count.

The sub domain levels have been out of MAX count. The maximum is {maxLevel}.

Check the subdomain name in the request.

400

DNS.0322

The number of weighted record sets with the same name, type, and resolution line has reached the limit %s.

The number of record sets of the same name, type, and resolution line exceeds the limit.

If the limit does not meet your requirements, contact customer service.

400

DNS.0323

The weight must range from %s to %s.

The weight must range from 0 to 100.

Change the weight value.

400

DNS.0324

This record set is a default one and cannot be operated.

This record set is a default one and cannot be operated.

You cannot perform this operation on a default record set.

400

DNS.0325

The resolution line for record sets in this type of zones must be 'default_view'.

The resolution line for record sets in this type of zones must be default_view.

Change the resolution line in the request.

400

DNS.0326

The batch number has been out of MAX count. The maximum is %s.

The batch number has been out of MAX count.

Modify the request parameter.

400

DNS.0327

The batch number has been out of MAX count. The maximum is %s.

The batch number has been out of MAX count.

Modify the request parameter.

400

DNS.0328

Cannot create this record set because the same one already exists but is not weighted. Specify a weight for the previous record set first.

Cannot create this record set because the same one already exists but is not weighted. Specify a weight for the previous record set first.

Specify a weight for the previous record set first.

Quota

400

DNS.0401

Invalid quota type.

Invalid quota type.

Check the quota type in the request.

400

DNS.0402

Invalid quota value.

Invalid quota value.

The quota value exceeds the limit. Contact customer service.

403

DNS.0403

Insufficient record set quota.

Insufficient record set quota.

The number of record sets exceeds the quota limit. If the limit does not meet your requirements, contact customer service.

403

DNS.0404

Insufficient zone quota.

Insufficient zone quota.

The number of zones exceeds the quota limit. If the limit does not meet your requirements, contact customer service.

403

DNS.0405

Insufficient PTR record quota.

Insufficient PTR record quota.

The number of PTR records exceeds the quota limit. If the limit does not meet your requirements, contact customer service.

PTR record

400

DNS.0501

Invalid PTR ID.

Invalid PTR ID.

Check whether the PTR record ID is empty or in incorrect format.

404

DNS.0502

This EIP address does not exist.

This EIP address does not exist.

Check whether the EIP is available.

409

DNS.0503

The PTR record is not in a steady state.

The PTR record is not in a steady state.

Check the PTR record status. If it is not stable, you cannot perform operations.

400/500

DNS.0504

Invalid EIP address ID.

Invalid EIP address ID.

Check whether the EIP ID is empty or in incorrect format.

400

DNS.0505

Invalid domain name in the PTR record.

Invalid domain name in the PTR record.

Check the domain name in the PTR record.

400

DNS.0506

Invalid PTR TTL value. The value must range from %s to %s.

Invalid PTR TTL value. The value ranges from 300 to 2147483647.

Check whether the PTR record TTL value exceeds the limit.

404

DNS.0507

This PTR record does not exist.

This PTR record does not exist.

Check the requested PTR record.

400

DNS.0508

Invalid PTR description. The description can contain a maximum of 255 characters.

Invalid PTR description. The description can contain a maximum of 255 characters.

Check whether the PTR record description in the request exceeds 255 characters.

400

DNS.0601

Invalid region.

Invalid region.

Check the value of region in the request.

400

DNS.0602

Invalid floating IP address.

Invalid floating IP address.

Check the floating IP address in the request.

400

DNS.0603

Invalid request.

Invalid input.

Check whether the request parameter is empty.

400

DNS.0604

The interval parameter is invalid.

The interval parameter is invalid.

Check the value of interval in the request.

400

DNS.0608

This resource is in use.

This resource is in use.

Check whether the resource is in use.

Associating or disassociating a VPC from a private zone

400

DNS.0701

Invalid VPC.

Invalid VPC.

Check the VPC ID and region in the request.

400

DNS.0704

The VPC is not in a steady state.

The VPC is not in a steady state.

Check whether the zone and VPC are normally associated.

400

DNS.0705

No VPCs are associated with this zone.

No VPCs are associated with this zone.

Associate the zone with a VPC and try again.

403

DNS.0706

You are not allowed to disassociate this VPC because this is the last VPC associated with this zone.

You are not allowed to disassociate this VPC because this is the last VPC associated with this zone.

Associate another VPC with the zone and then disassociate the previous one.

400

DNS.0707

The VPC is not associated with the zone.

The VPC is not associated with the zone.

Check whether the zone is associated with the VPC.

400

DNS.0708

This VPC cannot be disassociated because it is being associated with the zone.

This VPC cannot be disassociated because it is being associated with the zone.

Check the association status between the zone and VPC. Disassociate them when the status is stable.

403

DNS.0709

This VPC cannot be disassociated because this is the only normal VPC associated with this zone.

This VPC cannot be disassociated because this is the only normal VPC associated with this zone.

Check whether other VPCs are normally associated with the zone. If no, perform the following operations:

1. Disassociate VPCs in abnormal association state.

2. Associate another VPC.

3. Disassociate the required VPC.

500

DNS.0710

Invalid VPC URL configuration.

Invalid VPC URL configuration.

Check the region in the request. If the region is correct, contact customer service.

404

DNS.0711

This VPC could not be found.

This VPC could not be found.

Log in to the VPC console and check whether the VPC exists.

400

DNS.0712

This port parameter is invalid.

This port parameter is invalid.

Check whether the port ID in the request is empty.

400/500

DNS.0805

Failed to check the VPC validity.

Failed to check the VPC validity.

Retry the operation. If the error persists, contact customer service.

Resolution line

400

DNS.0806

This line is not be supported in this DNS version.

This line is not supported in this DNS version.

Check the resolution line name in the request.

409

DNS.0807

This line is a default one and cannot be operated.

This line is a default one and cannot be operated.

Check the resolution line name in the request.

Name server

404

DNS.0901

The name server does not exist.

The name server does not exist.

Contact customer service.

Tag

400

DNS.1001

Insufficient tag quota.

Insufficient tag quota.

The number of tags reaches the quota limit. If the limit does not meet your requirements, contact customer service.

400

DNS.1002

Invalid resource type.

Invalid resource type.

Check the resource type in the request.

400

DNS.1003

Invalid tag.

Invalid tag.

Check the tag in the request.

Health check

400

DNS.1101

Health check is currently not supported.

Health check is currently not supported.

Health check is currently not supported.

400

DNS.1102

Invalid health check ID.

Invalid health check ID.

Change the health check ID in the request.

400

DNS.1103

This health check is disabled.

This health check is disabled.

1. Check whether the health check is disabled.

2. Enable the health check.

400

DNS.1104

This record set has already been associated with a health check.

This record set has already been associated with a health check.

One record set can be associated with only one health check.

404

DNS.1105

No health check is associated with this record set.

No health check is associated with this record set.

No health check is associated with this record set.

404

DNS.1106

Cannot find the health check.

Cannot find the health check.

Change the health check ID in the request.

400

DNS.1107

Insufficient health check quota. Contact customer service to increase quotas.

Insufficient health check quota.

Contact customer service.

400

DNS.1108

Cannot associate the health check with the record set because its network plane does not match the zone type of the record set.

Cannot associate the health check with the record set because its network plane does not match the zone type of the record set.

Change the ID of the health check to be associated.

400

DNS.1109

This health check is in detecting status and not available currently.

This health check is in detecting status and not available currently.

Try again later.

500

DNS.1110

Invalid CES health check region configuration.

Invalid health check region configuration.

Contact customer service.

Importing records

400

DNS.1301

Failed to parse this upload file.

Failed to obtain data from the uploaded file.

Check the uploaded file.

400

DNS.1302

Empty upload file.

The uploaded file is empty.

Check the uploaded file.

400

DNS.1303

Only .xlsx files are supported.

Only .xlsx files are supported.

Check the uploaded file.

400

DNS.1304

Invalid task ID.

Invalid task ID.

Check the task ID.

DNS package

400

DNS.1401

Invalid package name.

Invalid package name.

Check the package name.

400

DNS.1402

Failed to purchase the DNS package.

Failed to purchase the DNS package.

Check the package name.

404

DNS.1403

The package does not exist.

The package does not exist.

Check the package ID.