• 沒有找到結果。

功能说明

API调用发生错误时,会有错误结构体返回,本小节介绍云解析服务的错误码的含义。

返回体格式

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

}

错误码说明

7-3 错误码

状态码 错误码 错误信息 描述 处理措施

500 DNS.

0000 The system is busy.

Try again later. 未知错误。 建议重试,如果 多次重试报错请 联系客服人员处 理。

500 DNS.

0001 Internal error. 内部错误。 建议重试,如果 多次重试报错请 联系客服人员处 理。

400 DNS.

0002 Invalid request. 无效的请求。 请检查请求参数 是否为空或非 法。

500 DNS.

0003 The system is busy.

Try again later. 数据库异常。 建议重试,如果 多次重试报错请 联系客服人员处 理。

状态码 错误码 错误信息 描述 处理措施 404 DNS.

0004 No record sets found. 操作的资源记录 不存在。

请检查该资源是 否存在。

401 DNS.

0005 Authentication

required. 权限认证失败。 1. 当进行接口

400 DNS.

0006 The limit parameter is

invalid. 请求参数limit非 法。

请检查请求参数 limit。

400 DNS.

0007 The marker

parameter is invalid. 请求参数marker 非法。

请检查请求参数 marker。

400 DNS.

0008 The zone of this type

is not supported now. 服务暂不支持此

类型域名。 所填写域名类型

不支持,请检查 域名类型,并重 试请求。

400 DNS.

0009 The startTime

parameter is invalid. 请求参数

startTime非法。 请检查请求参数 startTime。

400 DNS.

0010 The endTime

parameter is invalid. 请求参数endTime 非法。

请检查请求参数 endTime。

400 DNS.

0011 The Start parameter

is invalid. 请求参数start非 法。

请检查请求参数 start。

500 DNS.

0012 An error occurred when the VPC service is called.

服务内部调用VPC

403 DNS.

0013 You do not have the permission to perform this

operation using the API.

403 DNS.

0014 Request forbidden by

flow control. 您这个时段的流 量已经超限。

您这个时段的流 量已经超限,请 稍候重试。

500 DNS.

0015 An error occurred when the IAM service is called.

服务内部调用IAM

状态码 错误码 错误信息 描述 处理措施 400 DNS.

0016 This record already exists or conflicts with another record.

所创建的资源记 录已存在。

所创建的资源已 经存在,请确 认。

400 DNS.

0017 The offset parameter

is invalid. 请求参数offset非 法。

请检查请求参数 offset。

409 DNS.

0021 Could not acquire the lock, please try again later.

获取锁失败。 获取锁失败。请

稍候重试。

400/50

0 DNS.

0022 An error occurred when the Cloud Eye service is called.

调用CES服务失

500 DNS.

0023 An error occurred when the Cloud Eye service is called.

Cloud Eye service response: Read timed out.

500 DNS.

0024 An error occurred when the Cloud Eye service is called.

Connect to Cloud Eye service failed:

Connection refused.

调用CES服务失

500 DNS.

0025 An error occurred when the Cloud Eye service is called.

Connect to Cloud Eye service failed: connect timed out.

调用CES服务失

500 DNS.

0026 Invalid CES endpoint

configuration. CES服务URL配置 有问题。

建议重试,如果 多次重试报错请 联系客服人员处 理。

413 DNS.

0027 Warning: upload file

too large. 上传文件过大 请求报文体过 大。

400 DNS.

0028 Invalid version. 版本号非法。 建议重试,如果 多次重试报错请 联系客服人员处 理。

400 DNS.

0029 Invalid record. 请求参record非 法。

请检查请求参数 offset。

状态码 错误码 错误信息 描述 处理措施 403 DNS.

0030 Operation not allowed for this resource.

403 DNS.

0031 User not allowed. 用户无操作权

限。 1. 当进行接口

400 DNS.

0032 Invalid sort key. 请求参数sort key 非法。

请检查请求参数 sort key。

400 DNS.

0033 Invalid sort dir. 请求参数sort dir

非法。 请检查请求参数

sort dir。

400/40

4/500 DNS.

0034 An error occurred when the bss service is called.

调用BSS服务异

4/500 DNS.

0035 An error occurred when the Cloudsite service is called.

调用云速建站异

400 DNS.

0036 An error occurred when the neutron service is called.

调用neutron服务

403 DNS.

0037 Feature not

supported now. 功能暂不支持。 功能暂不支持。

400 DNS.

0038 The show detail

parameter is invalid. 请求参数show

detail非法。 请检查请求参数 show detail。

400 DNS.

0101 Invalid pool name. 请求参数Pool的

