• 沒有找到結果。

调用接口出错后,将不会返回结果数据。调用方可根据每个接口对应的错误码来定位 错误原因。 当调用出错时,HTTP请求返回一个HTTP状态码。返回的消息体中是具体 的错误编码及错误描述信息。

错误码说明

当您调用API时,如果遇到“APIGW”开头的错误码,请参见API网关错误码进行处 理。

8-2 错误码说明

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

400 DBS.200001 Parameter

error. 参数错误。 检查传入的参

数或URL是否 全部正确。

404 DBS.200002 The DB instance does not exist.

实例不存在或

已被删除。 检查实例ID、

实例是否正 确,实例是否 存在。

400 DBS.200010 Authenticatio

n failed. 鉴权失败。 检查租户与实 例的关系是否 匹配。

403 DBS.200011 This instance {0} status makes it not be allowed to do this {1}

operation now.

实例状态不允

许。 检查实例的状

态或实例正在 进行的操作是 否与请求冲 突。

404 DBS.200013 This node does not exist.

节点不存在。 检查节点ID或 组ID是否正 确。

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

实例不可用。 检查实例的状 态或实例正在 进行的操作是 否与请求冲 突。

HTTP状态码 错误码 错误信息 描述 处理措施 403 DBS.200019 Another

operation is being

performed on the DB instance or the DB instance is faulty.

400 DBS.200022 The DB instance name {0}

already exists.

该实例名已存 在。

检查实例名称 是否已经存 在。

400 DBS.200024 The region is

unavailable. 所选区域不可 用。

检查可用区名 称是否正确,

可用区是否在 可用范围内。

400 DBS.200025 Invalid AZ. 可用区非法。 检查可用区名 称是否正确,

可用区是否在 可用范围内。

403 DBS.200028 Volume size

reach limit. 磁盘大小已达 到最大限制。

检查设置的磁 盘大小是否已 经超过上限。

400 DBS.200029 Invalid

username and password.

400 DBS.200041 Invalid datastore

404 DBS.200042 Invalid database 据库 GaussDB NoSQL支持的 引擎。

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

HTTP状态码 错误码 错误信息 描述 处理措施 400 DBS.200048 Invalid VPC. 非法的虚拟私

有云。 检查VPC ID、

名称是否正 确,是否符合 要求。

400 DBS.200049 Invalid

subnet. 非法的子网。 检查子网ID、

名称是否正 确,是否符合 要求。

400 DBS.200050 Invalid security

400 DBS.200052 Invalid

password. 非法密码。 检查用户名和 密码是否匹 配,密码是否 符合密码要 求。

400 DBS.200053 The DB instance specifications do not exist.

实例规格不存

400 DBS.200054 Invalid DB instance

400 DBS.200057 Invalid parameter group ID.

非法的参数

404 DBS.200058 Parameter template does not exist.

参数组不存 在。

检查参数组是 否存在。

400 DBS.200059 Invalid database

400 DBS.200060 The database port number is out of the

HTTP状态码 错误码 错误信息 描述 处理措施 400 DBS.200068 Weak

password. 弱密码。 检查密码是否 过于简单,请 更改为较复杂 的密码。

400 DBS.200072 Invalid

storage space. 磁盘大小超 限。

检查磁盘大小 是否超出了最 大限制。

400 DBS.200075 Invalid node

role. 非法的节点角

403 DBS.200076 Operation cannot be executed in current state of the DB

400 DBS.200077 Failed to change the password.

更新密码失 败。

检查用户名是 否正确。

400 DBS.200091 Invalid IP

address. 无效的IP。 检查是否缺少 必要的IP地址 或者传入的IP 地址是否合 法。

400 DBS.200092 The IP address already exists.

IP已经存在。 检查IP是否已 经存在。

400 DBS.200095 Invalid

parameter. 参数错误。 检查请求体和 URL的参数是 否正确。

500 DBS.200165 Insufficient enterprise project instance quota range.

企业项目实例

500 DBS.200166 Insufficient enterprise project cpu quota range.

企业项目CPU

HTTP状态码 错误码 错误信息 描述 处理措施 500 DBS.200167 Insufficient

enterprise project mem quota range.

企业项目内存

400 DBS.200302 The storage space must be a multiple of 10.

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

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

最多存储扩容 四次。

检查实例是否 已经进行了多 次扩容。

400 DBS.200306 Invalid

storage space. 非法的磁盘大 小。

检查磁盘大小 的值是否正 确,是否符合 要求。

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

400 DBS.200434 Failed to restart the DB instance.

400 DBS.200451 The node does not exist.

节点不存在。 检查节点ID是 否有误。

400 DBS.200462 The database port is the same as the current port.

数据库端口和

400 DBS.200470 Invalid AZ. 非法的可用 区。

检查可用区是 否正确。

