• 沒有找到結果。

背景信息

● 接口返回的错误码与Error Message不具有一一对应关系,表中只是列出比较常见 的一种或几种Error Message。

● 本服务接口以异步接口居多,有的错误码是在查询任务的返回体中体现的,http 状态码有可能不是很准确。

● 本服务对网络、存储等服务具有强依赖性,Error Message显示依赖服务的错误消 息时,处理措施需要联系技术支持。

错误码说明

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

更多服务错误码请参见API错误中心。

7-1 错误码说明 v2

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

400 NAT.0001 Invalid value for created_at

%(timestamp)s.

时间戳不合法 请检查输入的时间 格式是否正确。

400 NAT.0002 Invalid

parameters. 请求参数不合 法

请检查输入的参数 是否正确。

404 NAT.0004 The router % (router_id)s does not exist.

Router不存在 路由器不存在,请 检查输入的路由器 是否正确。

404 NAT.0005 Network % (network_id)s does not exist.

Network不存 在

子网不存在,请输 入合法的子网。

状态码 错误码 错误信息 描述 处理措施 400 NAT.0006 Rule has not

been deleted. 规则还没有被 删除

请先排查一下是否 有规则未删除导致 删除网关失败。

400 NAT.0007 DB Error 数据库异常 请联系技术支持。

400 NAT.0008 Router % (router)s has no port for subnet % (subnet)s.

子网没有连接 到虚拟路由器

请将子网添加到路 由器接口。

400 NAT.0009 Resource % (res_type)s % (res)s is used by %(user_type)s

%(user)s

资源被占用 请先排查一下该资

源是否已被使用。

400 NAT.0010 Network % (network)s does not contain any IPv4 subnet

Network下没

有Subnet 请先排查一下该 network下是否添 加subnet。

400 NAT.0012 The network

%(network)s already has nat gateway.

Network已创

建NAT网关 请选择一个未创建 NAT网关的子网。

404 NAT.0013 Router % (router)s for the specified NAT gateway could not be found.

400 NAT.0014 Invalid input fordescription.

+exceeds maximum length of 255.

参数description描 述字符超过 255个

请检查参数 description描述字 符个数。

400 NAT.0015 Invalid input for name.

+exceeds maximum length of 255.

参数name字

符超过255个 请检查参数name 描述字符个数。

状态码 错误码 错误信息 描述 处理措施 400 NAT.0016 Invalid input

for spec.

Reason: '*' is

400 NAT.0017 Invalid input for router_id.

Reason:

'****

****-****-*************' is not a valid UUID.

router_id不是

合法的UUID 请检查输入的 router_id是否正 确。

400 NAT.0018 Invalid input forinternal_netw ork_id.

Reason:

‘****

****-****-*************' is not a valid UUID.

404 NAT.0019 Network

****

****-****-*************

could not be found.

network_id不

存在 请检查输入的

internal_network_

id是否存在。

404 NAT.0020 Specifying 'tenant_id' other than authenticated tenant in request

404 NAT.0021 Invalid input fornat_gateway_i d. Reason:

'****

****-****-*************'is not a valid UUID.

状态码 错误码 错误信息 描述 处理措施 400 NAT.0022 Either

network_id or cidr must be specified.

Both can not be specified at the same time

404 NAT.0023 Port

'********-

****-****-****-*************' could not be found.

Port_id不存在 请检查输入的 port_id是否存在。

404 NAT.0024 Invalid input forfloating_ip_id.

Reason:

'****

****-****-*************'is not a valid UUID.

401 NAT.0025 Token is

expired. Token过期 请检查输入的 token是否在有效 期。

400 NAT.0026 Floating IP

****

****-****-*************

could not be found.

状态码 错误码 错误信息 描述 处理措施 400 NAT.0101 Lack of user

authority. //

request is null. //

endpoint is empty. //

resource type is invalid. //

create natgateway requset is null. //update natgateway request is null //

NatGateway id is

invalid. //the enterprise project id is unsupported.

