更新时间:2022-01-25 GMT+08:00

错误码说明 v2.0

背景信息

  • 接口返回的错误码与Error Message不具有一一对应关系,表中只是列出比较常见的一种或几种Error Message。
  • 本服务接口以异步接口居多,有的错误码是在查询任务的返回体中体现的,http状态码有可能不是很准确。
  • 本服务对网络、存储等服务具有强依赖性,Error Message显示依赖服务的错误消息时,处理措施需要联系技术支持。

错误码说明

模块

http状态码

错误码

错误说明

Error Message

处理措施

公共

400

VPC.0002

可用区为空

Available zone Name is null.

请确认创建子网的请求体中availability_zone字段是否为空

404

VPC.0003

VPC不存在

VPC does not exit.

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

400

VPC.0004

VPC状态异常

VPC does not active,please try later.

请稍后重试或联系技术支持

400

VPC.0007

tenantID不一致

urlTenantId is not equal tokenTenantId

url里的tenant_id和token中解析到的tenant_id不一致

401

VPC.0008

token非法

Invalid token in the header.

请确认请求头中的token是否合法

401

VPC.0009

实名认证失败

real-name authentication fail.

请联系技术支持

403

VPC.2701

无权操作,或账户余额不足

Token not allowed to do this action.

请确认账户是否余额不足或被冻结

403

VPC.0010

调用底层权限不足

Rules on xx by ** disallowed by policy

请赋予正确的细粒度权限

403

VPC.2201

细粒度权限不足

Policy doesn't allow <x:x:x> to be performed

请赋予正确的细粒度权限

400

VPC.0014

企业项目不可用

This enterpriseProject status is disable.

更换其他可用企业项目id

400

VPC.0011

企业项目id非法

EnterpriseProjectId is invalid

输入合法的企业项目id

400

VPC.2048

时间戳不合法

Invalid value for created_at %(timestamp)s.

请检查输入的时间格式是否正确

400

VPC.2002

请求参数不合法

Invalid parameters.

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

400

VPC.2010

默认路由已存在

The router %(router_id)s has default route.

路由器下已存在默认路由,请先删除默认路由再创建NAT网关

400

VPC.2011

Router不存在

The router %(router_id)s does not exist.

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

400

VPC.2009

Network不存在

Network %(network_id)s does not exist.

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

400

VPC.2016

规则还没有被删除

Rule has not been deleted.

请联系技术支持

400

VPC.2049

数据库异常

DB Error

请联系技术支持

400

VPC.2013

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

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

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

400

VPC.2019

资源被占用

Resource %(res_type)s %(res)s is used by %(user_type)s %(user)s

请联系技术支持

400

VPC.2008

Network下没有Subnet

Network %(network)s does not contain any IPv4 subnet

请联系技术支持

400

VPC.2012

VPC下已存在nat网关

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

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

NatGateway

400

VPC.2000

Nat网关请求错误

Lack of user authority.

//request is null.

//endpoint is empty.

// resource type is invalid. //create natgateway requset is null. //update natgateway request is null

请联系技术支持

400

VPC.2030

系统繁忙,请稍后再试

The system is busy. Please try again later.

系统繁忙,请稍后再试

400

VPC.2001

Nat网关参数错误

Request is invalid. //NatGateway id unvalid.

// the enterprise project id is unsupported.

// the enterprise project id in request is invalid. //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.

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

400

VPC.2004

Nat网关未处于激活状态

NatGateway %(nat_gateway_id)s is not ACTIVE.

请确认网关状态,如果长时间处于非“运行”状态,请联系技术支持

400

VPC.2005

Nat网关未处于UP状态

NatGateway %(nat_gateway_id)s is not UP.

网关可能因为欠费等原因被冻结

400

VPC.2006

Nat网关处于冻结状态

NatGateway %(nat_gateway_id)s is frozen.can not update

网关可能因为欠费等原因被冻结,不允许进行更新操作

400

VPC.2007

Nat网关不存在

NatGateway %(nat_gateway_id)s does not exist.

NAT网关不存在

400

VPC.2050

Nat网关并发操作冲突

Concurrent conflict requests found

请联系技术支持

400

VPC.2051

Nat网关内部端口创建失败

Create NG Port failed.

NAT网关内部错误,请联系技术支持

400

VPC.2052

Nat网关内部端口未绑定

NG Port %(port)s is unbound.

NAT网关内部错误,请联系技术支持

400

VPC.2053

Nat网关不支持IPv6

NatGateway does not support IPv6.

NAT网关不支持绑定IPv6类型的弹性公网IP

400

VPC.2045

选择网关节点错误

Get Nat gateway host failed

请联系技术支持

400

VPC.2046

获取网关节点的IP错误

Get Nat gateway agent local_ip failed

请联系技术支持

400

VPC.2047

获取VPC路由表错误

Get RouteTable %(router_id)s failed.

请联系技术支持

400

VPC.2012

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

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

请重新选择未绑定nat网关的router

SnatRule

400

VPC.2014

Snat规则参数错误

Endpoint is null or empty. //Endpoint is Invalid.

//Request is null. //natGatewayId is invalid. //SnatRule id unvalid. //NatGatewayId is unvalid.

//Invalid value for public ip id.

//Endpoint is null.

//request is null.

//Query SnatRules list error marker is invalid.

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

400

VPC.2031

Snat规则cidr和network冲突

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

请配置SNAT规则时不要同时指定Cidr和Network_id字段

400

VPC.2032

Snat规则cidr不合法

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