HTTP状态码 错误码 错误信息 描述 处理措施 400 DBS.200501 The subnet

does not exist.

400 DBS.200502 The security group does not exist.

安全组不存

400 DBS.200503 The VPC does

not exist. 该vpc已经被删 除。

检查租户是否 拥有该VPC。

400 DBS.200506 The encryption key does not exist.

磁盘加密密钥

ID不存在。 检查磁盘加密 密钥ID是否存 在。

400 DBS.200507 The encryption

400 DBS.200604 The instance is not owned by the current user.

实例不属于当

前用户。 检查project_id 和实例ID是否 具有从属关 系。

400 DBS.200700 The EIP status does not allow EIP binding.

400 DBS.200701 The EIP status does not allow EIP unbinding.

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

该节点已经绑

400 DBS.200816 Failed to create the database user.

创建数据库用

HTTP状态码 错误码 错误信息 描述 处理措施 400 DBS.200817 Failed to

obtain the database user list.

400 DBS.200818 Failed to delete the database user.

删除数据库用 户失败。

检查数据库状 态以及实例状 态。

400 DBS.200823 The database does not exist.

数据库不存 在。

检查数据库名 称是否合法。

400 DBS.200824 The database account does not exist.

数据库帐号不 存在。

检查数据库用 户名称是否合 法。

400 DBS.200826 The database name already exists.

数据库名称已 存在。

检查数据库名 称是否合法。

400 DBS.200827 The database user already exists.

数据库账号名

称已存在。 检查数据库用

户是否合法。

400 DBS.200828 Built-in database accounts cannot be edited.

500 DBS.200998 The system is busy. Try again later.

系统繁忙,请

稍后再试。 系统繁忙, 稍 后再试。

403 DBS.201000 The status of DB instance {0} does not allow the {1}

operation.

400 DBS.201006 Parameter

error. 参数错误。 检查传入的参

数或URL是否 全部正确。

403 DBS.201014 Operation cannot be executed in current state of the DB

HTTP状态码 错误码 错误信息 描述 处理措施 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.

该实例正在进

400 DBS.201020 Invalid DB

engine. 数据库引擎非 法。

检查数据库引 擎是否为云数 据库 GaussDB NoSQL服务支 持的引擎。

403 DBS.201028 The DB instance does not exist.

实例不存在或

400 DBS.201035 The database name must be different.

存在相同的数

据库名称。 检查是否存在

相同的数据库 名称。

400 DBS.201038 The collection name must be different.

存在相同的集 合名称。

检查是否存在 相同的集合名 称。

400 DBS.201101 Invalid backup

400 DBS.201106 Invalid retention

400 DBS.201201 The backup

already exists. 备份已存在。 检查该备份的 备份名称或ID 是否已经存 在。

400 DBS.201202 Operation cannot be executed in current state of the DB

HTTP状态码 错误码 错误信息 描述 处理措施 400 DBS.201204 Operation

cannot be executed in current state of the DB

400 DBS.201212 Backup ID is

illegal. 备份ID非法。 检查该备份ID 是否存在。

400 DBS.201214 The backup file does not exist.

400 DBS.201215 Time is illegal. 时间非法。 检查时间是否 符合要求。

400 DBS.201319 Deleting backup file is not allowed because a restoration task is currently in progress.

Please wait.

恢复时不允许

400 DBS.201501 The DB instance does not exist.

实例不存在或

400 DBS.201502 The DB instance does not exist.

实例不存在或

400 DBS.280308 The AZ is

inconsistent. 可用区不一 致。

检查实例的可 用区是否与专 属资源的可用 区一致。

400 DBS.212001 The parameter group {0}

does not exist.

参数组不存

在。 检查参数组是

否存在。

HTTP状态码 错误码 错误信息 描述 处理措施 400 DBS.212003 This operation

is not

400 DBS.212006 The node associated with this parameter group is not available.

400 DBS.212008 The database type does not exist.

400 DBS.212013 The parameter group does not exist.

参数组不存

在。 检查参数组是

否存在或是否 属于当前租 户。

400 DBS.212017 The

parameter is invalid.

非法参数。 检查传入的参

数或URL是否 全部正确,是 否符合要求。

400 DBS.212019 Invalid

parameter. 非法参数。 检查传入的参 数或URL是否 全部正确,是 否符合要求。

400 DBS.212028 Invalid

description. 参数组描述非 法。

检查参数组描 述是否合法。

400 DBS.212030 The parameter group name already exists.

参数组名称已 存在。

检查参数组名 称是否已存在

400 DBS.212031 Invalid parameter group name.

参数组名称非 法。

检查参数组名 称是否合法。

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

HTTP状态码 错误码 错误信息 描述 处理措施 400 DBS.212035 Failed to

associate this parameter group with the DB instance because the DB instance is currently

