错误码
功能说明
API调用发生错误时,会有错误结构体返回,该小节主要是对EIP封装接口(不包括OpenStack原生接口)错误结构的解释。
返回体格式
{
"code": "VPC.0504",
"message": "Floating IP could not be found."
} 错误码说明
模块 | 状态码 | 错误码 | 错误信息 | 描述 | 处理措施 |
|---|---|---|---|---|---|
公共 | 400 | VPC.0002 | Available zone Name is null. | 可用区为空 | 请确认创建子网的请求体中availability_zone字段是否为空 |
404 | VPC.0003 | VPC does not exist. | VPC不存在 | 请确认VPC的id是否填写正确或该租户下是否确实存在该VPC | |
400 | VPC.0004 | VPC does not active,please try later. | VPC状态异常 | 请稍后重试或联系技术支持 | |
401 | VPC.0005 | Lack of user authority. | 用户受限 | 请确认是否欠费或未申请公测权限 | |
401 | VPC.0009 | real-name authentication fail. | 实名认证失败 | 请联系技术支持 | |
公共 | 400 | VPC.0007 | urlTenantId is not equal tokenTenantId | tenantID不一致 | url里的tenant_id和token中解析到的tenant_id不一致 |
401 | VPC.0008 | Invalid token in the header. | token非法 | 请确认请求头中的token是否合法 | |
403 | VPC.2701 | Token not allowed to do this action. | 无权操作,或账户余额不足 | 请确认账户是否余额不足或被冻结 | |
创建VPC | 400 | VPC.0101 | Param is invalid. | VPC参数错误 | 请根据实际返回的Error Message参考接口文档检查传入的参数值是否合法 |
409 | VPC.0114 | Quota exceeded for resources: ['router']. | VPC数目已达到最大配额 | 请清理闲置不用的VPC资源或申请扩大VPC资源配额 | |
400 | VPC.0115 | The router name has exist. | VPC名称重复 | 请更换VPC名称 | |
查询VPC | 400 | VPC.0101 | getVpc error vpcId is invalid. | VPC参数错误 | 请确认传入的VPCid是否正确 |
404/500 | VPC.0105 | Neutron Error. | 调用后台服务异常 | 请确认NEUTRON服务是否正常或联系技术支持 | |
500 | VPC.0106 | get router is null. | 调用后台服务返回异常 | 请确认NEUTRON服务是否正常或联系技术支持 | |
查询VPC列表 | 400 | VPC.0101 | Query vpc list error. | 查询VPC列表失败 | 请根据实际返回的Error Message检查传入的参数值是否合法 |
500 | VPC.0105 | Neutron Error. | 调用后台服务异常 | 请确认NEUTRON服务是否正常或联系技术支持 | |
500 | VPC.0106 | query routers or getList are null. | 调用后台服务响应结果为null或空 | 请确认NEUTRON服务是否正常或联系技术支持 | |
删除VPC | 400/404 | VPC.0101 | Delete router error xx is invalid. | 参数错误 | 请根据实际返回的Error Message检查传入的参数值是否合法 |
500 | VPC.0102 | Delete router fail. | 获取路由资源异常 | 请联系技术支持 | |
409 | VPC.0103 | Rescource status is busy, try it again later. | VPC状态为创建中,不允许删除 | 请联系技术支持 | |
409 | VPC.0104 | Router contains subnets, please delete subnet first. | VPC下有子网,不允许删除 | 请先删除VPC下的子网 | |
404/500 | VPC.0105 | Neutron Error. | 调用后台服务异常 | 请确认NEUTRON服务是否正常或联系技术支持 | |
409 | VPC.0107 | Delete the firewall first before deleting the router. | VPC下有网络ACL,不允许删除 | 请先删除该租户下的网络ACL | |
409 | VPC.0108 | Router is used not allow deleted. | VPC下有弹性公网IP,不允许删除 | 请先删除该租户下的弹性公网IP | |
409 | VPC.0110 | deleteDefaultNetworkFromRouter router status is invalid. | VPC状态不为稳态,不允许删除 | 请联系技术支持 | |
500 | VPC.0111 | Database Error. | VPC内部异常 | 请联系技术支持 | |
409 | VPC.0112 | Delete the securitygroup first before deleting the router. | VPC下有安全组,不允许删除 | 请先删除该租户下的安全组 | |
409 | VPC.0118 | ELB exists under this router, delete ELB firstly. | VPC下有弹性负载均衡,不允许删除 | 请先删除占用该VPC的ELB | |
500 | VPC.0119 | ELB Error. | VPC调用弹性负载均衡服务异常 | 请确认ELB服务是否正常或联系技术支持 | |
409 | VPC.0120 | exroutes exists under this router, delete exroutes firstly. | VPC包含扩展路由,不允许删除 | 请先删除该VPC下的扩展路由 | |
更新VPC | 400 | VPC.0101 | Update router xx is invalid. | 参数错误 | 请根据实际返回的Error Message检查传入的参数值是否合法 |
404/500 | VPC.0105 | Neutron Error. | 调用后台服务异常 | 请确认NEUTRON服务是否正常或联系技术支持 | |
500 | VPC.0113 | Router status is not active. | VPC状态不为OK,不允许更新 | 请稍后重试或联系技术支持 | |
400 | VPC.0115 | The router name has exist. | VPC名称重复 | 请更换VPC名称 | |
400 | VPC.0117 | Cidr can not contain subnetList cidr. | 参数无效,该网段没有包含当前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 has already existed in the VPC, or has been in conflict with the VPC subnet. | 子网网段在VPC内已经存在 | 请更换子网的cidr | |
400 | VPC.0212 | The subnet cidr is not valid. | 子网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 | Subnet is used by private IP, can not be deleted. | 子网被私有IP使用,不允许删除 | 请先删除子网下的私有IP | |
500 | VPC.0209 | subnet is still used ,such as computer,LB. | 子网被虚拟机或弹性负载均衡使用,不允许删除 | 请先删除创建在该子网下的ECS或ELB | |
500 | VPC.0210 | Subnet has been used by routes, please remove the routes first and try again. | 子网被自定义路由使用,不允许删除 | 请先删除自定义路由 | |
500 | VPC.0211 | subnet is still used by LBaas. | 子网被弹性负载均衡所使用,不允许删除 | 请先删除创建在该子网下的ELB | |
更新子网 | 400 | VPC.0201 | xx is invalid. | 子网参数错误 | 请根据实际返回的Error Message检查传入的参数值是否合法 |
404/500 | VPC.0202 | Neutron Error. | 子网内部错误 | 请联系技术支持 | |
500 | VPC.0205 | Subnet states is invalid, please try again later. | 子网状态为处理中,不允许更新 | 请稍后重试或联系技术支持 | |
400 | VPC.0207 | Subnet does not belong to the VPC. | 子网不属于该VPC,不允许操作 | 请确认子网是否在该VPC下 | |
申请弹性公网IP | 400 | VPC.0301 | Bandwidth name or share_type is invalid. | 创建弹性公网IP时,带宽参数错误 | 请检查传入的带宽参数值是否合法 |
400 | VPC.0501 | Bandwidth share_type is invalid. | 弹性公网IP参数错误 | 请根据实际返回的Error Message参考接口文档检查传入的参数值是否合法 | |
403 | VPC.0502 | Tenant status is op_restricted. | 用户受限,不允许申请弹性公网IP | 请确认账户是否余额不足或被冻结 | |
500 | VPC.0503 | Creating publicIp failed. | 创建弹性公网IP失败 | 请联系技术支持 | |
500 | VPC.0504 | FloatIp is null. | 未找到弹性公网IP,申请失败 | 请联系技术支持 | |
500 | VPC.0508 | Port is invalid. | 未找到port相关资源 | 请联系技术支持 | |
409 | VPC.0510 | Floatingip has already associated with port. | 弹性公网IP已经绑定其他虚拟机 | 请先将该弹性公网IP与其他虚拟机解绑定 | |
409 | VPC.0511 | Port has already associated with floatingip. | port已经绑定弹性公网IP | 请先将该端口与其他弹性公网IP解绑定 | |
409 | VPC.0521 | Quota exceeded for resources: ['floatingip']. | EIP配额不足 | 请先释放未绑定的弹性公网IP或申请扩大弹性公网IP资源的配额值 | |
409 | VPC.0522 | The IP address is in use. | IP格式不合法或者IP被占用 | 请确认IP格式是否合法或更换其他IP地址 | |
409 | VPC.0532 | No more IP addresses available on network. | IP资源池占满,无法分配新IP | 请先释放未绑定的弹性公网IP或稍后重试 | |
查询弹性公网IP | 400 | VPC.0501 | Invalid floatingip_id. | 弹性公网IP参数错误 | 请确认弹性公网IP的id是否合法 |
404 | VPC.0504 | Floating IP could not be found. | 未找到弹性公网IP | 请确认传入的弹性公网IP的id是否正确 | |
500 | VPC.0514 | Neutron Error. | 底层异常 | 请确认NEUTRON服务是否正常或联系技术支持 | |
查询弹性公网IP列表 | 400 | VPC.0501 | Invalid limit. | 弹性公网IP参数错误 | 请根据实际返回的Error Message参考接口文档检查传入的参数值是否合法 |
删除弹性公网IP | 400 | VPC.0501 | Invalid param. | 弹性公网IP参数错误 | 请联系技术支持 |
404 | VPC.0504 | Floating IP could not be found. | 未找到弹性公网IP | 请确认传入的弹性公网IP的id是否正确 | |
409 | VPC.0512 | Resource status is busy, try it again later. | 弹性公网IP状态异常 | 请稍后重试或联系技术支持 | |
500 | VPC.0513 | getElementByKey error. | 未找到网络资源 | 请联系技术支持 | |
500 | VPC.0516 | Publicip is in used by ELB. | 弹性公网IP被ELB使用,删除失败 | 请先将该弹性公网IP与ELB解绑定 | |
409 | VPC.0517 | Floatingip has associated with port, please disassociate it firstly. | 弹弹性公网IP绑定虚拟机,删除失败 | 请先将该弹性公网IP与ECS解绑定 | |
500 | VPC.0518 | Public IP has firewall rules. | 弹性公网IP被网络ACL使用,删除失败 | 请联系技术支持 | |
更新弹性公网IP | 400 | VPC.0501 | Port id is invalid. | 弹性公网IP参数错误 | 请确认port的id是否合法 |
404 | VPC.0504 | Floating IP could not be found. | 未找到弹性公网IP | 请确认传入的弹性公网IP的id是否正确 | |
500 | VPC.0509 | Floating ip double status is invalid. | port已经绑定弹性公网IP | 请先将该端口与其他弹性公网IP解绑定 | |
409 | VPC.0510 | Floatingip has already associated with port. | 弹性公网IP已经绑定其他虚拟机 | 请先将该弹性公网IP与其他虚拟机解绑定 | |
409 | VPC.0511 | Port has already associated with floatingip. | 虚拟机已经绑定弹性公网IP,不能再绑定 | 请先将该虚拟机与其他弹性公网IP解绑定 | |
409 | VPC.0512 | Resource status is busy, try it again later. | 弹性公网IP状态异常 | 请稍后重试或联系技术支持 | |
404/500 | VPC.0514 | Neutron Error. | 底层异常 | 请确认NEUTRON服务是否正常或联系技术支持 | |
查询带宽 | 400 | VPC.0301 | getBandwidth error bandwidthId is invalid. | 带宽参数错误 | 请确认带宽的id是否合法 |
404 | VPC.0306 | No Eip bandwidth exist with id. | 带宽对象不存在 | 所查询的带宽对象不存在 | |
500 | VPC.0302 | Neutron Error. | 底层异常 | 请确认NEUTRON服务是否正常或联系技术支持 | |
查询带宽列表 | 400 | VPC.0301 | Get bandwidths error limit is invalid. | 带宽参数错误 | 请根据实际返回的Error Message参考接口文档检查传入的参数值是否合法 |
404 | VPC.0306 | No Eip bandwidth exist with id. | 带宽对象不存在 | 所查询的带宽对象不存在 | |
500 | VPC.0302 | Neutron Error. | 底层异常 | 请确认NEUTRON服务是否正常或联系技术支持 | |
更新带宽 | 400 | VPC.0301 | updateBandwidth input param is invalid. | 带宽参数错误 | 请根据实际返回的Error Message参考接口文档检查传入的参数值是否合法 |
500 | VPC.0302 | Neutron Error. | 带宽获取底层资源异常 | 请确认NEUTRON服务是否正常或联系技术支持 | |
500 | VPC.0305 | updateBandwidth error. | 更新带宽内部异常 | 请联系技术支持 | |
创建共享带宽 | 400 | VPC.0310 | NO QUOTAS for shareBandwidth! | 共享带宽配额不足 | 请删除不使用的共享带宽或联系技术支持 |
共享带宽插入/移除弹性公网IP | 400 | VPC.0301 | Invalid publicip_id | 无效的publicip_id | 请检查publicip_info里面的publicip_id是否合法 |
400 | VPC.0323 | publicIp can not be operate with this bandwidth | 共享带宽无法插入/移除弹性公网IP | 请检查共享带宽或者弹性公网IP的状态是否正常 | |
查询配额 | 400 | VPC.1207 | resource type is invalid. | 指定的类型不存在 | 请使用已存在的正确类型。 |
申请私有IP | 500 | VPC.0701 | The IP has been used. | 私有IP已存在 | 请更换一个私有IP地址再重试创建 |
400 | VPC.0705 | IP address is not a valid IP for the specified subnet. | 私有IP不合法 | 请确认请求体中传入的IP地址是否在子网网段内 | |
404 | VPC.2204 | Query resource by id fail. | 查询资源不存在或者权限不足 | 请确认请求体中传入的子网是否存在或者当前账号是否有权查询到该子网 | |
409 | VPC.0703 | No more IP addresses available on network xxx. | IP地址不足 | 请确认子网下是否已分配足够的IP地址 | |
查询私有IP | 404 | VPC.0704 | Query resource by id fail. | 私有IP不存在 | 请确认该私有IP是否确实存在 |
查询私有IP列表 | 400 | VPC.0702 | query privateIps error. | 参数错误 | 请根据实际返回的Error Message检查传入的参数值是否合法 |
删除私有IP | 404 | VPC.0704 | Query resource by id fail. | 私有IP不存在 | 请确认该私有IP是否确实存在 |
500 | VPC.0706 | Delete port fail. | 删除异常 | 请稍后重试或联系技术支持 | |
409 | VPC.0707 | privateIp is in use. | 私有IP正在使用 | 请确认该私有IP是否被计算或其他资源占用 | |
创建安全组 | 400 | VPC.0601 | Creating securitygroup name is invalid. | 安全组参数错误 | 请根据实际返回的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 | Securitygroup is 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.请确认并发创建的安全组规则内容是否不同 |
查询网络IP使用 | 400 | VPC.2301 | parameter network_id is invalid. | 请求参数错误 | 请输入正确格式的network_id。 |
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, reousce 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. | 调用后台服务异常 | 请重试或联系技术支持 |

