
# 错误码
当您调用API时，如果遇到"APIGW"开头的错误码，请参见[API网关错误码](https://support.huaweicloud.com/devg-apisign/api-sign-errorcode.html)进行处理。
| 状态码     | 错误码      | 错误信息                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | 描述                                                                                 | 处理措施                                                                     |
|:---|:---|:---|:---|:---|
| 400     | NAT.1010 | Request parameter Json parsing failed %s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 请求参数Json解析失败                                                                       | 请检查请求参数格式是否正确。                                                           |
| 400     | NAT.1015 | Tags parameter is illegal.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | tag参数不合法                                                                           | 请检查tag参数是否合法。                                                            |
| 400     | NAT.1016 | The number of tags exceeds the limit %s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | tag数量超过最大约束                                                                        | 请设置不超过%s个tag。                                                            |
| 400     | NAT.1022 | Account is restricted, operation is forbidden.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | 账号受限不允许创建私网NAT网关                                                                   | 请查看账号是否处于受限状态并联系技术支持。                                                    |
| 400     | NAT.1023 | Account is suspended, operation is forbidden.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | 账号冻结不允许创建私网NAT网关                                                                   | 请查看账号是否处于冻结状态并联系技术支持。                                                    |
| 400     | NAT.1101 | Transit subnet can not be create with this network %s. //External subnet can not be create with this network %s.                                                                                                                                                                                                                                                                                                                                                                                                          | 中转IP所在子网不可用                                                                        | 请联系技术支持。                                                                 |
| 400     | NAT.1201 | %s downlink vpc has been associated to this private nat gateway, no more is allowed.                                                                                                                                                                                                                                                                                                                                                                                                                                      | downlink_vpc的数量不允许超过最大约束                                                           | 请输入最多1个downlink_vpc。                                                     |
| 400     | NAT.1202 | There are one or more rules still in use on the gateway %s, can not be deleted.                                                                                                                                                                                                                                                                                                                                                                                                                                           | 私网NAT网关存在规则因此不允许被删除                                                                | 请删除私网NAT网关的所有规则后再删除私网NAT网关。                                              |
| 400     | NAT.1204 | This vpc at most have %s private nat gateway.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | VPC下私网NAT网关数量已达最大约束                                                                | 请使用其他VPC或删除该VPC下的其他私网NAT网关。                                              |
| 400     | NAT.1206 | Update (%s) spec to (%s) are the same as the original.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 不能使用相同的规格更新私网NAT网关                                                                 | 请使用和原始规格不同的规格更新私网NAT网关。                                                  |
| 400     | NAT.1207 | Gateway %s already has %d rules, the maximum number of rule for spec %s is %d. Downgrade is forbidden. //Add this gateway rule over rule max %d.                                                                                                                                                                                                                                                                                                                                                                          | 私网NAT网关当前规则数已超过网关更新的规格的最大约束时，不允许更新网关规格。私网NAT网关规则数已达规格最大约束，不允许新建规则。                 | 请确保私网NAT网关当前的规则数不会超过更新规格后的规格最大约束。请删除一些规则或扩大私网NAT网关的规格。                   |
| 400     | NAT.1208 | Gateway %s is frozen, create operation is forbidden. //Gateway %s is frozen, delete operation is forbidden. //Gateway %s is frozen, update operation is forbidden.                                                                                                                                                                                                                                                                                                                                                        | 私网NAT网关已被冻结时禁止相关操作。                                                                | 请检查私网NAT网关是否处于冻结状态并联系技术支持。                                               |
| 400     | NAT.1306 | dnat Parameters entered are illegal, protocol:any should be entered with internal_service_port:0 and transit_service_port:0 together. //dnat Parameters entered are illegal, protocol:any should be entered with internal_service_port:0 and external_service_port:0 together.                                                                                                                                                                                                                                            | DNAT规则请求体中的参数不合法：protocol为any、internal_service_port为0、transit_service_port为0需同时配置。 | 请使用合法参数进行配置。                                                             |
| 400     | NAT.1311 | The networkInterfaceId(port_id) and private_ip_address(fixed_ip_address) exist at the same time or both are empty, but at least one value is empty.                                                                                                                                                                                                                                                                                                                                                                       | network_interface_id和private_ip_address不能同时存在或同时为空，需指定其一                           | 请指定network_interface_id或private_ip_address。                              |
| 400     | NAT.1404 | No more IP addresses available on subnet %s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | 子网内已不存在可用IP地址                                                                      | 请联系技术支持。                                                                 |
| 400     | NAT.1405 | IP address %s is not a valid IP for the subnet.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | IP地址不是子网的有效IP                                                                      | 请联系技术支持。                                                                 |
| 400     | NAT.1501 | Either virSubnet(network) or cidr must be specified." + "Both can not be specified at the same time.                                                                                                                                                                                                                                                                                                                                                                                                                      | virsubnet_id和cidr参数二选一                                                             | 请指定virsubnet_id或cidr。                                                    |
| 400     | NAT.1502 | Cidr is invalid, make sure it's format is correct.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | cidr格式不合法                                                                          | 请输入合法的cidr，例如192.168.0.0/24。                                             |
| 400     | NAT.1506 | %s transit ip has been associated to this SNAT rules's transit ip pool, no more is allowed. //%s external ip has been associated to this SNAT rules's external ip pool, no more is allowed.                                                                                                                                                                                                                                                                                                                               | SNAT规则的中转IP数量超过了最大约束                                                               | 请输入最多1个中转IP。                                                             |
| 400     | NAT.1507 | 'transit_ip_id' attribute value should be 'uuid' type! //'external_ip_id' attribute value should be 'uuid' type!                                                                                                                                                                                                                                                                                                                                                                                                          | transit_ip_id不合法                                                                   | 请输入UUID格式的transit_ip_id。                                                 |
| 404     | NAT.1002 | %s %s could not be found.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 资源不存在                                                                              | 请查询资源是否存在或联系技术支持。                                                        |
| 404     | NAT.1003 | VirSubnet %s could not be found in vpc for gateway %s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | SNAT规则后端子网不在私网NAT网关实例所属的VPC                                                        | 请确保SNAT规则后端子网属于私网NAT网关实例所属的VPC。                                          |
| 404     | NAT.1009 | Port %s information is missing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Port缺少信息                                                                           | 请联系技术支持。                                                                 |
| 409     | NAT.1303 | Transit ip %s is in this vpc, not support to specified. //External ip %s is in this vpc, not support to specified.                                                                                                                                                                                                                                                                                                                                                                                                        | 中转IP所属VPC与私网NAT网关所属VPC不能相同                                                         | 请使用与私网NAT网关所属VPC不同的中转IP。                                                 |
| 409     | NAT.1304 | Port %s is not in this vpc, not support to specified.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | DNAT规则后端的Port必须在私网NAT网关所属的VPC                                                      | 请确保DNAT规则后端的Port存在于私网NAT网关所属的VPC。                                        |
| 409     | NAT.1305 | Transit ip %s is used by exist dnat rule. //External ip %s is used by exist dnat rule.                                                                                                                                                                                                                                                                                                                                                                                                                                    | 中转IP已被DNAT规则使用                                                                     | 请使用没有被DNAT规则使用的中转IP。                                                     |
| 409     | NAT.1307 | Internal parameters entered conflict with exist dnat rules. //PrivateIp(FixedIp) %s is used by exist dnat rule.                                                                                                                                                                                                                                                                                                                                                                                                           | DNAT规则内网信息冲突                                                                       | 请使用与已有DNAT规则不冲突的Port/私网IP、后端端口、协议。                                       |
| 409     | NAT.1308 | Transit ip %s is used by exist snat rule. //External ip %s is used by exist snat rule.                                                                                                                                                                                                                                                                                                                                                                                                                                    | 中转IP已被SNAT规则使用                                                                     | 请使用没有被SNAT规则使用的中转IP。                                                     |
| 409     | NAT.1309 | Port %s is used by exist dnat rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | Port已被其他协议类型的DNAT规则使用                                                              | 请使用没有被其他协议类型的DNAT规则使用的Port。                                              |
| 409     | NAT.1310 | Transit parameters entered conflict with exist dnat rules. //External parameters entered conflict with exist dnat rules.                                                                                                                                                                                                                                                                                                                                                                                                  | DNAT规则外网信息冲突                                                                       | 请使用与已有DNAT规则不冲突的中转IP、端口、协议。                                              |
| 409     | NAT.1403 | Unable to complete operation for subnet %s. The IP address %s is in use.                                                                                                                                                                                                                                                                                                                                                                                                                                                  | IP地址已被使用                                                                           | 请联系技术支持。                                                                 |
| 409     | NAT.1406 | Transit ip %s has used by private nat gateway %s. //External ip %s has used by private nat gateway %s.                                                                                                                                                                                                                                                                                                                                                                                                                    | 中转IP已被其他私网NAT网关使用                                                                  | 请使用未被其他私网NAT网关使用的中转IP。                                                   |
| 409     | NAT.1409 | Transit ip %s is used by rules. //External ip %s is used by rules.                                                                                                                                                                                                                                                                                                                                                                                                                                                        | 中转IP被规则使用                                                                          | 请确认中转IP不被其他规则使用后再进行删除。                                                   |
| 409     | NAT.1410 | Transit ip %s is used by dnat rules of other protocols. //External ip %s is used by dnat rules of other protocols.                                                                                                                                                                                                                                                                                                                                                                                                        | 中转IP被其他协议类型的DNAT规则使用                                                               | 请使用不被其他协议类型的DNAT规则使用的中转IP。                                               |
| 409     | NAT.1503 | Snat rule for network %s exists.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | 子网已被其他SNAT规则使用                                                                     | 请选择一个未配置SNAT规则的子网。                                                       |
| 409     | NAT.1505 | Snat rule for cidr %s exists.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | cidr已被其他SNAT规则使用                                                                   | 请输入与现有SNAT规则不相同的cidr。                                                    |
| 500     | NAT.1001 | Internal Server Error.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 内部服务错误                                                                             | 请联系技术支持。                                                                 |
| 500     | NAT.1004 | Create Port Failed with subnet %s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | 子网内创建Port失败                                                                        | 请联系技术支持。                                                                 |
| 500     | NAT.1005 | Delete Port %s Failed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 删除Port失败                                                                           | 请联系技术支持。                                                                 |
| 400     | NAT.0001 | Invalid value for created_at %(timestamp)s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | 时间戳不合法                                                                             | 请检查输入的时间格式是否正确。                                                          |
| 400     | NAT.0002 | Invalid parameters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       | 请求参数不合法                                                                            | 请检查输入的参数是否正确。                                                            |
| 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网关的子网。                                                        |
| 400     | NAT.0014 | Invalid input for description.+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 not in \['1', '2', '3', '4'\].                                                                                                                                                                                                                                                                                                                                                                                                                                                    | 参数spec不在（1,2,3,4）其中之一                                                              | 请检查参数spec的值是否在（1,2,3，4）其中之一。                                             |
| 400     | NAT.0017 | Invalid input for router_id. Reason: '\*\*\*\*\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*\*\*\*\*\*\*\*\*\*' is not a valid UUID.                                                                                                                                                                                                                                                                                                                                                                                        | router_id不是合法的UUID                                                                 | 请检查输入的router_id是否正确。                                                     |
| 400     | NAT.0018 | Invalid input for internal_network_id. Reason: '\*\*\*\*\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*\*\*\*\*\*\*\*\*\*' is not a valid UUID.                                                                                                                                                                                                                                                                                                                                                                              | internal_network_id不是合法的UUID                                                       | 请检查输入的internal_network_id是否正确。                                           |
| 400     | NAT.0022 | Either network_id or cidr must be specified. Both can not be specified at the same time                                                                                                                                                                                                                                                                                                                                                                                                                                   | SNAT规则cidr和network冲突                                                               | 请选择network_id和cidr两个输入一个即可。                                              |
| 400     | NAT.0026 | Floating IP \*\*\*\*\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*\*\*\*\*\*\*\*\*\* could not be found.                                                                                                                                                                                                                                                                                                                                                                                                                    | Floating_ip_id不存在                                                                  | 请检查输入的floating_ip_id是否正确。                                                |
| 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | NAT网关未处于激活状态                                                                       | 请确认网关状态，如果长时间处于非"运行"状态，请联系技术支持。                                          |
| 400     | NAT.0104 | NatGateway %(nat_gateway_id)s is not UP. //NatGateway %(nat_gateway_id)s is frozen.can not update.                                                                                                                                                                                                                                                                                                                                                                                                                        | NAT网关处于冻结状态                                                                        | 请确认网关状态，网关可能因为欠费等原因被冻结，不允许进行更新操作。                                        |
| 400     | NAT.0106 | Concurrent conflict requests found                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | NAT网关并发操作冲突                                                                        | 请联系技术支持。                                                                 |
| 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网关不支持绑定IPv6类型的弹性公网IP                                                            | 请绑定IPv4类型的弹性公网IP。                                                        |
| 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 allowed                                                                                                                                                                                                                                                                                                                                                                                                                                                   | NAT网关数目超出规格                                                                        | 请选择其他VPC创建NAT网关或者删除该VPC下已创建的NAT网关。                                       |
| 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                                                                                                                                                                                                                                                                                                                                                                                                                                    | SNAT规则cidr和network冲突                                                               | 请配置SNAT规则时不要同时指定Cidr和Network_id字段。                                       |
| 400     | NAT.0203 | cidr is invalid, make sure it's format is correct.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | SNAT规则cidr不合法                                                                      | 请输入合法的CIDR，例如192.168.0.0/24。                                             |
| 400     | NAT.0204 | source_type and network_id is incompatible.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | SNAT规则类型不合法                                                                        | 如果为VPC配置SNAT规则，Source_Type可不携带，如果携带，必须为0；                                |
| 400     | NAT.0205 | cidr must be a subset of subnet's cidr.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | VPC侧SNAT规则中的cidr必须是子网网段的子集                                                         | 如果为VPC配置SNAT规则，CIDR必须是子网的子集。例如：子网为192.168.0.0/24,CIDR可填写192.168.0.0/25。  |
| 400     | NAT.0206 | cidr conflicts with subnet's cidr.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | SNAT规则cidr与子网网段冲突                                                                  | 如果为专线配置SNAT规则，CIDR不能与VPC的子网冲突。                                           |
| 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规则的子网。                                                       |
| 400     | NAT.0210 | Invalid input for floating_ip_id. Reason: \\'%(fip)s\\' is not a valid UUID. //Invalid value for public ip id.                                                                                                                                                                                                                                                                                                                                                                                                            | SNAT规则的公网地址的ID不是合法的UUID                                                            | 请输入合法的UUID。                                                              |
| 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_service_port_range' out of range(1-65535). //internal_service_port_range': invalid format. //internal_service_port_range': param is null. //'internal_service_port_range' and 'external_service_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 not supported.Only protocol values %(values)s and integer representations \[6, 17, 0\] are supported.                                                                                                                                                                                                                                                                                                                                                                                     | DNAT规则协议不合法                                                                        | 请配置合法的协议，范围在\[6, 17, 0\]中，对应TCP、UDP、ANY。                                 |
| 400     | NAT.0303 | Invalid value for port %(port)s                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | DNAT规则端口不合法                                                                        | 请配置合法的内网端口和外网端口，范围0-65535。                                               |
| 400     | NAT.0304 | The port_id, private_ip, internal port and protocol specified have been occupied.                                                                                                                                                                                                                                                                                                                                                                                                                                         | DNAT规则内网信息冲突                                                                       | 请输入与现有DNAT规则不冲突的虚拟机Port ID或私网地址及私网端口。                                    |
| 400     | NAT.0305 | The floating ip, external port and protocol specified have been occupied.                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 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.                                                                                                                                                                                                                                                                                                                                                                                                            | DNAT规则AllPort类型请求信息错误                                                              | 私网端口和外网端口都为0及协议为any必须同时配置才生效。                                            |
| 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规则中私网IP与已有DNAT规则冲突                                                             | 私网地址与已有DNAT规则冲突，请更换私网地址创建或更新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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | 不支持虚拟IP地址                                                                          | 私网地址不支持配置为虚拟IP地址，请配置合法的私网地址。                                             |
| 400     | NAT.0313 | %(limit)s DNAT rules has been associated to this Floating IP, no more is allowed                                                                                                                                                                                                                                                                                                                                                                                                                                          | DNAT规则条数超出规格                                                                       | 绑定同一浮动IP的DNAT规则条数超出上限。                                                   |
| 400     | NAT.0314 | batch create dnat rules max limit: %(limit)s                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | 批量添加DNAT规则条数超出规格                                                                   | 请减少DNAT规则条数进行批量添加。                                                       |
| 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 update.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | DNAT规则被冻结，无法更新                                                                     | 请检查DNAT规则绑定的floating_ip是否处于欠费状态或用户账户是否处于欠费状态。                            |
| 400     | NAT.0401 | Floating Ip %(fip)s is freezed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | EIP处于冻结状态                                                                          | 请重新选择未被冻结的弹性公网IP地址。                                                      |
| 400     | NAT.0402 | Floating Ip %(fip)s has associated with port %(port)s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | EIP关联限制（已关联到另一个端口）                                                                 | 请选择未绑定到其他对象的弹性公网IP地址，例如弹性公网IP地址绑定到了ECS，则不能再绑定到NAT网关。                     |
| 400     | NAT.0403 | There is a duplicate EIP %(fips)s in SNAT rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | 公网IP已被SNAT规则占用，请重新绑定                                                               | 该弹性公网IP已被SNAT规则绑定，请重新绑定其他弹性公网IP。                                         |
| 400     | NAT.0404 | Floating Ip %(fip)s has used by nat gateway %(nat_gateway)s.                                                                                                                                                                                                                                                                                                                                                                                                                                                              | EIP关联限制（已关联到另一个NAT网关实例）                                                            | 弹性公网IP已经绑定到其他NAT网关，请重新选择。                                                |
| 400     | NAT.0405 | Floating Ip %(fip)s has been occupied.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | EIP已被占用                                                                            | 弹性公网IP已经绑定到其他NAT网关，请重新选择。                                                |
| 400     | NAT.0407 | Floating Ip %(fip)s is used by other rules                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | EIP关联限制(已关联到另一条规则)                                                                 | 弹性公网IP被其他规则使用，请重新选择。                                                     |
| 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是否有效                                                    |
| 400     | VPC.0002 | Available zone Name is null.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | 可用区为空                                                                              | 请确认创建子网的请求体中availability_zone字段是否为空。                                     |
| 400     | VPC.0004 | VPC does not active, please try later.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | VPC状态异常                                                                            | 请稍后重试或联系技术支持。                                                            |
| 400     | VPC.0007 | urlTenantId is not equal tokenTenantId                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | url里的tenant_id和token中解析到的tenant_id不一致                                              | 请联系技术支持。                                                                 |
| 400     | VPC.0011 | EnterpriseProjectId is invalid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | 企业项目id非法                                                                           | 请输入合法的企业项目id。                                                            |
| 400     | VPC.0014 | This enterpriseProject 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | NAT网关未处于激活状态                                                                       | 请确认网关状态，如果长时间处于非"运行"状态，请联系技术支持。                                          |
| 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | NAT网关处于冻结状态                                                                        | 请检查网关是否因为欠费等原因被冻结，不允许进行更新操作。                                             |
| 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | 默认路由已存在                                                                            | 路由器下已存在默认路由，请先删除默认路由再创建NAT网关。                                            |
| 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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 规则已存在                                                                              | 请选择一个未配置SNAT规则的子网。                                                       |
| 400     | VPC.2019 | Resource %(res_type)s %(res)s is used by %(user_type)s %(user)s                                                                                                                                                                                                                                                                                                                                                                                                                                                           | 资源被占用                                                                              | 请联系技术支持。                                                                 |
| 400     | VPC.2020 | get dnatRules error limit is invalid. //get dnatrules error marker is invalid. //endpoint is empty. //DnatRule id invalid. //Request is null. //DnatRule id invalid. //DnatRule natGatewayId id invalid.                                                                                                                                                                                                                                                                                                                  | DNAT规则参数错误                                                                         | 请确认输入的参数是否正确或联系技术支持。                                                     |
| 400     | VPC.2022 | Port %(port)s is not a valid port.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | DNAT规则虚拟机Port ID不合法                                                                | 请配置合法的虚拟机Port ID。                                                        |
| 400     | VPC.2023 | The port_id, private_ip, internal port and protocol specified have been occupied.                                                                                                                                                                                                                                                                                                                                                                                                                                         | DNAT规则内网信息冲突                                                                       | 请输入与现有DNAT规则不冲突的虚拟机Port ID或私网地址及私网端口。                                    |
| 400     | VPC.2024 | The floating ip, external port and protocol specified have been occupied.                                                                                                                                                                                                                                                                                                                                                                                                                                                 | DNAT规则外网信息冲突                                                                       | 请输入与现有DNAT规则不冲突的浮动IP的ID、外网端口、协议。                                         |
| 400     | VPC.2026 | %(limit)s DNAT rules has been associated to this Floating IP, no more is allowed                                                                                                                                                                                                                                                                                                                                                                                                                                          | 绑定同一浮动IP的DNAT规则条数超出上限                                                              | 请减少DNAT规则条数。                                                             |
| 400     | VPC.2027 | 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     | VPC.2028 | The private_ip already existing dnat allport rules or dnat rules, can no longer create dnat rules or dnat allport rules.                                                                                                                                                                                                                                                                                                                                                                                                  | DNAT规则中私网IP与已有Dnat规则冲突                                                             | 私网地址与已有DNAT规则冲突，请更换私网地址创建或更新DNAT规则。                                      |
| 400     | VPC.2029 | DNAT rule is frozen, can no longer update.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | DNAT规则被冻结，无法更新                                                                     | 请检查DNAT规则绑定的floating_ip是否处于欠费状态或用户账户是否处于欠费状态。                            |
| 400     | VPC.2030 | The system is busy. Please try again later.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | 系统繁忙，请稍后再试                                                                         | 系统繁忙，请稍后再试。                                                              |
| 400     | VPC.2031 | Either network_id or cidr must be specified.Both can not be specified at the same time                                                                                                                                                                                                                                                                                                                                                                                                                                    | SNAT规则cidr和network冲突                                                               | 请配置SNAT规则时不要同时指定Cidr和Network_id字段。                                       |
| 400     | VPC.2032 | cidr is invalid, make sure it's format is correct.                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | SNAT规则cidr不合法                                                                      | 请输入合法的CIDR，例如192.168.0.0/24。                                             |
| 400     | VPC.2033 | source_type and network_id is incompatible.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | SNAT规则类型不合法                                                                        | 如果为VPC配置SNAT规则，Source_Type可不携带，如果携带，必须为0；如果为专线侧配置SNAT规则，Source_type必须为1。 |
| 400     | VPC.2034 | cidr must be a subset of subnet's cidr.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | VPC侧SNAT规则中的cidr必须是子网网段的子集                                                         | 如果为VPC配置SNAT规则，CIDR必须是子网的子集。例如：子网为192.168.0.0/24,CIDR可填写192.168.0.0/25。  |
| 400     | VPC.2035 | cidr conflicts with subnet's cidr.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | SNAT规则cidr与子网网段冲突                                                                  | 如果为专线配置SNAT规则，CIDR不能与VPC的子网冲突。                                           |
| 400     | VPC.2036 | cidr in the request conflicts with cidrs of existing rules.                                                                                                                                                                                                                                                                                                                                                                                                                                                               | SNAT网段冲突                                                                           | 请输入与现有SNAT规则不冲突的CIDR。                                                    |
| 400     | VPC.2037 | The virtual IP address is not supported.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | 不支持虚拟IP地址                                                                          | 私网地址不支持配置为虚拟IP地址，请配置合法的私网地址。                                             |
| 400     | VPC.2038 | %(limit)s DNAT rules has been associated to this NAT Gateway, no more is allowed                                                                                                                                                                                                                                                                                                                                                                                                                                          | DNAT规则条数超出规格                                                                       | 请删除一些DNAT规则。                                                             |
| 400     | VPC.2039 | %(limit)s EIP has been associated to this SNAT rules's EIP pool, no more is allowed.                                                                                                                                                                                                                                                                                                                                                                                                                                      | 绑定到SNAT规则的EIP个数超过上限                                                                | 请减少弹性公网IP数量。                                                             |
| 400     | VPC.2040 | Invalid value for public ip id.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | SNAT规则的公网地址的ID不可以是空串                                                               | 请输入合法的UUID。                                                              |
| 400     | VPC.2042 | There is a duplicate EIP %(fips)s in SNAT rule.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | EIP已被SNAT规则使用                                                                      | 该弹性公网IP已被SNAT规则绑定，请重新绑定其他弹性公网IP。                                         |
| 400     | VPC.2043 | Floating Ip %(fip)s is used by other rules                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | EIP关联限制(已关联到另一条规则)                                                                 | 请重新选择EIP。                                                                |
| 400     | VPC.2044 | Invalid input for floating_ip_id. Reason: \\'%(fip)s\\' is not a valid UUID.                                                                                                                                                                                                                                                                                                                                                                                                                                              | SNAT规则的公网地址的ID不是合法的UUID                                                            | 请输入合法的UUID。                                                              |
| 400     | VPC.2045 | Get Nat gateway host failed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | 选择网关节点错误                                                                           | 请联系技术支持。                                                                 |
| 400     | VPC.2046 | Get Nat gateway agent local_ip failed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | 获取网关节点的IP错误                                                                        | 请联系技术支持。                                                                 |
| 400     | VPC.2047 | Get RouteTable %(router_id)s failed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | 获取VPC路由表错误                                                                         | 请联系技术支持。                                                                 |
| 400     | VPC.2048 | Invalid value for created_at %(timestamp)s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               | 时间戳不合法                                                                             | 请检查输入的时间格式是否正确。                                                          |
| 400     | VPC.2049 | DB Error                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | 数据库异常                                                                              | 请联系技术支持。                                                                 |
| 400     | VPC.2050 | Concurrent conflict requests found                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | NAT网关并发操作冲突                                                                        | 请联系技术支持。                                                                 |
| 400     | VPC.2051 | Create NG Port failed.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | NAT网关内部端口创建失败                                                                      | NAT网关内部错误，请联系技术支持。                                                       |
| 400     | VPC.2052 | NG Port %(port)s is unbound.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | NAT网关内部端口未绑定                                                                       | NAT网关内部错误，请联系技术支持。                                                       |
| 400     | VPC.2053 | NatGateway does not support IPv6.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | NAT网关不支持IPv6                                                                       | 请绑定IPv4类型的弹性公网IP。                                                        |
| 400     | VPC.2054 | Dnat rule protocol %(protocol)s not supported.Only protocol values %(values)s and integer representations \[6, 17, 0\] are supported.                                                                                                                                                                                                                                                                                                                                                                                     | DNAT规则协议不合法                                                                        | 请配置合法的协议，范围在\[6, 17, 0\]中，对应TCP/UDP/ANY。                                 |
| 400     | VPC.2055 | 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     | VPC.2056 | The port_id and private_ip values are both empty, at least one value is not empty.                                                                                                                                                                                                                                                                                                                                                                                                                                        | DNAT规则缺少参数                                                                         | 虚拟机Port ID和私网地址都没有配置，请确认配置。                                              |
| 400     | VPC.2057 | batch create dnat rules max limit: %(limit)s                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | 批量创建DNAT规则条数超出规格                                                                   | 请减少批量创建DNAT规则条数。                                                         |
| 400     | VPC.2058 | Vtep_ip is Null.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | VtepIp参数不能为空                                                                       | 请联系技术支持                                                                  |
| 400     | VPC.2059 | Floating Ip %(fip)s is frozen.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | EIP处于冻结状态                                                                          | 请重新选择未被冻结的弹性公网IP地址                                                       |
| 400     | VPC.2060 | Floating Ip %(fip)s has associated with port %(port)s.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | EIP关联限制（已关联到另一个端口）                                                                 | 请选择未绑定到其他对象的弹性公网IP地址，例如弹性公网IP地址绑定到了ECS，则不能再绑定到NAT网关                      |
| 400     | VPC.2061 | Floating Ip %(fip)s has used by nat gateway %(nat_gateway)s.                                                                                                                                                                                                                                                                                                                                                                                                                                                              | EIP关联限制（已关联到另一个Nat网关实例）                                                            | 请重新选择EIP。                                                                |
| 400     | VPC.2062 | Floating Ip %(fip)s has been occupied.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | EIP已被占用                                                                            | 请重新选择EIP。                                                                |
| 400     | VPC.2069 | Invalid value for port %(port)s                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | DNAT规则端口不合法                                                                        | 请配置合法的内网端口和外网端口，范围0-65535。                                               |
| 400     | VPC.2070 | The external port equals 0 and internal port equals 0 and protocol equals any must satisfied at the same time.                                                                                                                                                                                                                                                                                                                                                                                                            | DNAT规则AllPort类型请求信息错误                                                              | 请同时配置私网端口和外网端口都为0及协议为any。                                                |
| 400     | VPC.2071 | The private ip address is not legal.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | DNAT规则私网IP不合法                                                                      | 请配置合法的私网地址。                                                              |
| 400     | VPC.2073 | Floating Ip %(fip)s can not be associated with both DNAT rule and DNAT all port rule.                                                                                                                                                                                                                                                                                                                                                                                                                                     | EIP关联限制(不能同时关联DNAT和DNAT all port)                                                  | 请重新选择EIP。                                                                |
| 400     | VPC.2074 | Floating Ip %(fip)s can not be associated with both SNAT rule and DNAT all port rule.                                                                                                                                                                                                                                                                                                                                                                                                                                     | EIP关联限制(不能同时关联SNAT和DNAT all port)                                                  | 请重新选择EIP。                                                                |
| 400     | VPC.2075 | Enter a maximum of 255 characters.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | 描述字符数超过255个                                                                        | 请检查输入的描述字符个数                                                             |
| 400/404 | NAT.0105 | NatGateway %(nat_gateway_id)s does not exist.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | NAT网关不存在(http状态码400对应的是删除网关时网关不存在，404对应创建、查询时网关不存在)                                | 请检查该nat_gateway_id是否存在。                                                  |
| 401     | NAT.0025 | Token is expired.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | Token过期                                                                            | 请检查输入的token是否在有效期。                                                       |
| 401     | VPC.0008 | Invalid token in the header.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | token非法                                                                            | 请确认请求头中的token是否合法。                                                       |
| 401     | VPC.0009 | real-name authentication fail.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | 实名认证失败                                                                             | 请联系技术支持。                                                                 |
| 403     | VPC.0010 | Rules on xx by \*\* disallowed by policy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | 调用底层权限不足                                                                           | 请赋予正确的细粒度权限。                                                             |
| 403     | VPC.2201 | Policy doesn't allow \<x:x:x\> to be performed                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | 细粒度权限不足                                                                            | 请赋予正确的细粒度权限。                                                             |
| 403     | VPC.2701 | Token not allowed to do this action.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | 无权操作，或账户余额不足                                                                       | 请确认账户是否余额不足或被冻结。                                                         |
| 404     | NAT.0004 | The router %(router_id)s does not exist.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Router不存在                                                                          | 路由器不存在，请检查输入的路由器是否正确。                                                    |
| 404     | NAT.0005 | Network %(network_id)s does not exist.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | Network不存在                                                                         | 子网不存在，请输入合法的子网。                                                          |
| 404     | NAT.0013 | Router %(router)s for the specified NAT gateway could not be found.                                                                                                                                                                                                                                                                                                                                                                                                                                                       | 没有找到指定NAT网关的路由                                                                     | 请为指定NAT网关创建路由。                                                           |
| 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 requires admin privileges                                                                                                                                                                                                                                                                                                                                                                                                                               | tenant_id为空或不存在                                                                    | 请检查输入的tenant_id是否存在。                                                     |
| 404     | NAT.0021 | Invalid input for nat_gateway_id. Reason: '\*\*\*\*\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*\*\*\*\*\*\*\*\*\*'is not a valid UUID.                                                                                                                                                                                                                                                                                                                                                                                    | Nat_gateway_id为空或不存在                                                               | 请检查输入的nat_gateway_id是否存在。                                                |
| 404     | NAT.0023 | Port '\*\*\*\*\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*\*\*\*\*\*\*\*\*\*' could not be found.                                                                                                                                                                                                                                                                                                                                                                                                                         | Port_id不存在                                                                         | 请检查输入的port_id是否存在。                                                       |
| 404     | NAT.0024 | Invalid input for floating_ip_id. Reason: '\*\*\*\*\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*-\*\*\*\*\*\*\*\*\*\*\*\*\*'is not a valid UUID.                                                                                                                                                                                                                                                                                                                                                                                    | Floating_ip_id不存在、为空或者非法                                                           | 请检查输入的floating_ip_id是否正确。                                                |
| 404     | NAT.0209 | No Snat Rule exist with id %(id)s                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | SNAT规则不存在                                                                          | 请检查SNAT规则的id是否存在。                                                        |
| 404     | NAT.0319 | No Dnat Rule exist with id %(id)s                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | DNAT规则不存在                                                                          | 请联系技术支持。                                                                 |
| 404     | VPC.0003 | VPC does not exit.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | VPC不存在                                                                             | 请确认VPC的id是否填写正确或该租户下是否确实存在该VPC。                                          |
   