名称非法。 请检查请求参数

Pool的名称。

400 DNS.

0102 Invalid pool

description. 请求参数Pool的 描述非法。

请检查请求参数 Pool的描述。

400 DNS.

0103 Invalid pool type. 请求参数Pool的

类型非法。 所填写Pool类型 参数非法或者不 支持。

400 DNS.

0104 Invalid server configuration in the pool.

请求参数Pool中

host配置非法。 请检查请求参数 中Pool中host配 置。

状态码 错误码 错误信息 描述 处理措施 400 DNS.

0105 Invalid name server configuration in the pool.

400 DNS.

0106 Invalid pool region. 请求参数Pool的 region信息配置非 法。

请检查请求参数 中Pool的region 信息配置。

400 DNS.

0107 Invalid pool ID. 请求参数Pool ID 标识非法。

请检查请求参数 中Pool ID标 识。

404 DNS.

0108 This pool does not

exist. Pool不存在。 请检查Pool是否 存在。

400 DNS.

0109 This pool is in use. Pool正在使用 中。

该Pool正在使用 中,不能进行删 除。请联系客服 人员。

400 DNS.

0201 The email address of

the zone is invalid. 域名的email地址

格式不正确。 请检查请求参数

中邮箱地址的合 法性。

400 DNS.

0202 Invalid zone name. 域名名称格式不

正确。 1. 请检查域名

400 DNS.

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

%s.

400 DNS.

0204 Invalid zone type. 域名类型不合 法。

所填写域名类型 不支持。

404/50

0 DNS.

0205 No pools available. 系统无可用的资

源pool。 请联系客服人员

处理。

400 DNS.

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

域名的描述长度 不能超过255个字 符。

请检查请求参数 中域名的描述。

500 DNS.

0207 No views available in

the pool. 系统资源池中没

有可用的View。 请联系客服人员 处理。

状态码 错误码 错误信息 描述 处理措施 400 DNS.

0208 This zone already

exists. 该域名已经存

在。

所请求操作的域 名已经存在,请 确认。

400/40

9/500 DNS.

0209 The zone is not in the

Normal state. 该域名处于非正 常状态。

域名状态不稳 定,正在后台处 理中,请稍候重 试。

400 DNS.

0210 The zone name is

used by the system. 此域名是系统预 留域名,您无权 限创建。

请检查请求参数 中所填写的域 名。

400 DNS.

0211 The zone name is used by another tenant.

0212 This VPC has already been associated with the zone.

该域名已经关联

过此VPC。 请确认该内网域

名已经关联过此 VPC。

400 DNS.

0213 The zone is disabled. 该域名已经被暂

停。 请确认该域名状

态。

400 DNS.

0301 Invalid zone ID. 域名Zone ID标识 无效。

请检查请求参数 中Zone ID是否 合法。

400/40

4 DNS.

0302 This zone does not

exist. 域名Zone不存

在。

所操作的Record Set所属 Zone不存在。

400 DNS.

0303 Invalid record set TTL

value. TTL值非法。 请检查请求参数

TTL值。

400 DNS.

0304 Invalid record set

name. 记录集名称应该

400 DNS.

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

记录集的描述长

400 DNS.

0307 Invalid record set

type. 记录集类型非

法。

所填写的记录集 类型暂不支持。

400 DNS.

0308 Invalid record set

value. 记录集的值非

法。

请检查所填写的 记录集的值格 式。

状态码 错误码 错误信息 描述 处理措施 400 DNS.

0309 Invalid record set ID. 记录集的ID标识 无效。

请检查请求参数 Record Set ID 是否合法。

400/40

3 DNS.

0310 Invalid tenant ID. 项目ID标识非

法。 项目ID标识为空

或格式非法。

400/40

3 DNS.

0311 Invalid domain ID. 帐户ID标识非

法。 帐户ID标识为空

或格式非法。

400 DNS.

0312 This record set name

already exists. 记录集名称已存 在。

所填写记录集名 称已存在。

404 DNS.

0313 This record set does

not exist. 记录集不存在。 所操作的 Record Set不存 在。

400/40

9 DNS.

0314 The record set is not

in a steady state. 记录集状态处于

400 DNS.

0315 Invalid status. 非法的状态值。 请求参数status 值非法。

400/40

9 DNS.

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

此记录为系统默

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

此记录为系统默

400 DNS.

0319 The TTL parameter has been out of range.

400 DNS.

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

该域名级别超过 限制。

请检查所填写的 域名级别。

400 DNS.

0321 The sub domain levels have been out of MAX count.

子域名级别超过

限制。 请检查所填写的

子域名级别。