//the enterprise project id in request is invalid. //

request parameter is null. //tags is invalid. //get natgateways error limit is invalid. //get natgateways error marker is invalid. //

Only admin user can do this action. //

Parameters are invalid, check them and try.

NAT网关请求 错误

请根据错误提示排 查一下错误原因或 联系技术支持。

400 NAT.0102 The system is busy. Please try again later.

系统繁忙,请 稍后再试

系统繁忙,请稍后 再试。

状态码 错误码 错误信息 描述 处理措施 400 NAT.0103 NatGateway

%(nat_gateway _id)s is not ACTIVE.

400 NAT.0104 NatGateway

%(nat_gateway _id)s is not UP. //

NatGateway

%(nat_gateway _id)s is

frozen.can not update.

400/404 NAT.0105 NatGateway

%(nat_gateway _id)s does not exist.

请检查该nat_gateway_id是 否存在。

400 NAT.0106 Concurrent conflict

400 NAT.0107 Create NG

Port failed. NAT网关内部

端口创建失败 NAT网关内部错 误,请联系技术支 持。

400 NAT.0108 NG Port % (port)s is unbound.

NAT网关内部

端口未绑定 NAT网关内部错 误,请联系技术支 持。

400 NAT.0109 NatGateway does not support IPv6.

NAT网关不支

400 NAT.0110 Get Nat gateway host failed

选择网关节点

错误 请联系技术支持。

400 NAT.0111 Get Nat gateway agent local_ip failed

获取网关节点

的IP错误 请联系技术支持。

状态码 错误码 错误信息 描述 处理措施 400 NAT.0112 Get

RouteTable % (router_id)s failed.

获取VPC路由 表错误

请联系技术支持。

400 NAT.0113 %(limit)s NAT gateways has been created to this VPC, no more is

400 NAT.0201 Endpoint is null or empty. //

Endpoint is Invalid. //

Request is null. //

natGatewayId is invalid. //

SnatRule id invalid. //

NatGatewayId is invalid. //

Invalid value for public ip id. //Endpoint is null. //

request is null. //Query SnatRules list error marker is invalid.

SNAT规则参数 错误

请确认输入的参数 是否正确或联系技 术支持。

400 NAT.0202 Either

network_id or cidr must be specified.Both can not be specified at the same time

400 NAT.0203 cidr is invalid, make sure it's format is correct.

状态码 错误码 错误信息 描述 处理措施 400 NAT.0204 source_type

andnetwork_id is incompatible.

400 NAT.0205 cidr must be a subset of subnet's cidr.

VPC侧SNAT规

400 NAT.0206 cidr conflicts with subnet's cidr.

400 NAT.0207 cidr in the request conflicts with cidrs of existing rules.

SNAT网段冲突 请输入与现有 SNAT规则不冲突 的CIDR。

400 NAT.0208 Snat rule for network % (network)s exists.

规则已存在 请选择一个未配置

SNAT规则的子 网。

404 NAT.0209 No Snat Rule exist with id

%(id)s

SNAT规则不存 在

请检查SNAT规则 的id是否存在。

400 NAT.0210 Invalid input forfloating_ip_id.

Reason: \'%

(fip)s\' is not a valid UUID. //

Invalid value for public ip id.

400 NAT.0211 %(limit)s EIP has been associated to this SNAT rules's EIP pool, no more is allowed.

SNAT规则绑定 的EIP个数超过 上限

请保持弹性公网IP 个数至上限以内。

状态码 错误码 错误信息 描述 处理措施 400 NAT.0212 SNAT Rule %

(rule)s Associated or disassociate EIP %(fip)s Failed."

SNAT规则绑定

或解绑EIP失败 请联系技术支持。

400 NAT.0301 get dnatRules error limit is invalid. //get dnatrules error marker is invalid. //

endpoint is empty. //

DnatRule id invalid. //VPC ID is

invalid. //

Request is null. //

DnatRule id invalid. //

internal_servic format. //

internal_servic e_port_range':

