
# 错误码
#### 功能说明
API调用发生错误时，会有错误结构体返回，该小节主要是对VPC封装接口（不包括OpenStack原生接口）错误结构的解释。
#### 返回体格式
```
{
    "code": "VPC.0002",
    "message": "Available zone Name is null."
}
```
#### 错误码说明
当您调用API时，如果遇到"APIGW"开头的错误码，请参见[API网关错误码](https://support.huaweicloud.com/devg-apisign/api-sign-errorcode.html)进行处理。
| 模块                                                                                                        | 状态码     | 错误码      | 错误信息                                                                                                                                                                                                                                             | 描述                                                                                                            | 处理措施                                                                                                                             |
|:---|:---|:---|:---|:---|:---|
| 公共                                                                                                        | 400     | VPC.0002 | AZ name is null.                                                                                                                                                                                                                                 | 可用区为空                                                                                                         | 请确认创建子网的请求体中availability_zone字段是否为空                                                                                              |
| 公共                                                                                                        | 404     | VPC.0003 | VPC does not exist.                                                                                                                                                                                                                              | VPC不存在                                                                                                        | 请确认VPC的id是否填写正确或该租户下是否确实存在该VPC                                                                                                   |
| 公共                                                                                                        | 400     | VPC.0004 | VPC is not active. Try again later.                                                                                                                                                                                                              | VPC状态异常                                                                                                       | 请稍后重试或联系技术支持                                                                                                                     |
| 公共                                                                                                        | 401     | VPC.0005 | Lack of user authority.                                                                                                                                                                                                                          | 用户受限                                                                                                          | 请确认是否欠费或未申请公测权限                                                                                                                  |
| 公共                                                                                                        | 401     | VPC.0009 | Real-name authentication failed.                                                                                                                                                                                                                 | 实名认证失败                                                                                                        | 请联系技术支持                                                                                                                          |
| 公共                                                                                                        | 400     | VPC.0007 | Inconsistent tenant IDs.                                                                                                                                                                                                                         | tenantID不一致                                                                                                   | url里的tenant_id和token中解析到的tenant_id不一致                                                                                            |
| 公共                                                                                                        | 401     | VPC.0008 | Invalid token in the header.                                                                                                                                                                                                                     | token非法                                                                                                       | 请确认请求头中的token是否合法                                                                                                                |
| 公共                                                                                                        | 403     | VPC.2701 | Token is not allowed to do this action.                                                                                                                                                                                                          | 无权操作，或账户余额不足                                                                                                  | 请确认账户是否余额不足或被冻结                                                                                                                  |
| 公共                                                                    | 403     | VPC.0010 | Insufficient permissions to call the underlying system.                                                                                                                                                                                          | 调用底层权限不足                                                                                                      | 请赋予正确的细粒度权限                                                                                                                      |
| 公共                                                                    | 403     | VPC.2201 | Policy doesn't allow \<x:x:x\> to be performed                                                                                                                                                                                                   | 细粒度权限不足                                                                                                       | 请赋予正确的细粒度权限                                                                                                                      |
| 公共                                                                  | 400     | VPC.0014 | The enterprise project is unavailable.                                                                                                                                                                                                           | 企业项目不可用                                                                                                       | 更换其他可用企业项目id                                                                                                                     |
| 公共                                                                  | 400     | VPC.0011 | Invalid enterprise project ID.                                                                                                                                                                                                                   | 企业项目id非法                                                                                                      | 输入合法的企业项目id                                                                                                                      |
| 创建端口                                                                                                      | 400     | VPC.2500 | Invalid parameter.                                                                                                                                                                                                                               | 端口参数错误                                                                                                        | 请根据实际返回的Error Message参考接口文档检查传入的参数值是否合法                                                                                          |
| 创建端口                                                                                                      | 409     | VPC.0701 | IP is in use                                                                                                                                                                                                                                     | 端口IP地址已被占用                                                                                                    | 请更换IP地址创建端口                                                                                                                      |
| 创建端口                                                                                                      | 409     | VPC.2511 | Quota exceeded for resources: \['vip'\].                                                                                                                                                                                                         | 虚拟IP超出配额                                                                                                      | 请清理子网网段中不再使用的虚拟IP                                                                                                                |
| 创建端口                                                                                                      | 500     | VPC.2502 | The system error.                                                                                                                                                                                                                                | 调用后台服务异常                                                                                                      | 请重试或者联系技术支持                                                                                                                      |
| 查询端口                                                                                                      | 404     | VPC.2502 | Port xx not found                                                                                                                                                                                                                                | 端口资源不存在                                                                                                       | 请确认资源是否存在                                                                                                                        |
| 查询端口                                                                                                      | 500     | VPC.2502 | The system error.                                                                                                                                                                                                                                | 调用后台服务返回异常                                                                                                    | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 查询端口列表                                                                | 404     | VPC.2502 | Port xx not found                                                                                                                                                                                                                                | 端口资源不存在                                                                                                       | 请确认资源是否存在                                                                                                                        |
| 查询端口列表                                                                | 500     | VPC.2502 | The system error.                                                                                                                                                                                                                                | 调用后台服务返回异常                                                                                                    | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 删除端口                                                                                                      | 400     | VPC.2500 | Port's device_id is not empty.                                                                                                                                                                                                                   | 参数错误                                                                                                          | 请根据实际返回的Error Message检查传入的参数值是否合法                                                                                                |
| 删除端口                                                                                                      | 404     | VPC.2502 | Port xx not found                                                                                                                                                                                                                                | 参数错误                                                                                                          | 请确认资源是否存在                                                                                                                        |
| 删除端口                                                                                                      | 500     | VPC.2502 | Neutron Error.                                                                                                                                                                                                                                   | 调用后台服务异常                                                                                                      | 请重试或联系技术支持                                                                                                                       |
| 创建VPC                                                                                                     | 400     | VPC.0101 | Invalid VPC parameter values.                                                                                                                                                                                                                    | VPC参数错误                                                                                                       | 请根据实际返回的Error Message参考接口文档检查传入的参数值是否合法                                                                                          |
| 创建VPC                                                                                                     | 409     | VPC.0114 | Quota exceeded for resources: \['router'\].                                                                                                                                                                                                      | VPC数目已达到最大配额                                                                                                  | 请清理闲置不用的VPC资源或申请扩大VPC资源配额                                                                                                        |
| 创建VPC                                                                                                     | 400     | VPC.0115 | The router name exists.                                                                                                                                                                                                                          | VPC名称重复                                                                                                       | 请更换VPC名称                                                                                                                         |
| 查询VPC                                                                                                     | 400     | VPC.0101 | getVpc error vpcId is invalid.                                                                                                                                                                                                                   | VPC参数错误                                                                                                       | 请确认传入的VPCid是否正确                                                                                                                  |
| 查询VPC                                                                                                     | 404/500 | VPC.0105 | Neutron error.                                                                                                                                                                                                                                   | 调用后台服务异常                                                                                                      | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 查询VPC                                                                                                     | 500     | VPC.0106 | get router is null.                                                                                                                                                                                                                              | 调用后台服务返回异常                                                                                                    | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 查询VPC列表                                                                                                   | 400     | VPC.0101 | Query vpc list error.                                                                                                                                                                                                                            | 查询VPC列表失败                                                                                                     | 请根据实际返回的Error Message检查传入的参数值是否合法                                                                                                |
| 查询VPC列表                                                                                                   | 500     | VPC.0105 | Neutron error.                                                                                                                                                                                                                                   | 调用后台服务异常                                                                                                      | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 查询VPC列表                                                                                                   | 500     | VPC.0106 | The response of router query or getList is null.                                                                                                                                                                                                 | 调用后台服务响应结果为null或空                                                                                             | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 删除VPC                                                                                                     | 400/404 | VPC.0101 | Delete router error xx is invalid.                                                                                                                                                                                                               | 参数错误                                                                                                          | 请根据实际返回的Error Message检查传入的参数值是否合法                                                                                                |
| 删除VPC                                                                                                     | 500     | VPC.0102 | Router deletion failed.                                                                                                                                                                                                                          | 获取路由资源异常                                                                                                      | 请联系技术支持                                                                                                                          |
| 删除VPC                                                                                                     | 409     | VPC.0103 | Resource status is busy, try it again later.                                                                                                                                                                                                     | VPC状态为创建中，不允许删除                                                                                               | 请联系技术支持                                                                                                                          |
| 删除VPC                                                                                                     | 409     | VPC.0104 | Router contains subnets, please delete subnet first.                                                                                                                                                                                             | VPC下有子网，不允许删除                                                                                                 | 请先删除VPC下的子网                                                                                                                      |
| 删除VPC                                                                                                     | 404/500 | VPC.0105 | Neutron error.                                                                                                                                                                                                                                   | 调用后台服务异常                                                                                                      | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 删除VPC                                                                                                     | 409     | VPC.0107 | Delete the firewall first before deleting the router.                                                                                                                                                                                            | VPC下有网络ACL，不允许删除                                                                                              | 请先删除该租户下的网络ACL                                                                                                                   |
| 删除VPC                                                                                                     | 409     | VPC.0108 | Router is being used and cannot be deleted.                                                                                                                                                                                                      | VPC下有弹性公网IP，不允许删除                                                                                             | 请先删除该租户下的弹性公网IP                                                                                                                  |
| 删除VPC                                                                                                     | 409     | VPC.0110 | The VPC cannot be deleted because it is not in the stable status.                                                                                                                                                                                | VPC状态不为稳态，不允许删除                                                                                               | 请联系技术支持                                                                                                                          |
| 删除VPC                                                                                                     | 500     | VPC.0111 | Database error.                                                                                                                                                                                                                                  | VPC内部异常                                                                                                       | 请联系技术支持                                                                                                                          |
| 删除VPC                                                                                                     | 409     | VPC.0112 | Delete the security group first before deleting the router.                                                                                                                                                                                      | VPC下有安全组，不允许删除                                                                                                | 请先删除该租户下的安全组                                                                                                                     |
| 删除VPC                                                                                                     | 409     | VPC.0118 | ELB exists under this router. Delete ELB first.                                                                                                                                                                                                  | VPC下有弹性负载均衡，不允许删除                                                                                             | 请先删除占用该VPC的ELB                                                                                                                   |
| 删除VPC                                                                                                     | 500     | VPC.0119 | ELB error.                                                                                                                                                                                                                                       | VPC调用弹性负载均衡服务异常                                                                                               | 请确认ELB服务是否正常或联系技术支持                                                                                                              |
| 删除VPC                                                                                                     | 409     | VPC.0120 | Extension routes exist under this router. Delete the routes first.                                                                                                                                                                               | VPC包含扩展路由，不允许删除                                                                                               | 请先删除该VPC下的扩展路由                                                                                                                   |
| 删除VPC                                                                                                     | 409     | VPC.0109 | Router is being used and cannot be deleted.                                                                                                                                                                                                      | VPC下有VPN，不允许删除                                                                                                | 请先删除该租户下的VPN                                                                                                                     |
| 更新VPC                                                                                                     | 400     | VPC.0101 | Update router xx is invalid.                                                                                                                                                                                                                     | 参数错误                                                                                                          | 请根据实际返回的Error Message检查传入的参数值是否合法                                                                                                |
| 更新VPC                                                                                                     | 404/500 | VPC.0105 | Neutron error.                                                                                                                                                                                                                                   | 调用后台服务异常                                                                                                      | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 更新VPC                                                                                                     | 500     | VPC.0113 | Router status is not active.                                                                                                                                                                                                                     | VPC状态不为OK，不允许更新                                                                                               | 请稍后重试或联系技术支持                                                                                                                     |
| 更新VPC                                                                                                     | 400     | VPC.0115 | The router name exists.                                                                                                                                                                                                                          | VPC名称重复                                                                                                       | 请更换VPC名称                                                                                                                         |
| 更新VPC                                                                                                     | 400     | VPC.0117 | VPC CIDR block cannot contain the subnet CIDR block.                                                                                                                                                                                             | 参数无效，该网段没有包含当前VPC下的所有子网网段。                                                                                    | 请更换VPC的cidr                                                                                                                      |
| 创建子网                                                                                                      | 400     | VPC.0201 | Subnet name is invalid.                                                                                                                                                                                                                          | 子网参数错误                                                                                                        | 请根据实际返回的Error Message参考接口文档检查传入的参数值是否合法                                                                                          |
| 创建子网                                                                                                      | 500     | VPC.0202 | Create subnet failed.                                                                                                                                                                                                                            | 子网内部错误                                                                                                        | 请联系技术支持                                                                                                                          |
| 创建子网                                                                                                      | 400     | VPC.0203 | Subnet is not in the range of VPC.                                                                                                                                                                                                               | 子网网段不在VPC范围内                                                                                                  | 请更换子网的cidr                                                                                                                       |
| 创建子网                                                                                                      | 400     | VPC.0204 | The subnet already exists in the VPC or conflicts with an existing VPC subnet.                                                                                                                                                                   | 子网网段在VPC内已经存在                                                                                                 | 请更换子网的cidr                                                                                                                       |
| 创建子网                                                                                                      | 400     | VPC.0212 | Invalid subnet CIDR block.                                                                                                                                                                                                                       | 子网CIDR不合法                                                                                                     | 请确认子网的cidr是否合法                                                                                                                   |
| 查询子网                                                                                                      | 400     | VPC.0201 | Subnet ID is invalid.                                                                                                                                                                                                                            | 子网id不合法                                                                                                       | 请确认子网的id是否合法                                                                                                                     |
| 查询子网                                                                                                      | 404/500 | VPC.0202 | Query subnet fail.                                                                                                                                                                                                                               | 查询子网失败                                                                                                        | 请联系技术支持                                                                                                                          |
| 查询子网列表                                                                                                    | 400     | VPC.0201 | Query subnets list error.                                                                                                                                                                                                                        | 查询子网列表失败                                                                                                      | 请根据实际返回的Error Message检查传入的参数值是否合法                                                                                                |
| 查询子网列表                                                                                                    | 500     | VPC.0202 | List subnets error.                                                                                                                                                                                                                              | 查询子网列表失败                                                                                                      | 请联系技术支持                                                                                                                          |
| 删除子网                                                                                                      | 400     | VPC.0201 | Subnet ID is invalid.                                                                                                                                                                                                                            | 子网id不合法                                                                                                       | 请根据实际返回的Error Message检查传入的参数值是否合法                                                                                                |
| 删除子网                                                                                                      | 404/500 | VPC.0202 | Neutron error.                                                                                                                                                                                                                                   | 子网内部错误                                                                                                        | 请联系技术支持                                                                                                                          |
| 删除子网                                                                                                      | 400     | VPC.0207 | Subnet does not belong to the VPC.                                                                                                                                                                                                               | 子网不属于该VPC，不允许操作                                                                                               | 请确认子网是否在该VPC下                                                                                                                    |
| 删除子网                                                                                                      | 500     | VPC.0208 | The subnet cannot be deleted because it has private IP addresses that are being used.                                                                                                                                                            | 子网被私有IP使用，不允许删除                                                                                               | 请先删除子网下的私有IP                                                                                                                     |
| 删除子网                                                                                                      | 500     | VPC.0209 | The subnet is being used by an ECS or a load balancer.                                                                                                                                                                                           | 子网被虚拟机或弹性负载均衡使用，不允许删除                                                                                         | 请先删除创建在该子网下的ECS或ELB                                                                                                              |
| 删除子网                                                                                                      | 500     | VPC.0210 | Subnet has been used by routes, please remove the routes first and try again.                                                                                                                                                                    | 子网被自定义路由使用，不允许删除                                                                                              | 请先删除自定义路由                                                                                                                        |
| 删除子网                                                                                                      | 500     | VPC.0211 | The subnet is being used by a load balancer.                                                                                                                                                                                                     | 子网被弹性负载均衡所使用，不允许删除                                                                                            | 请先删除创建在该子网下的ELB                                                                                                                  |
| 删除子网                                                                                                      | 500     | VPC.0206 | Subnet has been used by VPN, please remove the subnet from the VPN and try again.                                                                                                                                                                | 子网被VPN使用，不允许删除                                                                                                | 请先删除占用该子网的VPN                                                                                                                    |
| 更新子网                                                                                                      | 400     | VPC.0201 | xx is invalid.                                                                                                                                                                                                                                   | 子网参数错误                                                                                                        | 请根据实际返回的Error Message检查传入的参数值是否合法                                                                                                |
| 更新子网                                                                                                      | 404/500 | VPC.0202 | Neutron error.                                                                                                                                                                                                                                   | 子网内部错误                                                                                                        | 请联系技术支持                                                                                                                          |
| 更新子网                                                                                                      | 500     | VPC.0205 | Invalid subnet status. Try again later.                                                                                                                                                                                                          | 子网状态为处理中，不允许更新                                                                                                | 请稍后重试或联系技术支持                                                                                                                     |
| 更新子网                                                                                                      | 400     | VPC.0207 | Subnet does not belong to the VPC.                                                                                                                                                                                                               | 子网不属于该VPC，不允许操作                                                                                               | 请确认子网是否在该VPC下                                                                                                                    |
| 查询配额                                                                                                      | 400     | VPC.1207 | Invalid resource type.                                                                                                                                                                                                                           | 指定的类型不存在                                                                                                      | 请使用已存在的正确类型。                                                                                                                     |
| 申请私有IP                                                                                                    | 500     | VPC.0701 | The IP address is in use.                                                                                                                                                                                                                        | 私有IP已存在                                                                                                       | 请更换一个私有IP地址再重试创建                                                                                                                 |
| 申请私有IP                                                                                                    | 400     | VPC.0705 | Invalid IP address for the specified subnet.                                                                                                                                                                                                     | 私有IP不合法                                                                                                       | 请确认请求体中传入的IP地址是否在子网网段内                                                                                                           |
| 申请私有IP                                                                                                    | 404     | VPC.2204 | Resource query by ID failed.                                                                                                                                                                                                                     | 查询资源不存在或者权限不足                                                                                                 | 请确认请求体中传入的子网是否存在或者当前账号是否有权查询到该子网                                                                                                 |
| 申请私有IP                                                                                                    | 409     | VPC.0703 | No more IP addresses available on network xxx.                                                                                                                                                                                                   | IP地址不足                                                                                                        | 请确认子网下是否已分配足够的IP地址                                                                                                               |
| 查询私有IP                                                                                                    | 404     | VPC.0704 | Resource query by ID failed.                                                                                                                                                                                                                     | 私有IP不存在                                                                                                       | 请确认该私有IP是否确实存在                                                                                                                   |
| 查询私有IP列表                                                                                                  | 400     | VPC.0702 | Private IP address query error.                                                                                                                                                                                                                  | 参数错误                                                                                                          | 请根据实际返回的Error Message检查传入的参数值是否合法                                                                                                |
| 删除私有IP                                                                                                    | 404     | VPC.0704 | Resource query by ID failed.                                                                                                                                                                                                                     | 私有IP不存在                                                                                                       | 请确认该私有IP是否确实存在                                                                                                                   |
| 删除私有IP                                                                                                    | 500     | VPC.0706 | Deleting port failed.                                                                                                                                                                                                                            | 删除异常                                                                                                          | 请稍后重试或联系技术支持                                                                                                                     |
| 删除私有IP                                                                                                    | 409     | VPC.0707 | Private IP address is in use.                                                                                                                                                                                                                    | 私有IP正在使用                                                                                                      | 请确认该私有IP是否被计算或其他资源占用                                                                                                             |
| 创建安全组                                                                | 400     | VPC.0601 | Invalid security group name.                                                                                                                                                                                                                     | 安全组参数错误                                                                                                       | 请根据实际返回的Error Message参考接口文档检查传入的参数值是否合法                                                                                          |
| 创建安全组                                                                | 500     | VPC.0602 | Add security group fail.                                                                                                                                                                                                                         | 安全组内部异常                                                                                                       | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 创建安全组                                                                | 409     | VPC.0604 | Quota exceeded for resources: \['security_group'\].                                                                                                                                                                                              | 安全组资源配额不足                                                                                                     | 请删除账号下不使用的安全组或申请扩大安全组配额                                                                                                          |
| 查询安全组                                                                                                     | 400     | VPC.0601 | Securitygroup id is invalid.                                                                                                                                                                                                                     | 安全组参数错误                                                                                                       | 请确认安全组的id是否合法                                                                                                                    |
| 查询安全组                                                                                                     | 500     | VPC.0602 | Query security group fail.                                                                                                                                                                                                                       | 安全组内部异常                                                                                                       | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 查询安全组                                                                                                     | 404     | VPC.0603 | Security group does not exist.                                                                                                                                                                                                                   | 安全组不存在                                                                                                        | 请确认安全组的id是否填写正确或该租户下是否确实存在该安全组                                                                                                   |
| 查询安全组                                                                                                     | 404/500 | VPC.0612 | Neutron error.                                                                                                                                                                                                                                   | 安全组内部异常                                                                                                       | 请联系技术支持                                                                                                                          |
| 查询安全组列表                                                                                                   | 400     | VPC.0601 | Query security groups error limit is invalid.                                                                                                                                                                                                    | 安全组参数错误                                                                                                       | 请根据实际返回的Error Message参考接口文档检查传入的参数值是否合法                                                                                          |
| 查询安全组列表                                                                                                   | 500     | VPC.0602 | Query security groups fail.                                                                                                                                                                                                                      | 安全组内部异常                                                                                                       | 请确认NEUTRON服务是否正常或联系技术支持                                                                                                          |
| 创建安全组规则                                                                                                   | 409     | VPC.0602 | 1.Security group rule already exists. 2.Quota exceeded for resources: \['security_group_rule'\]. 3.Failed to create the security group rule concurrently. The rule already exists. | 1.安全组规则已存在 2.安全组规则资源配额不足 3.并发创建安全组规则规则失败，安全组规则已存在 | 1.请更换创建安全组规则请求体 2.请删除账号下不使用的安全组规则或申请扩大安全组规则配额 3.请确认并发创建的安全组规则内容是否不同 |
| 路由表           | 400     | VPC.2800 | Invalid route table ID.                                                                                                                                                                                                                          | 路由表参数错误                                                                                                       | 请确认请求参数是否正确                                                                                                                      |
| 路由表           | 400/500 | VPC.2801 | Neutron error.                                                                                                                                                                                                                                   | 路由表内部错误                                                                                                       | 请检查请求参数或请联系技术支持进行处理                                                                                                              |
| 路由表           | 404     | VPC.2802 | Route table not found.                                                                                                                                                                                                                           | 找不到路由表资源                                                                                                      | 请确认请求资源是否存在                                                                                                                      |
| 路由表           | 400     | VPC.2803 | Neutron error.                                                                                                                                                                                                                                   | 路由的目的地址和子网网段重叠                                                                                                | 请求参数中路由的目的地址重叠                                                                                                                   |
| 路由表           | 409     | VPC.2804 | Route table associated with a subnet cannot be deleted.                                                                                                                                                                                          | 路由表被子网绑定不能被删除                                                                                                 | 先将路由表与子网解绑，然后删除                                                                                                                  |
| 路由表           | 500     | VPC.2805 | Neutron error.                                                                                                                                                                                                                                   | 路由表更换下一跳失败                                                                                                    | 请联系技术支持进行处理                                                                                                                      |
| 路由表           | 500     | VPC.2806 | Querying subnet ID by network ID failed for illegal argument.                                                                                                                                                                                    | 路由表绑定或解绑子网失败                                                                                                  | 请联系技术支持进行处理                                                                                                                      |
| 路由表           | 400     | VPC.2807 | Subnet does not exist or belong to the VPC. Associating route table failed.                                                                                                                                                                      | 路由表绑定的子网不存在或者不属于该vpc                                                                                          | 请检查请求参数，替换成路由表所在vpc的子网                                                                                                           |
| 路由表           | 404     | VPC.2808 | Route table not found.                                                                                                                                                                                                                           | 找不到路由表资源                                                                                                      | 请确认请求资源是否存在                                                                                                                      |
| 路由表           | 400     | VPC.2809 | Neutron error.                                                                                                                                                                                                                                   | 路由地址与系统路由地址重叠                                                                                                 | 请求参数中路由的目的地址重复                                                                                                                   |
| 路由表           | 400     | VPC.2810 | The VPC cannot support a custom route table.                                                                                                                                                                                                     | 当前VPC不支持自定义路由功能                                                                                               | 更换VPC或联系技术支持进行处理                                                                                                                 |
| 路由表           | 400     | VPC.2811 | Invalid virtual gateway for route gateway.                                                                                                                                                                                                       | 当前 DC 的 vgw 没有跟任何 device 关联，无法下发该 dc route                                                                    | 更换一个专线                                                                                                                           |
| 路由表           | 400     | VPC.2812 | Route destination already exists.                                                                                                                                                                                                                | 路由目的地址已存在                                                                                                     | 使用未被占用的目的地址                                                                                                                      |
| 路由表           | 400     | VPC.2813 | Insufficient route quota per route table.                                                                                                                                                                                                        | 路由配额不足                                                                                                        | 扩大路由配额或更换路由表                                                                                                                     |
| 路由表           | 500     | VPC.2814 | Internal server error.                                                                                                                                                                                                                           | 路由表服务内部处理错误                                                                                                   | 联系技术支持进行处理                                                                                                                       |
| 路由表           | 400     | VPC.2815 | Duplicated destination.                                                                                                                                                                                                                          | 路由目的地址重复                                                                                                      | 使用未被占用的目的地址                                                                                                                      |
| 路由表           | 400     | VPC.2816 | Subnet is already bound to the route table.                                                                                                                                                                                                      | 子网已经绑定了路由表，不能重复绑定                                                                                             | 先解除子网的绑定状态，再绑定其他路由表                                                                                                              |
| 资源标签                                                                                                      | 400     | VPC.1801 | resource id is invalid.                                                                                                                                                                                                                          | ID错误                                                                                                          | 检查使用正确的Resource ID                                                                                                               |
| 资源标签                                                                                                      | 400     | VPC.1801 | action is invalid.                                                                                                                                                                                                                               | action错误                                                                                                      | 合法的action为create或delete                                                                                                          |
| 资源标签                                                                                                      | 400     | VPC.1801 | Tag length is invalid. The key length must be in range \[1,36\] and value in range \[0,43\]                                                                                                                                                      | key长度非法。key长度为 \[1,36\]                                                                                       | 检查使用合法的key值                                                                                                                      |
| 资源标签                                                                                                      | 400     | VPC.1801 | Tag length is invalid. The key length must be in range \[1,36\] and value in range \[0,43\]                                                                                                                                                      | value长度非法。 value长度为\[0,43\]。                                                   | 检查使用合法的value值                                                                                                                    |
| 资源标签                                                                                                      | 400     | VPC.1801 | Resource_type xxx is invalid.                                                                                                                                                                                                                    | resource_type错误                                                                                               | 合法的resource_type为vpcs。                                                                                                           |
| 资源标签                                                                                                      | 400     | VPC.1801 | Tag can not be null.                                                                                                                                                                                                                             | tags列表中包含null                                                                                                 | 合法的tags                                                                                                                          |
| 资源标签                                                                                                      | 400     | VPC.1801 | The list of matches contains null.                                                                                                                                                                                                               | matches列表中包含null                                                                                              | 合法的matches                                                                                                                       |
| 资源标签                                                                                                      | 400     | VPC.1801 | Tag value can not be null.                                                                                                                                                                                                                       | tags存在且值为null                                                                                                 | 合法的tags                                                                                                                          |
| 资源标签                                                                                                      | 400     | VPC.1801 | The value of Matches in resourceInstancesReq is null.                                                                                                                                                                                            | matches存在且值为null                                                                                              | 合法的matches                                                                                                                       |
| 资源标签                                                                                                      | 400     | VPC.1801 | number of tags exceeds max num of 10.                                                                                                                                                                                                            | tags列表中包含超过10个key                                                                                             | 合法的tags                                                                                                                          |
| 资源标签                                                                                                      | 400     | VPC.1801 | Tag key is repeated.                                                                                                                                                                                                                             | tags列表中包含重复的key                                                                                               | 合法的tags                                                                                                                          |
| 资源标签                                                                                                      | 400     | VPC.1801 | Value of tags in resourceInstancesReq is duplicate.                                                                                                                                                                                              | tags列表中key对应的values中包含重复的value                                                                                | 合法的tags                                                                                                                          |
| 资源标签                                                                                                      | 400     | VPC.1801 | number of tags exceeds max num of 10.                                                                                                                                                                                                            | tags列表中的key对应的values中包含超过10个value                                                                             | 合法的tags                                                                                                                          |
| 资源标签                                                                                                      | 400     | VPC.1801 | The key of matches is invalid.                                                                                                                                                                                                                   | Matches中的key不为resource_name                                                                                   | 合法的matches                                                                                                                       |
| 资源标签                                                                                                      | 400     | VPC.1801 | Limit in resourceInstancesReq is invalid. Offset in resourceInstancesReq is invalid.                                                                                                                                | limit或offset参数不合法                                                                                             | 使用合法格式的limit和offset参数                                                                                                            |
| 资源标签                                                                                                      | 400     | VPC.1801 | ResourceInstancesReq is null or invalid.                                                                                                                                                                                                         | tags字典结构缺失                                                                                                    | 使用合法的tags字典结构体                                                                                                                   |
| 资源标签                                                                                                      | 400     | VPC.1801 | Tag length is invalid. The key length must be in range \[1,36\] and value in range \[0,43\]                                                                                                                                                      | tags中包含的key长度超长或者为空                                                                                           | 在tags中使用合法的key                                                                                                                   |
| 资源标签                                                                                                      | 400     | VPC.1801 | Tag length is invalid. The key length must be in range \[1,36\] and value in range \[0,43\]                                                                                                                                                      | tags中包含的values中的value字段长度超长                                                                                   | 在tags中使用合法的value                                                                                                                 |
| 资源标签                                                                                                      | 400     | VPC.1801 | ResourceInstancesReq is null or invalid.                                                                                                                                                                                                         | matches字典结构缺失                                                                                                 | 使用合法的matches字典结构体                                                                                                                |
| 资源标签                                                                                                      | 400     | VPC.1801 | The number of Matches in resourceInstancesReq is 0.                                                                                                                                                                                              | matches为空列表                                                                                                   | 使用合法的matches列表                                                                                                                   |
| 资源标签                                                                                                      | 400     | VPC.1801 | The value's length of Matches in resourceInstancesReq is more than 255.                                                                                                                                                                          | Matches列表中包含长度超过255个Unicode长度的value                                                                           | 使用合法的matches列表                                                                                                                   |
| 资源标签                                                                                                      | 500     | VPC.1801 | Invalid input.                                                                                                                                                                                                                                   | 请求体格式错误                                                                                                       | 检查使用正确请求体格式。                                                                                                                     |
| 资源标签                                                                                                      | 404     | VPC.2204 | Query subnet by id fail.                                                                                                                                                                                                                         | 资源不存在或权限不足                                                                                                    | 请使用已存在的资源或申请对应的权限。                                                                                                               |
| 查询网络IP使用                                                                                                  | 400     | VPC.2301 | Invalid parameter network_id.                                                                                                                                                                                                                    | 请求参数错误                                                                                                        | 请输入正确格式的network_id。                                                                                                              |
| 查询网络IP使用                                                                                                  | 400     | VPC.2302 | Network xxx could not be found.                                                                                                                                                                                                                  | 未找到对应的network                                                                                                 | 请确保输入的network_id是存在的。                                                                                                            |
| 创建流日志                                                                                                     | 400     | VPC.3001 | resource_type/log_store_type/traffic_type/log_group_id/log_topic_id is invalid                                                                                                                                                                   | 类型或id不符合要求规范                                                                                                  | 请确认传入的类型是否支持或id格式是否正确                                                                                                            |
| 创建流日志                                                                                                     | 400     | VPC.3002 | Port does not support flow log, port id : xxx                                                                                                                                                                                                    | 流日志创建不支持此类型的port                                                                                              | 请确认port是否是s3,c3,m3 类型的网卡port                                                                                                     |
| 创建流日志                                                                                                     | 404     | VPC.3002 | Port/Network/Vpc xxx could not be found.                                                                                                                                                                                                         | 资源不存在                                                                                                         | 请确认资源是否存在                                                                                                                        |
| 创建流日志                                                                                                     | 409     | VPC.3004 | Content of flow log is duplicate: resource type xxx, resource id xxx, traffic type all, log group id xxx, log topic id xxx, log store type xxx, log store name xxx.                                                                              | 流日志重复                                                                                                         | 请修改流日志的参数                                                                                                                        |
| 创建流日志                                                                                                     | 500     | VPC.3002 | Create flow log by xxx(tenant_id) fail.                                                                                                                                                                                                          | 调用后台服务异常                                                                                                      | 请重试或联系技术支持                                                                                                                       |
| 查询流日志列表                                                                                                   | 404     | VPC.3001 | resource could not be found, xxx(listParam) is invalid                                                                                                                                                                                           | 输入参数的值不合法                                                                                                     | 请确认传入参数的格式是否正确                                                                                                                   |
| 查询流日志列表                                                                                                   | 500     | VPC.3002 | Neutron Error.                                                                                                                                                                                                                                   | 调用后台服务异常                                                                                                      | 请重试或联系技术支持                                                                                                                       |
| 查询流日志                                                                                                     | 404     | VPC.3001 | resource could not be found, flowlog id is invalid.                                                                                                                                                                                              | 流日志id不合法                                                                                                      | 请确认流日志id格式是否正确                                                                                                                   |
| 查询流日志                                                                                                     | 404     | VPC.3002 | Flow log xxx could not be found.                                                                                                                                                                                                                 | 流日志不存在                                                                                                        | 请确认流日志是否存在或id是否正确                                                                                                                |
| 更新流日志                                                                                                     | 404     | VPC.3001 | resource could not be found, flowlog id is invalid.                                                                                                                                                                                              | 流日志id不合法                                                                                                      | 请确认流日志id格式是否正确                                                                                                                   |
| 更新流日志                                                                                                     | 404     | VPC.3005 | Flow log xxx could not be found.                                                                                                                                                                                                                 | 流日志不存在                                                                                                        | 请确认流日志是否存在或id是否正确                                                                                                                |
| 更新流日志                                                                                                     | 500     | VPC.3002 | Update flow log by xxx(tenant_id) fail.                                                                                                                                                                                                          | 调用后台服务异常                                                                                                      | 请重试或联系技术支持                                                                                                                       |
| 删除流日志                                                                                                     | 404     | VPC.3001 | resource could not be found, flowlog id is invalid.                                                                                                                                                                                              | 流日志id不合法                                                                                                      | 请确认流日志id格式是否正确                                                                                                                   |
| 删除流日志                                                                                                     | 404     | VPC.3005 | Flow log xxx could not be found.                                                                                                                                                                                                                 | 流日志不存在                                                                                                        | 请确认流日志是否存在或id是否正确                                                                                                                |
| 删除流日志                                                                                                     | 500     | VPC.3002 | Delete flow log by xxx(tenant_id) fail.                                                                                                                                                                                                          | 调用后台服务异常                                                                                                      | 请重试或联系技术支持                                                                                                                       |
| 查询VPC（API V3）                                                                                             | 404     | VPC.9904 | Vpc xxx could not be found.                                                                                                                                                                                                                      | 查询的Vpc不存在                                                                                                     | 请确认查询的Vpc是否存在                                                                                                                    |
| 添加VPC扩展网段（API V3）                                                                                         | 400     | VPC.9911 | Invalid CIDR block format.                                                                                                                                                                                                                       | VPC的cidr参数格式错误                                                                                                | 请输入正确的cidr格式                                                                                                                     |
| 添加VPC扩展网段（API V3）                                                                                         | 400     | VPC.9912 | The number of secondary CIDR blocks to be added exceeds the upper limit.                                                                                                                                                                         | 添加的扩展网段数量超出限制                                                                                                 | 扩展网段数量已达到上限，请确认输入的扩展网段数量是否过多，或者当前VPC是否已经存在扩展网段                                                                                   |
| 添加VPC扩展网段（API V3）                                                                                         | 409     | VPC.9914 | The secondary CIDR block conflicts with an existing CIDR block.                                                                                                                                                                                  | 添加的扩展网段与已有网段冲突                                                                                                | 该扩展网段和当前VPC的网段冲突，请输入其他的扩展网段                                                                                                      |
| 添加VPC扩展网段（API V3）                                                                                         | 400     | VPC.9916 | The secondary CIDR block overlaps with a blacklisted CIDR block.                                                                                                                                                                                 | 添加的扩展网段与黑名单网段重叠                                                                                               | 该扩展网段和黑名单网段重叠，请输入其他扩展网段，扩展网段黑名单请参考接口文档。                                                                                          |
| 移除VPC扩展网段（API V3）                                                                                         | 404     | VPC.9915 | The secondary CIDR block to be removed not found.                                                                                                                                                                                                | 请求移除的扩展网段不存在                                                                                                  | 请输入已经存在的扩展网段                                                                                                                     |
| 查询IP地址组                                                                                                   | 404     | VPC.9904 | Address_group xxx could not be found.                                                                                                                                                                                                            | 查询的IP地址组不存在                                                                                                   | 请检查查询的IP地址组是否存在                                                                                                                  |
| 创建IP地址组                                                                                                   | 400     | VPC.9901 | Duplicate ip_set in request body xxx.                                                                                                                                                                                                            | ip_set请求体中存在重复数据                                                                                              | 请确保ip_set中的数据无重复                                                                                                                 |
| 创建IP地址组                                                                                                   | 400     | VPC.9901 | Invalid ip_set:xxx parameter in request body.                                                                                                                                                                                                    | ip_set中的数据不合法                                                                                                 | 请确保ip_set中数据是否合法                                                                                                                 |
| 创建IP地址组                                                                                                   | 409     | VPC.9905 | Quota exceeded for resources: 'address_group'.                                                                                                                                                                                                   | 超过IP地址组配额                                                                                                     | 请删除不需要的IP地址组或者申请扩大IP地址组配额                                                                                                        |
| 更新IP地址组                                                                                                   | 400     | VPC.9901 | Duplicate ip_set in request body xxx.                                                                                                                                                                                                            | ip_set请求体中存在重复数据                                                                                              | 请确保ip_set中的数据无重复                                                                                                                 |
| 更新IP地址组                                                                                                   | 400     | VPC.9901 | Invalid ip_set:xxx parameter in request body.                                                                                                                                                                                                    | ip_set中的数据不合法                                                                                                 | 请确保ip_set中数据是否合法                                                                                                                 |
| 更新IP地址组                                                                                                   | 404     | VPC.9904 | Address_group xxx could not be found.                                                                                                                                                                                                            | 要更新的IP地址组不存在                                                                                                  | 请检查IP地址组是否存在                                                                                                                     |
| 更新IP地址组                                                                                                   | 409     | VPC.9905 | Quota exceeded for resources: \['address_group_contain_ipset'\].                                                                                                                                                                                 | 超过IP地址组规则配额                                                                                                   | 请减少不需要的IP地址组内ip_set条目或者申请扩大ip_set配额                                                                                              |
| 删除IP地址组                                                                                                   | 404     | VPC.9904 | Address_group xxx could not be found.                                                                                                                                                                                                            | 要删除的IP地址组不存在                                                                                                  | 请检查IP地址组是否存在                                                                                                                     |
| 删除IP地址组                                                                                                   | 409     | VPC.9907 | 1. The IP address group is used by a security group rule.\\n2. The IP address group is used by a network ACL rule.                                                                                                                               | 1. 要删除的IP地址组被安全组规则引用 2. 要删除的IP地址组被ACL规则引用                                       | 请确定是否需要删除引用的安全组规则或ACL规则，如果可以删除使用强制删除接口，关联的安全组规则也同时被删除                                                                            |
| 查询安全组（API V3）                                                                                             | 404     | VPC.9904 | Security group xxx does not exist.                                                                                                                                                                                                               | 查询的安全组不存在                                                                                                     | 请确认查询的安全组是否存在                                                                                                                    |
| 创建安全组（API V3）                                                                                             | 409     | VPC.9905 | Quota exceeded for resources: security_group.                                                                                                                                                                                                    | 超过安全组配额                                                                                                       | 请删除不需要的安全组或者申请扩大安全组配额                                                                                                            |
| 更新安全组（API V3）                                                                                             | 404     | VPC.9904 | Security group xxx could not be found.                                                                                                                                                                                                           | 要更新的安全组不存在                                                                                                    | 请检查安全组是否存在                                                                                                                       |
| 删除安全组（API V3）                                                                                             | 404     | VPC.9904 | Security_group xxx could not be found.                                                                                                                                                                                                           | 要删除的安全组不存在                                                                                                    | 请检查安全组是否存在                                                                                                                       |
| 删除安全组（API V3）                                                                                             | 409     | VPC.9902 | Security group xxx is in use.                                                                                                                                                                                                                    | 要删除的安全组被端口绑定                                                                                                  | 请先更新端口解绑安全组，再执行删除操作                                                                                                              |
| 查询安全组规则（API V3）                                                                                           | 404     | VPC.9904 | Security_group_rule xxx could not be found.                                                                                                                                                                                                      | 查询的安全组规则不存在                                                                                                   | 请检查查询的安全组规则是否存在                                                                                                                  |
| 创建安全组规则（API V3）                                                                                           | 409     | VPC.9905 | Quota exceeded for resources: \['security_group_rule'\].                                                                                                                                                                                         | 超过安全组规则配额                                                                                                     | 请删除不需要的安全组规则或者申请扩大安全组规则配额                                                                                                        |
| 创建安全组规则（API V3）                                                                                           | 404     | VPC.9904 | security_group_id xxx could not be found.                                                                                                                                                                                                        | 请求输入的security_group_id对应的安全组不存在                                                                               | 请检查security_group_id对应的安全组信息是否正确                                                                                                 |
| 创建安全组规则（API V3）                                                                                           | 404     | VPC.9904 | remote security group xxx could not be found.                                                                                                                                                                                                    | 请求输入的remote_group_id对应的安全组不存在                                                                                 | 请检查remote_group_id对应的安全组信息是否正确                                                                                                   |
| 创建安全组规则（API V3）                                                                                           | 404     | VPC.9904 | Address group xxx does not exist.                                                                                                                                                                                                                | 请求输入的remote_address_group_id对应的IP地址组不存在                                                                       | 请检查remote_address_group_id对应的IP地址组信息是否正确                                                                                         |
| 创建安全组规则（API V3）                                                                                           | 400     | VPC.9902 | Security group rule for ethertype xxx not supported. Allowed values are \[IPv4, IPv6\].                                                                                                                                                          | 请求输入的ethertype值不支持                                                                                            | 当前安全组规则的ethertype值只支持IPv4、IPv6，不区分大小写，请修改请求参数                                                                                    |
| 创建安全组规则（API V3）                                                                                           | 400     | VPC.9902 | Ethertype xxx and address_group ip_version xxx not match                                                                                                                                                                                         | 请求输入的ethertype和IP地址组的IP版本不一致                                                                                  | 请确认remote_address_group_id对应的IP地址组信息，IP版本需要和ethertype保持一致                                                                        |
| 创建安全组规则（API V3）                                                                                           | 409     | VPC.9902 | Security group rule already exists. Rule id is xxx.                                                                                                                                                                                              | 安全组规则已存在                                                                                                      | 请确认输入的安全组规则信息，不能和已存在的规则冲突                                                                                                        |
| 删除安全组规则（API V3）                                                                                           | 404     | VPC.9904 | Security_group_rule xxx could not be found.                                                                                                                                                                                                      | 查询的安全组规则不存在                                                                                                   | 请检查查询的安全组规则是否存在                                                                                                                  |
| 网络ACL插入规则（API V3）                                                    | 409     | VPC.9948 | Quota exceeded for composite rule: 'firewall_policy_contain_ipv4_composite_rules'. The number of rules with address_group/discontinuous_ports specified exceeds limit: xxx                                                                       | 配置了IP地址组或不连续端口的单方向IPv4 ACL规则超出配额                                                                              | 请删除不需要的ACL规则或者申请扩大ACL规则引用数配额                                                                                                     |
| 网络ACL插入规则（API V3）                                                    | 409     | VPC.9949 | Quota exceeded for composite rule: 'firewall_policy_contain_ipv6_composite_rules'. The number of rules with address_group/discontinuous_ports specified exceeds limit: xxx                                                                       | 配置了IP地址组或不连续端口的单方向IPv6 ACL规则超出配额                                                                              | 请删除不需要的ACL规则或者申请扩大ACL规则引用数配额                                                                                                     |
   