状态码 错误码 错误信息 描述 处理措施 400 DNS.

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

在相同域名、类

400 DNS.

0323 The weight must

range from %s to %s. 解析记录的权重 值为整数,范围 为0到100。

请修改所填写的 权重值。

400 DNS.

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

系统默认解析记 录不能操作。

系统默认解析记 录不能操作。

400 DNS.

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

400 DNS.

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

批量创建操作的 数量超过限制。

请修改您的请求 参数。

400 DNS.

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

批量删除操作的 数量超过限制。

请修改您的请求 参数。

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.

400 DNS.

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

批量更新操作的 数量超过限制。

请修改您的请求 参数。

400 DNS.

0330 Invalid alias resource

type. 请求参数alias资

源类型非法。

请检查请求参数 alias资源类 型。

400 DNS.

0331 Invalid alias resource

domain name. 请求参数alias域 名非法。

请检查请求参数 alias域名。

状态码 错误码 错误信息 描述 处理措施 400 DNS.

0332 The alias must be a domain name of a cloud resource.

alias域名必须托

管在DNS上。 请检查请求参数 alias域名。

400 DNS.

0333 The alias is not

supported now. 当前不支持别名 记录。

请联系客服人员 处理。

400 DNS.

0401 Invalid quota type. 配额类型无效。 请检查请求参数 配额类型。

400 DNS.

0402 Invalid quota value. 配额数值超过限 制。

配额数值超过限 制。请联系客服 人员处理。

403 DNS.

0403 Insufficient record set

quota. Record Set资源配

额不足。 Record Set资源 数量达到上限。

如不满足您的需 求,请联系客服 人员。

403 DNS.

0404 Insufficient zone

quota. Zone资源配额不

足。

403 DNS.

0405 Insufficient PTR

record quota. PTR资源配额不

足。 PTR资源数量达

到上限。如不满 足您的需求,请 联系客服人员。

403 DNS.

0406 Insufficient inbound

endpoint quota. 入站规则配额不 足。

403 DNS.

0407 Insufficient outbound

endpoint quota. 出站规则配额不

足。 出站规则资源数

量达到上限。如 不满足您的需 求,请联系客服 人员。

403 DNS.

0408 Insufficient custom

line quota. 自定义线路配额 不足。

状态码 错误码 错误信息 描述 处理措施 403 DNS.

0409 Insufficient line group

quota. 线路分组配额不

400 DNS.

0501 Invalid PTR ID. PTR ID标识无

效。 请检查PTR ID

标识是否为空或 格式是否非法。

404 DNS.

0502 This EIP address does

not exist. EIP不存在。 请确认该EIP是 否存在。

409 DNS.

0503 The PTR record is not

in a steady state. PTR处于非稳态。 请检查当前记录

0504 Invalid EIP address ID. EIP ID标识非法。 请检查EIP ID标 识是否为空或格 式是否非法。

400 DNS.

0505 Invalid domain name

in the PTR record. PTR域名不合法。 请检查PTR域 名。

400 DNS.

0506 Invalid PTR TTL value.

The value must range from %s to %s.

PTR TTL值应在 1~2147483647范 围内。

请检查PTR TTL 值是否超过限 制。

404 DNS.

0507 This PTR record does

not exist. PTR记录不存在。 所操作的PTR不 存在。

400 DNS.

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

PTR的描述长度不

400 DNS.

0601 Invalid region. 请求参数region非 法。

请检查请求参数 region。

400 DNS.

0602 Invalid floating IP

address. FIP address值非 法。

请检查请求参数 FIP address 值。

400 DNS.

0603 Invalid request. 请求参数输入为 空。

请检查请求参数 输入是否为空。

400 DNS.

0604 The interval

parameter is invalid. 请求参数interval 非法。

请检查请求参数 interval值。

400 DNS.

0608 This resource is in

use. 所操作的资源正

在使用中,不能 进行删除。

请确认此资源是 否正在使用中。

状态码 错误码 错误信息 描述 处理措施 400 DNS.

0701 Invalid VPC. 关联的VPC(ID、

Region)无效。 请检查请求参数 中VPC的ID、

Region是否正 确。

400 DNS.

0704 The VPC is not in a

steady state. Zone和此VPC处 于非正常关联状 态。

请确认Zone和 此VPC是否处于 正常关联中。

400 DNS.

0705 No VPCs are

associated with this zone.

Zone没有关联任

何VPC。 该Zone没有关 联任何VPC,不 能操作。请首先 为该Zone关联 一个VPC。

403 DNS.

0706 You are not allowed to disassociate this VPC because this is the last VPC

associated with this zone.

400 DNS.

400 DNS.