请输入合法的CIDR,例如192.168.0.0/24

400

VPC.2033

Snat规则类型不合法

source_type and network_id is incompatible.

如果为VPC配置SNAT规则,Source_Type可不携带,如果携带,必须为0;

如果为专线侧配置SNAT规则,Source_type必须为1

400

VPC.2034

VPC侧snat规则中的cidr必须是子网网段的子集

cidr must be a subset of subnet's cidr.

如果为VPC配置SNAT规则,CIDR必须是子网的子集。例如:子网为192.168.0.0/24,CIDR可填写192.168.0.0/25

400

VPC.2035

Snat规则cidr与子网网段冲突

cidr conflicts with subnet's cidr.

如果为专线配置SNAT规则,CIDR不能与VPC的子网冲突。

400

VPC.2036

Snat网段冲突

cidr in the request conflicts with cidrs of existing rules.

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

400

VPC.2018

规则已存在

Snat rule for network %(network)s exists.

请选择一个未配置SNAT规则的子网

400

VPC.2042

EIP已被Snat规则使用

There is a duplicate EIP %(fips)s in SNAT rule.

该弹性公网IP已被SNAT规则绑定,请重新绑定其他弹性公网IP

400

VPC.2044

Snat规则的公网地址的ID不是合法的UUID

Invalid input for floating_ip_id. Reason: \'%(fip)s\' is not a valid UUID.

请输入合法的UUID

400

VPC.2040

Snat规则的公网地址的ID不可以是空串

Invalid value for public ip id.

请输入合法的UUID

400

VPC.2039

关联到SNAT规则的EIP个数超过上限

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

SNAT规则支持的弹性公网IP已经超过上限。具体限制请参考NAT网关接口。

DnatRule

400

VPC.2020

Dnat规则参数错误

get dnatRules error limit is invalid.

//get dnatrules error marker is invalid.

//endpoint is empty.

//DnatRule id unvalid.

//VPC ID is invalid.

//Request is null.

//DnatRule id invalid.

//DnatRule natGatewayId id invalid.

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

400

VPC.2054

Dnat规则协议不合法

Dnat rule protocol %(protocol)s not supported.Only protocol values %(values)s and integer representations [6, 17, 0] are supported.

请配置合法的协议,范围在[6, 17, 0]中,对应TCP/UDP/ANY

400

VPC.2069

Dnat规则端口不合法

Invalid value for port %(port)s

请配置合法的内网端口和外网端口,范围0-65535

400

VPC.2023

Dnat规则内网信息冲突

The port_id, private_ip, internal port and protocol spcified have been occupied.

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

400

VPC.2024

Dnat规则外网信息冲突

The floating ip, external port and protocol specified have been occupied.

请输入与现有DNAT规则不冲突的浮动IP的ID、外网端口、协议。

400

VPC.2070

Dnat规则AllPort类型请求信息错误

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

私网端口和外网端口都为0及协议为any必须同时配置才生效。

400

VPC.2027

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

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

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

400

VPC.2028

Dnat规则中私网IP与已有Dnat规则冲突

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

私网地址与已有dnat规则冲突,请更换私网地址创建或更新dnat规则。

400

VPC.2029

DNAT规则被冻结,无法更新

DNAT rule is frozen, can no longer update.

请检查dnat规则绑定的floating_ip是否处于欠费状态或用户账户是否处于欠费状态

400

VPC.2038

Dnat规则条数超出规格

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

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

400

VPC.2055

Dnat规则存在互斥参数

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

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

400

VPC.2056

Dnat规则缺少参数

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

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

400

VPC.2071

Dnat规则私网IP不合法

The private ip address is not legal.

请配置合法的私网地址。

400

VPC.2037

不支持虚拟IP地址

The virtual IP address is not supported.

私网地址不支持配置为虚拟IP地址,请配置合法的私网地址。

400

VPC.2026

Dnat规则条数超出规格

%(limit)s DNAT rules has been associated to this Floating IP, no more is allowed

绑定同一浮动IP的Dnat规则条数超出上限。

400

VPC.2057

批量创建Dnat规则条数超出规格

batch create dnat rules max limit: %(limit)s

批量创建Dnat规则条数超出上限。

400

VPC.2022

Dnat规则虚拟机Port ID不合法

Port %(port)s is not a valid port.

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

400

VPC.2058

VtepIp参数不能为空

Vtep_ip is Null.

请联系技术支持

400

VPC.2075

描述字符数超过255个

Enter a maximum of 255 characters.

请检查输入的描述字符个数

EIP

400

VPC.2059

EIP处于冻结状态

Floating Ip %(fip)s is freezed.

请重新选择未被冻结的弹性公网IP地址

400

VPC.2060

EIP关联限制(已关联到另一个端口)

Floating Ip %(fip)s has associated with port %(port)s.

请选择未绑定到其他对象的弹性公网IP地址,例如弹性公网IP地址绑定到了ECS,则不能再绑定到NAT网关

400

VPC.2061

EIP关联限制(已关联到另一个Nat网关实例)

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

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

400

VPC.2062

EIP已被占用

Floating Ip %(fip)s has been occupied.

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

400

VPC.2074

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

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

弹性公网IP不能同时绑定到Snat和Dnat all port规则

400

VPC.2073

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

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

弹性公网IP不能同时绑定到Dnat和Dnat all port规则

400

VPC.2043

EIP关联限制(已关联到另一条规则)

Floating Ip %(fip)s is used by other rules

弹性公网IP被其他规则使用