400 DBS.212037 Parameters are incorrectly set.

参数错误。 检查参数是否

合法或参数在 合法范围内。

400 DBS.216016 DB instance does not exist.

实例不存在或 已被删除。

检查实例是否 存在。

400 DBS.216029 This operation is not

400 DBS.216030 The queried node does not belong to the current

400 DBS.238007 This operation cannot be performed in the current IP address

400 DBS.239010 Reduce num or target invalid.

400 DBS.239011 Reduce num

invalid. 缩容节点数量 非法。

检查传入的节 点数量是否合 理。

400 DBS.239012 Reduce target

invalid. 缩容节点非 法。

检查传入的节 点是否归属当 前实例。

400 DBS.239013 resize flavor

invalid. 规格选择不合

理。 检查传入的规

格是否合法。

HTTP状态码 错误码 错误信息 描述 处理措施 400 DBS.239014 Current disk

capacity does not support scaling in the number of nodes.

400 DBS.240001 node num

inconsistent. 节点数量不一 致。

检查节点数量 是否一致。

400 DBS.240002 node num

incorrect. 节点数量非 法。

检查节点数量 是否合法。

400 DBS.240003 Invalid billing

mode. 计费模式不合

法。

检查计费模式 是否合法。

400 DBS.240004 Invalid subscription

400 DBS.240005 Invalid validity

400 DBS.240006 Invalid renewal

400 DBS.240007 Invalid payment

400 DBS.240008 Submit order

failed. 提交订单失 败。

请联系客服处 理。

400 DBS.240009 Deleting nodes cannot be executed in current state of the DB instance.

实例当前状态

400 DBS.240010 The selected nodes do not support

400 DBS.240011 {0} 订单提交失

败。

检查报错内容 是否存在。

HTTP状态码 错误码 错误信息 描述 处理措施 400 DBS.240012 The

maximum number of resources that can be

changed has been reached.

资源变动数量 达到上限。

检查当前实例 的节点数量是 否超出限制。

400 DBS.240013 The current disk capacity cannot be changed to the target flavor.

400 DBS.280001 Parameter

error. 参数错误。 检查传入的参

数或URL是否 全部正确,是 否符合要求。

500 DBS.280005 Server error.

Try again later.

服务器错误,

请稍后重试。

联系技术支持 处理。

400 DBS.280015 Permission

denied. 帐号权限不

足。 检查token是

否过期,实例 是否匹配租 户。

400 DBS.280016 Resource not

found. 未找到资源。 检查入参是否 正确,实例是 否存在。

403 DBS.280019 Account

suspended. 账户欠费。 检查账户余 额。

403 DBS.280032 You do not havepermission to perform this operation.

Contact the administrator to obtain permission.

400 DBS.280042 Invalid

request. 非法请求。 检查实例当前

HTTP状态码 错误码 错误信息 描述 处理措施 404 DBS.280045 This

parameter group does not exist.

参数模板不存 在。

检查请求中的 参数模板是否 存在。

403 DBS.280056 Token invalid. Token非法。 检查实例是否 属于租户,

token是否已 经重新获取。

400 DBS.280063 You do not havefollowing permission to perform this operation: {0}.

Contact the administrator to obtain permission.

500 DBS.280064 Check PDP permissions

400 DBS.280066 Invalid log

type. 非法的日志类

型。

检查日志类型 是否符合要 求。

400 DBS.280067 Invalid start

time. 非法的开始时

间。

检查开始时间 是否符合要 求。

400 DBS.280068 Invalid end

time. 非法的结束时

间。 检查结束时间

是否符合要 求。

400 DBS.280110 The DB instance does not exist.

实例不存在或

400 DBS.280122 Invalid DB

engine. 存储引擎非 法。

检查存储引擎 是否和实例引 擎匹配。

400 DBS.280123 Invalid node

number. 节点个数非 法。

检查节点个数 是否符合要 求。

HTTP状态码 错误码 错误信息 描述 处理措施 400 DBS.280124 Invalid

backup. 非法的备份

ID。 检查备份ID是

否正确,是否 符合要求。

400 DBS.280125 Invalid

backup policy. 自动备份策略 非法。

检查自动备份 策略是否符合 要求。

400 DBS.280127 Invalid backup

400 DBS.280200 The password contains

400 DBS.280214 Invalid retention

400 DBS.280215 Invalid

backup cycle. 备份周期非

法。 检查备份开始

时间、结束时 间,备份周期 是否正确,是 否符合要求。

400 DBS.280216 Invalid backup start time.

400 DBS.280234 Invalid DB instance

400 DBS.280235 Invalid database

400 DBS.280236 Invalid database

400 DBS.280239 Invalid

specifications. 非法的规格。 检查规格码是

specifications. 非法的规格。 检查规格码是