param is null. //'interna l_service_port _range' and 'external_servi ce_port_range ' must be equal. //for non-all port rule,the protocol can not be any. //

param xxx is null in request body.

DNAT规则参 数错误

请确认输入的参数 是否正确或联系技 术支持。

状态码 错误码 错误信息 描述 处理措施 400 NAT.0302 Dnat rule

protocol % (protocol)s notsupported.Onl y protocol values % (values)s and integer representatio ns [6, 17, 0]

aresupported.

DNAT规则协

400 NAT.0303 Invalid value for port %

400 NAT.0304 The port_id, private_ip, internal port and protocol specified have beenoccupied.

DNAT规则内 网信息冲突

请输入与现有 DNAT规则不冲突 的虚拟机Port ID或 私网地址及私网端 口。

400 NAT.0305 The floating ip, external port and protocol specified have beenoccupied.

DNAT规则外

网信息冲突 请输入与现有

DNAT规则不冲突 的浮动IP的ID、外 网端口、协议。

400 NAT.0306 The external port equals 0 and internal port equals 0 and protocol equals any must satisfied at the same time.

状态码 错误码 错误信息 描述 处理措施 400 NAT.0307 The port_id

already existing dnat allport rules or dnat_rules, can no longer create dnat rules or dnat allport rules.

DNAT规则中 port_id与已有 Dnat规则冲突

虚拟机Port ID与已 有DNAT规则冲 突,请更换虚拟机 Port ID创建或更新 dnat规则。

400 NAT.0308 The private_ip already existing dnat allport rules or dnat rules, can no longer create dnat rules or dnat allport rules.

DNAT规则中

400 NAT.0309 %(limit)s DNAT rules has been associated to this NAT Gateway, no more is allowed

DNAT规则条

数超出规格 同一nat网关的 DNAT规则条数超 出上限。

400 NAT.0310 The port_id and private_ip values are both empty, at least one value is not empty.

DNAT规则缺

少参数 虚拟机Port ID和私 网地址都没有配 置,请确认配置。

400 NAT.0311 The private ip address is not legal.

DNAT规则私

网IP不合法 请配置合法的私网 地址。

400 NAT.0312 The virtual IP address is not supported.

状态码 错误码 错误信息 描述 处理措施 400 NAT.0313 %(limit)s

DNAT rules has been associated to this Floating IP, no more is

400 NAT.0314 batch create dnat rules max limit: %

400 NAT.0315 Port %(port)s is not a valid port.

DNAT规则虚 拟机Port ID不 合法

请配置合法的虚拟 机Port ID。

400 NAT.0316 Vtep_ip is

Null. VtepIp参数不

能为空 请删除重建DNAT

规则或联系技术支 持。

400 NAT.0317 The port_id and private_ip exist at the same time and value is not empty, but at least one value is empty.

DNAT规则存

在互斥参数 虚拟机Port ID和私 网地址不能同时配 置,请确认配置。

400 NAT.0318 DNAT rule is frozen, can no longer

404 NAT.0319 No Dnat Rule exist with id

%(id)s

DNAT规则不 存在

请联系技术支持。

400 NAT.0401 Floating Ip % (fip)s is freezed.

400 NAT.0402 Floating Ip % (fip)s has associated

状态码 错误码 错误信息 描述 处理措施 400 NAT.0403 There is a

duplicate EIP

%(fips)s in SNAT rule.

公网IP已被

