
# 错误码
当您调用API时，如果遇到"APIGW"开头的错误码，请参见[API网关错误码](https://support.huaweicloud.com/devg-apisign/api-sign-errorcode.html)进行处理。
| 状态码 | 错误码           | 错误信息                                                                             | 描述                                | 处理措施                         |
|:---|:---|:---|:---|:---|
| 400 | EndPoint.0002 | Parameter error.                                                                 | 参数异常。                             | 校验参数是否正确。                    |
| 400 | EndPoint.0006 | Invalid limit.                                                                   | 无效的数量限制。                          | 请输入正确的limit参数。               |
| 400 | EndPoint.0007 | Invalid action.                                                                  | 无效的操作。                            | 请输入正确的action参数。              |
| 400 | EndPoint.0009 | The remote address does not match.                                               | 访问远端地址不匹配。                        | 请确认是否有权访问。                   |
| 400 | EndPoint.0010 | Invalid offset.                                                                  | 无效的分页。                            | 请输入正确的offset参数。              |
| 400 | EndPoint.0014 | Invalid project ID.                                                              | project_id无效。                     | 请输入正确的project_id。            |
| 400 | EndPoint.0015 | Invalid specification.                                                           | 规格无效。                             | 请输入正确的规格。                    |
| 400 | EndPoint.0016 | The number of batch operated resources exceeded the limit.                       | 批量操作资源数量超过限制。                     | 请缩小您批量操作资源的数量。               |
| 400 | EndPoint.0017 | Invalid sort_key.                                                                | sort_key无效。                       | 请输入正确的sort_key。              |
| 400 | EndPoint.0018 | Invalid sort_dir.                                                                | sort_dir无效。                       | 请输入正确的sort_dir。              |
| 400 | EndPoint.0019 | Invalid status.                                                                  | 状态无效。                             | 请输入正确的status。                |
| 400 | EndPoint.0020 | Invalid VPC ID.                                                                  | vpcId无效。                          | 请输入正确的vpcId。                 |
| 400 | EndPoint.0021 | Invalid marker_id.                                                               | marker_id无效。                      | 请输入正确的marker ID。             |
| 400 | EndPoint.0022 | The number of requests exceeded the limit. Please try later.                     | 请求次数太多，请稍后重试。                     | 请稍后重试。                       |
| 400 | EndPoint.0023 | Invalid subnet_id.                                                               | 无效的subnet_id。                     | 请输入正确的subnet_id。             |
| 400 | EndPoint.1003 | Invalid service name.                                                            | 服务名称无效。                           | 请输入正确的服务名称。                  |
| 400 | EndPoint.1004 | Invalid request.                                                                 | 创建终端节点请求无效。                       | 请输入正确的请求体。                   |
| 400 | EndPoint.1005 | DNS service Failed: Failed to create a DNS zone.                                 | DNS服务失败：创建DNS zone失败。             | 请联系技术支持。                     |
| 400 | EndPoint.1008 | Failed to obtain the token.                                                      | 获取token失败。                        | 请联系技术支持。                     |
| 400 | Endpoint.1018 | Quota exceeded.                                                                  | 申请资源数量超出配额。                       | 请联系技术支持。                     |
| 400 | EndPoint.1019 | Invalid route table ID.                                                          | 无效的routetable ID。                 | 请输入正确的routetable ID参数。       |
| 400 | EndPoint.2001 | The VPC does not exist.                                                          | 当前用户下不存在该VPC。                     | 请输入正确的当前用户下的VPC ID。          |
| 400 | EndPoint.2002 | The request input parameter is empty.                                            | 请求入参为空。                           | 参数不能为空，请输入正确的参数。             |
| 400 | EndPoint.2003 | The endpoint service does not exist.                                             | 终端节点服务不存在。                        | 请输入正确的终端节点服务。                |
| 400 | EndPoint.2004 | The endpoint service is unavailable.                                             | 终端节点服务不可用。                        | 请稍后重试，如若不行请联系技术支持。           |
| 400 | EndPoint.2009 | The specification information does not exist.                                    | 规格不存在。                            | 请输入正确规格。                     |
| 400 | EndPoint.2010 | The input parameter subnet ID is empty.                                          | 输入参数子网ID为空。                       | 请输入有效的子网ID。                  |
| 400 | EndPoint.2011 | The input parameter VPC ID is empty.                                             | 输入参数VPC ID为空。                     | 请输入有效的参数VPC ID。              |
| 400 | EndPoint.2012 | You have no permission to connect to the VPC endpoint service.                   | 您没有权限连接该终端节点服务。                   | 请确认是否有权访问。                   |
| 400 | EndPoint.2013 | The endpoint does not belong to the endpoint service.                            | 终端节点不属于终端节点服务。                    | 请确认终端节点是否正确。                 |
| 400 | EndPoint.2014 | The endpoint has connected to the endpoint service.                              | 终端节点已连接终端节点服务。                    | 已经连接，无需再次连接。                 |
| 400 | EndPoint.2015 | The endpoint has been frozen.                                                    | 终端节点被冻结。                          | 请确认冻结原因，联系技术支持。              |
| 400 | EndPoint.2016 | The endpoint pool IP address does not exist.                                     | 终端节点pool IP不存在。                   | 请联系技术支持。                     |
| 400 | EndPoint.2017 | Invalid endpoint ID.                                                             | 终端节点ID无效。                         | 请输入正确的Endpoint ID。           |
| 400 | EndPoint.2018 | The endpoint is being deleted.                                                   | 终端节点正在删除中。                        | 请选择可用的终端节点。                  |
| 400 | EndPoint.2019 | The endpoint is being created.                                                   | 终端节点正在创建中。                        | 请稍后重试。                       |
| 400 | EndPoint.2020 | qrMac or sgMac does not exist.                                                   | 查询qrMac或sgMac不存在。                 | 请联系技术支持。                     |
| 400 | EndPoint.2021 | Failed to query the VPC.                                                         | 查询VPC失败。                          | 请联系技术支持。                     |
| 400 | EndPoint.2022 | Failed to create an endpoint.                                                    | 终端节点创建失败。                         | 请联系技术支持。                     |
| 400 | EndPoint.2023 | CIDR is not found.                                                               | 终端节点未获取cidr。                      | 请联系技术支持。                     |
| 400 | EndPoint.2024 | shadowVpc or shadowPort does not exist.                                          | shadowVpc 或shadowPort为空。          | 请联系技术支持。                     |
| 400 | EndPoint.2025 | The endpoint port does not exist.                                                | 终端节点端口不存在。                        | 请联系技术支持。                     |
| 400 | EndPoint.2026 | VNI is empty.                                                                    | VNI为空。                            | 请联系技术支持。                     |
| 400 | EndPoint.2027 | Invalid action.                                                                  | 操作类型不存在。                          | 请输入有效的操作类型。                  |
| 400 | EndPoint.2028 | The endpoint service port or protocol is empty.                                  | 终端节点服务端口或协议为空。                    | 请输入有效的终端节点服务端口或协议。           |
| 400 | EndPoint.2029 | The requested endpoint service ID is empty.                                      | 被请求的终端节点服务ID为空。                   | 请输入有效的终端节点服务ID。              |
| 400 | EndPoint.2031 | Only one endpoint is allowed.                                                    | 当前只支持单个业务。                        | 接受/拒绝终端节点服务的连接只支持单个业务。       |
| 400 | EndPoint.2033 | The entered parameter enable_dns is invalid.                                     | 输入参数enable_dns无效。                 | 请输入有效的enable_dns。            |
| 400 | EndPoint.2034 | The entered parameter enable_dns is incorrect.                                   | 输入参数enable_dns错误。                 | 请输入正确的enable_dns。            |
| 400 | EndPoint.2035 | The system parameter dns.enable is invalid.                                      | 系统参数dns.enable无效。                 | 请联系技术支持。                     |
| 400 | EndPoint.2037 | The current network does not belong to the VPC.                                  | 当前Network不属于该VPC。                 | 请核对参数是否正确。                   |
| 400 | EndPoint.2038 | The pool does not exist.                                                         | 资源池不存在。                           | 请联系技术支持。                     |
| 400 | EndPoint.2039 | The route table is being used by another VPC endpoint.                           | 路由表已被终端节点使用。                      | 请联系技术支持。                     |
| 400 | EndPoint.2040 | The VPC endpoint has no route table bound.                                       | 当前终端节点未绑定路由表。                     | 请联系技术支持。                     |
| 400 | EndPoint.2041 | Invalid Port IP address.                                                         | 端口IP地址无效。                         | 请输入正确的端口IP。                  |
| 400 | EndPoint.2042 | The Port IP is in use.                                                           | 端口IP正在使用。                         | 请输入正确的端口IP。                  |
| 400 | EndPoint.2043 | The Port IP is not valid for the subnet.                                         | 端口IP对子网无效。                        | 请输入正确的端口IP。                  |
| 400 | EndPoint.2044 | Invalid whitelist.                                                               | 白名单无效。                            | 请输入正确的参数。                    |
| 400 | EndPoint.2045 | The maximum number of whitelist records has been reached.                        | 已达到白名单记录的最大数量。                    | 请联系技术支持。                     |
| 400 | EndPoint.2046 | Can not modify a specified mac endpoint.                                         | 无法修改指定的mac终端节点。                   | 请联系技术支持。                     |
| 400 | EndPoint.2047 | The VPC endpoint in the Failed status cannot be modified.                        | 状态为"失败"的VPC终端节点不能修改。              | 请选择有效的VPC终端节点。               |
| 400 | EndPoint.2048 | The VPC endpoint policy is invalid.                                              | VPC终端节点策略无效。                      | 请输入正确的参数。                    |
| 400 | EndPoint.2049 | The VPC endpoint has no policy associated.                                       | VPC终端节点没有已关联的策略。                  | 请联系技术支持。                     |
| 400 | EndPoint.2050 | The endpoint has been disabled.                                                  | 终端节点已被禁用。                         | 请联系技术支持。                     |
| 400 | EndPoint.2051 | The current endpoint is switching to new pool.                                   | 终端节点正在切换到新资源池。                    | 请稍后重试。                       |
| 400 | EndPoint.2052 | The current endpoint does not need to be rolled back.                            | 终端节点无法回退。                         | 请联系技术支持。                     |
| 400 | EndPoint.3001 | Failed to create a port.                                                         | 创建端口失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.3002 | Invalid permission.                                                              | 权限无效。                             | 请联系技术支持。                     |
| 400 | EndPoint.3003 | Invalid port ID.                                                                 | 端口ID无效。                           | 请联系技术支持。                     |
| 400 | EndPoint.3004 | Invalid port.                                                                    | 无效的port。                          | 请联系技术支持。                     |
| 400 | EndPoint.3005 | Failed to delete the endpoint service.                                           | 无法删除终端节点服务。                       | 请联系技术支持。                     |
| 400 | EndPoint.3006 | The endpoint service is being used.                                              | 终端节点服务被终端节点使用。                    | 请联系技术支持。                     |
| 400 | EndPoint.3008 | The port does not exist.                                                         | 端口不存在。                            | 请联系技术支持。                     |
| 400 | EndPoint.3009 | Invalid CIDR.                                                                    | cidr无效。                           | 请联系技术支持。                     |
| 400 | EndPoint.3010 | Invalid IP address.                                                              | IP地址无效。                           | 请输入正确的IP地址。                  |
| 400 | EndPoint.3011 | Parameter IP is not required to create an endpoint service (interface).          | 在创建interface类型终端节点服务时，不需要参数IP。    | 请输入正确的请求体。                   |
| 400 | EndPoint.3013 | endpointService interface vlan can't have vpcId.                                 | vlan类型的终端节点服务请求不能包含vpcId。         | 请输入正确的请求体。                   |
| 400 | EndPoint.3014 | endpointService interface can't have cidr.                                       | interface类型终端节点服务请求不能包含cidr。      | 请输入正确的请求体。                   |
| 400 | EndPoint.3015 | endpointService gateway vlan can't have portId.                                  | vlan类型的终端节点服务请求不能包含portId。        | 请输入正确的请求体。                   |
| 400 | EndPoint.3016 | endpointService gateway vlan can't have ip.                                      | vlan类型的终端节点服务请求不能包含ip。            | 请输入正确的请求体。                   |
| 400 | EndPoint.3017 | Invalid CIDRs.                                                                   | 无效的CIDRs。                         | 请输入正确的CIDRs参数。               |
| 400 | EndPoint.3018 | endpointService gateway vlan can't have vpcId.                                   | vlan类型的终端节点服务请求不能包含vpcId。         | 请输入正确的请求体。                   |
| 400 | EndPoint.3021 | Invalid serverType.                                                              | serverType参数无效。                   | 请输入有效的serverType。            |
| 400 | EndPoint.3022 | Failed to create a network.                                                      | 创建网络失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.3023 | Failed to create a subnet.                                                       | 创建子网失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.3035 | Invalid action.                                                                  | 终端节点服务授权操作错误。                     | 请输入正确的授权操作。                  |
| 400 | EndPoint.3036 | Invalid permissions.                                                             | 权限列表不能为空。                         | 请输入正确的请求体。                   |
| 400 | EndPoint.3040 | Failed to add a rollback task.                                                   | 添加回滚任务失败。                         | 请联系技术支持。                     |
| 400 | EndPoint.3042 | The port ID does not belong to the current VPC.                                  | 端口ID不属于当前VPC。                     | 请输入正确的请求体。                   |
| 400 | EndPoint.3043 | The service port is invalid.                                                     | 服务端口无效。                           | 请输入正确的请求体。                   |
| 409 | EndPoint.3044 | The parameter ports conflicted with ports in an existing endpoint service.       | Ports与已有endpoint service的Ports冲突。 | 请输入正确的请求体。                   |
| 400 | EndPoint.3045 | Other properties cannot be modified in the current endpoint service state.       | 终端节点服务目前的状态不支持修改其他属性。             | 请输入正确的请求体。                   |
| 400 | EndPoint.3046 | The IP address conflicted with an existing endpoint service.                     | IP和已有的终端节点服务冲突。                   | 请输入正确的请求体。                   |
| 400 | EndPoint.3048 | Invalid netType.                                                                 | netType无效。                        | 请输入有效的netType。               |
| 400 | EndPoint.3049 | The maximum number of whitelist records has been reached.                        | 终端节点服务白名单记录总量超过限制。                | 删除无效 白名单或将白名单权限设置为\*。        |
| 400 | EndPoint.3051 | Endpoint service vip port id is invalid.                                         | vip port id无效。                    | 请输入正确的vip port id。           |
| 400 | EndPoint.3052 | portId and ip cannot be modified at the same time.                               | portId和ip不能同时修改。                  | 请输入正确的请求体。                   |
| 400 | EndPoint.3053 | vipPortId and ip cannot be modified at the same time.                            | vipPortId和ip不能同时修改。               | 请输入正确的请求体。                   |
| 400 | EndPoint.3054 | portId or vipPortId cannot be modified.                                          | 不能修改portId或vipPortId。             | 请输入正确的请求体。                   |
| 400 | EndPoint.3055 | ip cannot be modified.                                                           | 不能修改ip。                           | 请输入正确的请求体。                   |
| 400 | EndPoint.3056 | The maximum of VPC endpoint services using the same IP address has been reached. | 单个后端资源支持的终端节点服务数量超过限制。            | 请联系技术支持。                     |
| 400 | EndPoint.3057 | cidr cannot be modified.                                                         | 不能修改cidr。                         | 请输入正确的请求体。                   |
| 400 | EndPoint.3058 | The domain name is invalid.                                                      | dns name不合法。                      | 请输入正确的dns name参数。            |
| 400 | EndPoint.3059 | The domain name already exists.                                                  | dns name已经存在。                     | 请联系技术支持。                     |
| 400 | EndPoint.3060 | You have no permission to add domain names.                                      | 没有权限添加dns name。                   | 请联系技术支持。                     |
| 400 | EndPoint.3061 | The maximum number of domain names has reached.                                  | dns name个数超过限制。                   | 请联系技术支持。                     |
| 400 | EndPoint.3062 | Invalid endpoint service ID.                                                     | 终端节点服务ID无效。                       | 请输入正确的endpoint_service_id参数。 |
| 400 | EndPoint.3063 | Invalid port ID.                                                                 | 端口ID无效。                           | 请输入正确的端口ID。                  |
| 400 | EndPoint.3066 | The tag cannot be empty.                                                         | 标签不能为空。                           | 请输入正确的请求体。                   |
| 400 | EndPoint.3067 | The tag key cannot be duplicated.                                                | 标签键不能重复。                          | 请输入正确的请求体。                   |
| 400 | EndPoint.3068 | Tag keys and values should meet relevant requirements.                           | 标签键和值必须符合规范。                      | 请输入正确的请求体。                   |
| 400 | EndPoint.3069 | The maximum number of tags has been reached.                                     | 标签总数超出限制。                         | 请联系技术支持。                     |
| 400 | EndPoint.3070 | Invalid resource type.                                                           | 资源类型错误。                           | 请联系技术支持。                     |
| 400 | EndPoint.3071 | The tag value cannot be duplicated.                                              | 标签值不能重复。                          | 请联系技术支持。                     |
| 400 | EndPoint.3072 | The tag key size is invalid.                                                     | 标签键长度不符合规范。                       | 请输入规范的标签键。                   |
| 400 | EndPoint.3073 | The tag value size is invalid.                                                   | 标签值长度不符合规范。                       | 请输入规范的标签值。                   |
| 400 | EndPoint.3074 | The maximum of ports has been reached.                                           | 端口映射个数超出限制。                       | 请联系技术支持。                     |
| 400 | EndPoint.3075 | The protocol is invalid.                                                         | 协议无效。                             | 请联系技术支持。                     |
| 400 | EndPoint.3076 | Invalid service name.                                                            | service name是非法的。                 | 请输入合法的service name。          |
| 400 | EndPoint.4001 | Failed to query the subnet.                                                      | 查询子网失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.4002 | Failed to create a subnet.                                                       | 创建子网失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.4003 | Failed to delete the subnet.                                                     | 删除子网失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.4005 | Failed to query the network.                                                     | 查询netWork失败。                      | 请联系技术支持。                     |
| 400 | EndPoint.4006 | Failed to create a network.                                                      | 创建netWork失败。                      | 请联系技术支持。                     |
| 400 | EndPoint.4007 | Failed to delete the network.                                                    | 删除netWork失败。                      | 请联系技术支持。                     |
| 400 | EndPoint.4009 | Failed to query the port.                                                        | 查询端口失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.4010 | Failed to create a port.                                                         | 创建端口失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.4011 | Failed to delete the port.                                                       | 删除端口失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.4013 | Failed to query the proxy.                                                       | 查询代理失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.4014 | Failed to query the router.                                                      | 查询路由失败。                           | 请联系技术支持。                     |
| 400 | EndPoint.4015 | The router is not found.                                                         | 未找到路由。                            | 请联系技术支持。                     |
| 400 | EndPoint.4016 | Failed to add an interface router.                                               | 添加interface路由失败。                  | 请联系技术支持。                     |
| 400 | EndPoint.4017 | Failed to delete the interface router.                                           | 删除interface路由失败。                  | 请联系技术支持。                     |
| 400 | EndPoint.4018 | Failed to add an extension router.                                               | 添加扩展路由失败。                         | 请联系技术支持。                     |
| 400 | EndPoint.4019 | Failed to delete the extension router.                                           | 删除扩展路由失败。                         | 请联系技术支持。                     |
| 400 | EndPoint.4020 | Failed to query Neutron L3 Agent.                                                | 查询路由L3 agent失败。                   | 请联系技术支持。                     |
| 400 | EndPoint.4025 | The specification is being used.                                                 | 规格已经被使用。                          | 请联系技术支持。                     |
| 400 | EndPoint.4026 | Failed to query the default route table of the VPC.                              | 查询VPC默认路由表失败。                     | 请联系技术支持。                     |
| 400 | EndPoint.4027 | Failed to query route tables of the VPC.                                         | 查询VPC路由表列表失败。                     | 请联系技术支持。                     |
| 400 | EndPoint.4028 | Failed to add routes to the VPC's route table.                                   | 添加路由到VPC路由表失败。                    | 请联系技术支持。                     |
| 400 | EndPoint.4029 | Failed to remove routes from the VPC's route table.                              | 从VPC路由表中删除路由失败。                   | 请联系技术支持。                     |
| 400 | EndPoint.6070 | The endpoint service is advanced mode already.                                   | 终端节点服务已经为高级模式。                    | 终端节点服务已经为高级模式，不需要升级。         |
| 401 | EndPoint.0003 | Authentication failed or authentication information is invalid.                  | 鉴权失败或未提供有效鉴权信息。                   | 确认是否开通权限。                    |
| 403 | EndPoint.0004 | Authentication information is incorrect or you have no permissions.              | 鉴权信息错误或无相应权限。                     | 确认是否开通权限。                    |
| 404 | EndPoint.0005 | The requested resource is unavailable.                                           | 请求的相关资源不存在。                       | 确认输入的参数是否正确。                 |
| 404 | EndPoint.2006 | The requested endpoint does not exist.                                           | 请求的终端节点不存在。                       | 请输入正确的终端节点。                  |
| 404 | EndPoint.2007 | The endpoint information does not exist.                                         | 终端节点信息不存在。                        | 请输入正确的终端节点，确认终端节点是否被删除。      |
| 404 | EndPoint.2008 | The endpoint has been deleted.                                                   | 终端节点已经被删除。                        | 确认终端节点是否被删除。                 |
| 404 | EndPoint.2030 | markerId is empty.                                                               | 查询markerId为空。                     | 请输入有效的marker ID。             |
| 404 | EndPoint.4004 | The subnet is not found.                                                         | 子网未找到。                            | 请核对输入的subnet_id，如若不行请联系技术支持。 |
| 404 | EndPoint.4008 | Network is unavailable.                                                          | 获取不到network。                      | 请联系技术支持。                     |
| 404 | EndPoint.4012 | The port is not found.                                                           | 端口未找到。                            | 请联系技术支持。                     |
| 404 | EndPoint.4021 | Neutron L3 Agent is not found.                                                   | 路由L3 agent不存在。                    | 请联系技术支持。                     |
| 404 | EndPoint.4030 | The route table is not found.                                                    | 未找到路由表。                           | 请联系技术支持。                     |
| 500 | EndPoint.0001 | System error. Please retry.                                                      | 系统异常，请重试。                         | 请重试，如若再次出现异常，请联系技术支持。        |
| 504 | EndPoint.0011 | The request body is null.                                                        | 请求体为空。                            | 请重新输入请求体。                    |
| 504 | EndPoint.0012 | The request header is null.                                                      | 请求体头为空。                           | 请输入请求头。                      |
| 504 | EndPoint.0013 | The request timed out.                                                           | 请求超时。                             | 重试失败请联系技术支持。                 |
   