400 NAT.0404 Floating Ip % (fip)s has used by nat gateway % (nat_gateway

400 NAT.0405 Floating Ip % (fip)s has beenoccupied.

EIP已被占用 弹性公网IP已经绑 定到其他NAT网 关,请重新选择。

400 NAT.0407 Floating Ip % (fip)s is used by other rules

EIP关联限制

400 NAT.0408 Floating Ip % (fip)s can not be associated with both DNAT rule and DNAT all port rule.

EIP关联限制 (不能同时关联 dnat和dnat all port)

弹性公网IP不能同 时绑定到DNAT和 DNAT all port规 则,请重新选择。

400 NAT.0409 Floating Ip % (fip)s can not be associated with both SNAT rule and DNAT all port rule.

公网IP关联限 制(SNAT和 DNAT all port 不能共用)

SNAT和DNAT all port不能共用一条 弹性公网IP,请重 新选择。

400 NAT.0410 Invalid value

of the FloatIP. 公网IP无效 请检查输入的 floating_ip是否有 效

7-2 错误码说明 v2.0

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

400 VPC.0002 Available zone Name is null.

可用区为空 请确认创建子网的

请求体中availability_zone 字段是否为空。

状态码 错误码 错误信息 描述 处理措施 404 VPC.0003 VPC does not

exit. VPC不存在 请确认VPC的id是 否填写正确或该租 户下是否确实存在 该VPC。

400 VPC.0004 VPC does not active,please try later.

VPC状态异常 请稍后重试或联系 技术支持。

400 VPC.0007 urlTenantId is not equal tokenTenantId

400 VPC.0011 EnterpriseProj

ectId is invalid 企业项目id非 法

请输入合法的企业 项目id。

400 VPC.0014 This

enterpriseProj ect status is disable.

企业项目不可

用 请更换其他可用企

业项目id。

400 VPC.2000 Lack of user authority. //

request is null. //

endpoint is empty. //

resource type is invalid. //

create natgateway requset is null. //update natgateway request is null.

NAT网关请求 错误

请联系技术支持。

状态码 错误码 错误信息 描述 处理措施 400 VPC.2001 NatGateway

id is

invalid. //the enterprise project id in request is invalid. //

request parameter is null. //tags is invalid. //get natgateways error limit is invalid. //get natgateways error marker is invalid. //

Only admin user can do this action. //

Parameters are invalid, check them and try.

NAT网关参数 错误

请确认输入的参数 是否正确或联系技 术支持。

400 VPC.2002 Invalid

parameters. 请求参数不合 法

请检查输入的参数 是否正确。

400 VPC.2004 NatGateway

%(nat_gateway _id)s is not ACTIVE.

400 VPC.2005 NatGateway

%(nat_gateway _id)s is not UP.

NAT网关未处

于UP状态 请检查网关是否因

为欠费等原因被冻 结。

400 VPC.2006 NatGateway

%(nat_gateway _id)s is

frozen.can not update

400 VPC.2007 NatGateway

%(nat_gateway _id)s does not exist.

NAT网关不存

在 请检查输入的NAT

网关是否正确。

状态码 错误码 错误信息 描述 处理措施 400 VPC.2008 Network %

(network)s does not contain any IPv4 subnet

Network下没

有Subnet 请联系技术支持。

400 VPC.2009 Network % (network_id)s does not exist.

Network不存 在

子网不存在,请输 入合法的子网。

400 VPC.2010 The router % (router_id)s has default route.

400 VPC.2011 The router % (router_id)s does not exist.

Router不存在 路由器不存在,请 检查输入的路由器 是否正确。

400 VPC.2012 The router % (router_id)s already has nat gateway.

VPC下已存在

nat网关 VPC下已存在NAT 网关,请选择其他 VPC。

400 VPC.2013 Router % (router)s has no port for subnet % (subnet)s.

子网没有连接 到虚拟路由器

请将子网添加到路 由器接口。

状态码 错误码 错误信息 描述 处理措施 400 VPC.2014 Endpoint is

null or empty. //

Endpoint is Invalid. //

Request is null. //

natGatewayId is invalid. //

SnatRule id invalid. //

NatGatewayId is invalid. //

Invalid value for public ip id. //Endpoint is null. //

request is null. //Query SnatRules list error marker is invalid.

SNAT规则参数 错误

请确认输入的参数 是否正确或联系技 术支持。

400 VPC.2016 Rule has not

been deleted. 规则还没有被 删除

请联系技术支持。

400 VPC.2018 Snat rule for network % (network)s exists.

规则已存在 请选择一个未配置

规则已存在 请选择一个未配置