# Error Code

#### Function

If an error occurs during API calling, a customized error message will be returned. This section describes the meaning of each status code returned by VPCEP.

#### Error Code Structure Format

    STATUS CODE 400

    1
    2
    3
    4

    {
            "error_code": "EndPoint.0002",
            "error_msg": "Parameter error."
    }

#### Error Code Description

An error code returned by an API does not correspond to an error message.

Table 1 Error codes
Status Code | Error Code | Error Message | Description | Solution
--- | --- | --- | --- | ---
500 | EndPoint.0001 | System error. Please retry. | System error. Please retry. | Try again. If the fault persists, contact customer service.
400 | EndPoint.0002 | Parameter error. | Parameter error. | Check whether the parameter is correct.
401 | EndPoint.0003 | Authentication failed or authentication information is invalid. | Authentication failed or authentication information is invalid. | Check whether the permission is enabled.
403 | EndPoint.0004 | Authentication information is incorrect or you have no permissions. | Authentication information is incorrect or you have no permissions. | Check whether the permission is enabled.
404 | EndPoint.0005 | The requested resource does not exist. | The requested resource is unavailable. | Check whether input parameters are correct.
400 | EndPoint.0006 | Invalid limit. | Invalid limit. | Enter a correct limit.
400 | EndPoint.0007 | Invalid action. | Invalid action. | Enter a correct action.
400 | EndPoint.0009 | The remote address does not match. | The remote address does not match. | Check whether you have the access permission.
400 | EndPoint.0010 | Invalid offset. | Invalid offset. | Enter a correct offset.
504 | EndPoint.0011 | The request body is null. | The request body is null. | Enter the request body again.
504 | EndPoint.0012 | The request header is null. | The request header is null. | Enter a request header.
504 | EndPoint.0013 | The request timed out. | The request timed out. | Contact customer service if the problem persists after a retry.
400 | EndPoint.0014 | Invalid project ID. | Invalid project ID. | Enter a correct project ID.
400 | EndPoint.0015 | Invalid specification. | Invalid specification. | Enter a correct specification.
400 | EndPoint.0016 | The number of batch operated resources exceeded the limit. | The number of batch operated resources exceeded the limit. | Reduce the number of resources to be batch operated.
400 | EndPoint.0017 | Invalid sort_key. | Invalid sort key. | Enter a correct sort key.
400 | EndPoint.0018 | Invalid sort_dir. | Invalid sort DIR. | Enter a correct sort DIR.
400 | EndPoint.0019 | Invalid status. | Invalid status. | Enter a correct status.
400 | EndPoint.0020 | Invalid VPC ID. | Invalid VPC ID. | Enter a correct VPC ID.
400 | EndPoint.0021 | Invalid marker_id. | Invalid marker ID. | Enter a correct marker ID.
400 | EndPoint.0022 | The number of requests exceeded the limit. Please try later. | The number of requests exceeded the limit. Please try later. | Try again later.
400 | EndPoint.0023 | Invalid subnet_id. | Invalid subnet ID. | Enter a correct subnet ID.
400 | EndPoint.1003 | Invalid service name. | Invalid service name. | Enter a correct service name.
400 | EndPoint.1004 | Invalid request. | Invalid request. | Enter a correct request body.
400 | EndPoint.1008 | Failed to obtain the token. | Failed to obtain the token. | Contact customer service.
400 | Endpoint.1018 | Quota exceeded. | Quota exceeded. | Contact customer service.
400 | EndPoint.1019 | Invalid route table ID. | Invalid route table ID. | Enter a correct route table ID.
400 | EndPoint.2001 | The VPC does not exist. | The VPC does not exist. | Enter a correct VPC ID for the current tenant.
400 | EndPoint.2002 | The request input parameter is empty. | The request input parameter is empty. | Please input a correct parameter.
400 | EndPoint.2003 | The endpoint service does not exist. | The VPC endpoint service does not exist. | Enter a VPC endpoint service.
400 | EndPoint.2004 | The endpoint service is unavailable. | The VPC endpoint service is unavailable. | Try again later. If the fault persists, contact customer service.
404 | EndPoint.2006 | The requested endpoint does not exist. | The requested VPC endpoint does not exist. | Enter a correct VPC endpoint.
404 | EndPoint.2007 | The endpoint information does not exist. | The VPC endpoint information is unavailable. | Enter a correct VPC endpoint and check whether the endpoint is deleted.
404 | EndPoint.2008 | The endpoint has been deleted. | The VPC endpoint has been deleted. | Check whether the VPC endpoint is deleted.
400 | EndPoint.2009 | The specification information does not exist. | The specification is unavailable. | Enter a correct specification.
400 | EndPoint.2010 | The input parameter subnet ID is empty. | The input parameter subnet_id is empty. | Enter a valid subnet ID.
400 | EndPoint.2011 | The input parameter VPC ID is empty. | The input parameter vpc_id is empty. | Enter a valid VPC ID.
400 | EndPoint.2012 | You have no permission to connect to the VPC endpoint service. | You have no permission to connect to the VPC endpoint service. | Check whether you have the access permission.
400 | EndPoint.2013 | The endpoint does not belong to the endpoint service. | The VPC endpoint does not belong to the VPC endpoint service. | Check whether the VPC endpoint is correct.
400 | EndPoint.2014 | The endpoint has been connected to the endpoint service. | The VPC endpoint has connected to the VPC endpoint service. | Connected. You do not need to connect again.
400 | EndPoint.2015 | The endpoint has been frozen. | The VPC endpoint has been frozen. | Contact customer service to confirm the freezing reason.
400 | EndPoint.2016 | The endpoint pool IP address does not exist. | The VPC endpoint pool IP address does not exist. | Contact customer service.
400 | EndPoint.2017 | Invalid endpoint ID. | The ID of the VPC endpoint is invalid. | Enter a correct VPC endpoint ID.
400 | EndPoint.2018 | The endpoint is being deleted. | The VPC endpoint is being deleted. | Select an available VPC endpoint.
400 | EndPoint.2019 | The endpoint is being created. | The VPC endpoint is being created. | Try again later.
400 | EndPoint.2020 | qrMac or sgMac does not exist. | qrMac or sgMac is not found. | Contact customer service.
400 | EndPoint.2021 | Failed to query the VPC. | Failed to query the VPC. | Contact customer service.
400 | EndPoint.2022 | Failed to create an endpoint. | Failed to create a VPC endpoint. | Contact customer service.
400 | EndPoint.2023 | CIDR is not found. | CIDR is not found. | Contact customer service.
400 | EndPoint.2024 | shadowVpc or shadowPort does not exist. | shadowVpc or shadowPort is null. | Contact customer service.
400 | EndPoint.2025 | The endpoint port does not exist. | The VPC endpoint port is not found. | Contact customer service.
400 | EndPoint.2026 | VNI is empty. | VNI is empty. | Contact customer service.
400 | EndPoint.2027 | Invalid action. | Invalid action. | Enter a valid action.
400 | EndPoint.2028 | The endpoint service port or protocol is empty. | The VPC endpoint service port or protocol is empty. | Enter a valid port number or protocol.
400 | EndPoint.2029 | The requested endpoint service ID is empty. | The ID of the requested VPC endpoint service is empty. | Enter a valid VPC endpoint service ID.
404 | EndPoint.2030 | markerId is empty. | markerId is empty. | Enter a valid marker ID.
400 | EndPoint.2031 | Only one endpoint is allowed. | Only one VPC endpoint is allowed. | A VPC endpoint service allows accepting or rejecting only one VPC endpoint.
400 | EndPoint.2033 | The entered parameter enable_dns is invalid. | Invalid parameter enable_dns. | Enter a valid parameter.
400 | EndPoint.2034 | The entered parameter enable_dns is incorrect. | The entered parameter enable_dns is incorrect. | Enter a valid parameter.
400 | EndPoint.2035 | The system parameter dns.enable is invalid. | System parameter dns.enable is invalid. | Contact customer service.
400 | EndPoint.2037 | The current network does not belong to the VPC. | The current network does not belong to the VPC. | Check whether the parameter is correct.
400 | EndPoint.2038 | The pool does not exist. | The resource pool is not found. | Contact customer service.
400 | EndPoint.2039 | The route table is being used by another VPC endpoint. | The route table is being used by another VPC endpoint. | Contact customer service.
400 | EndPoint.2040 | The VPC endpoint has no route table bound. | The VPC endpoint has no route table associated. | Contact customer service.
400 | EndPoint.3001 | Failed to create a port. | Failed to create a port. | Contact customer service.
400 | EndPoint.3002 | Invalid permission. | Invalid permission. | Contact customer service.
400 | EndPoint.3003 | Invalid port ID. | Invalid port ID. | Contact customer service.
400 | EndPoint.3004 | Invalid port. | Invalid port. | Contact customer service.
400 | EndPoint.3005 | Failed to delete the endpoint service. | Failed to delete the VPC endpoint service. | Contact customer service.
400 | EndPoint.3006 | The endpoint service is being used. | The VPC endpoint service is being used. | Contact customer service.
400 | EndPoint.3008 | The port does not exist. | The port is not found. | Contact customer service.
400 | EndPoint.3009 | Invalid CIDR. | Invalid CIDR. | Contact customer service.
400 | EndPoint.3010 | Invalid IP address. | Invalid IP address. | Enter a correct IP address.
400 | EndPoint.3011 | Parameter IP is not required to create an endpoint service (interface). | Parameter ip is not required to create a VPC endpoint service (interface). | Enter a correct request body.
400 | EndPoint.3013 | endpointService interface vlan can't have vpcId. | The request for accessing the VLAN VPC endpoint service cannot contain VPC ID information. | Enter a correct request body.
400 | EndPoint.3014 | endpointService interface can't have cidr. | The request for accessing the VPC endpoint service (interface) cannot contain CIDR. | Enter a correct request body.
400 | EndPoint.3015 | endpointService gateway vlan can't have portId. | The request for accessing the VLAN VPC endpoint service (gateway) cannot contain the port ID. | Enter a correct request body.
400 | EndPoint.3016 | endpointService gateway vlan can't have ip. | The request for accessing the VLAN VPC endpoint service cannot contain IP address information. | Enter a correct request body.
400 | EndPoint.3017 | Invalid CIDRs. | Invalid CIDRs. | Enter correct CIDRs.
400 | EndPoint.3018 | endpointService gateway vlan can't have vpcId. | The request for accessing the VLAN VPC endpoint service cannot contain VPC ID information. | Enter a correct request body.
400 | EndPoint.3021 | Invalid serverType. | Invalid parameter serverType. | Enter a valid parameter.
400 | EndPoint.3022 | Failed to create a network. | Failed to create a network. | Contact customer service.
400 | EndPoint.3023 | Failed to create a subnet. | Failed to create a subnet. | Contact customer service.
400 | EndPoint.3035 | Invalid action. | Invalid action. | Enter a correct action.
400 | EndPoint.3036 | Invalid permissions. | The permission list cannot be empty. | Enter a correct request body.
400 | EndPoint.3040 | Failed to add a rollback task. | Failed to add a rollback task. | Contact customer service.
400 | EndPoint.3042 | The port ID does not belong to the current VPC. | The port ID does not belong to the current VPC. | Enter a correct request body.
400 | EndPoint.3043 | The service port is invalid. | Invalid service port. | Enter a correct request body.
400 | EndPoint.3044 | The parameter ports conflicted with ports in an existing endpoint service. | This port conflicted with the port of an existing endpoint service. | Enter a correct request body.
400 | EndPoint.3045 | Other properties cannot be modified in the current endpoint service state. | Modifying other properties in the current endpoint service state is not supported. | Enter a correct request body.
400 | EndPoint.3046 | The IP address conflicted with an existing endpoint service. | The IP address conflicted with an existing VPC endpoint service. | Enter a correct request body.
400 | EndPoint.3048 | Invalid netType. | Invalid netType. | Enter a valid value.
400 | EndPoint.3049 | The maximum number of whitelist records has been reached. | The maximum number of whitelist records has been reached. | Delete invalid whitelist records or add an asterisk (*).
400 | EndPoint.3051 | Endpoint service vip port id is invalid. | Invalid parameter vip_port_id. | Enter a correct value.
400 | EndPoint.3052 | portId and ip cannot be modified at the same time. | portId and ip cannot be modified at the same time. | Enter a correct request body.
400 | EndPoint.3053 | vipPortId and ip cannot be modified at the same time. | vipPortId and ip cannot be modified at the same time. | Enter a correct request body.
400 | EndPoint.3054 | portId or vipPortId cannot be modified. | portId or vipPortId cannot be modified. | Enter a correct request body.
400 | EndPoint.3055 | ip cannot be modified. | ip cannot be modified. | Enter a correct request body.
400 | EndPoint.3056 | The maximum of VPC endpoint services using the same IP address has been reached. | The maximum of VPC endpoint services supported by a backend resource has been reached. | Contact customer service.
400 | EndPoint.3057 | cidr cannot be modified. | CIDR cannot be modified. | Enter a correct request body.
400 | EndPoint.3058 | The domain name is invalid. | Invalid domain name. | Enter a correct domain name.
400 | EndPoint.3059 | The domain name already exists. | The domain name already exists. | Contact customer service.
400 | EndPoint.3060 | You have no permission to add domain names. | You have no permission to add domain names. | Contact customer service.
400 | EndPoint.3061 | The maximum number of domain names has reached. | The maximum number of domain names has been reached. | Contact customer service.
400 | EndPoint.3062 | Invalid endpoint service ID. | Invalid VPC endpoint service ID. | Enter a correct parameter.
400 | EndPoint.3063 | Invalid port ID. | Invalid port ID. | Enter a correct port ID.
400 | EndPoint.3066 | The tag cannot be empty. | The tag cannot be empty. | Enter a correct request body.
400 | EndPoint.3067 | The tag key cannot be duplicated. | The tag key cannot be duplicated. | Enter a correct request body.
400 | EndPoint.3068 | Tag keys and values should meet relevant requirements. | Tag keys and values must meet relevant requirements. | Enter a correct request body.
400 | EndPoint.3069 | The maximum number of tags has been reached. | The maximum number of tags has been reached. | Contact customer service.
400 | EndPoint.3070 | Invalid resource type. | Incorrect resource type. | Contact customer service.
400 | EndPoint.3071 | The tag value cannot be duplicated. | Tag values cannot be duplicated. | Contact customer service.
400 | EndPoint.3072 | The tag key size is invalid. | The tag key size is invalid. | Enter a correct tag key.
400 | EndPoint.3073 | The tag value size is invalid. | The tag value size is invalid. | Enter a correct tag value.
400 | EndPoint.3074 | The maximum of ports has been reached. | The maximum of port mappings has been reached. | Contact customer service.
400 | EndPoint.3075 | The protocol is invalid. | Invalid protocol. | Contact customer service.
400 | EndPoint.3076 | Invalid service name. | Invalid service name. | Enter a valid service name.
400 | EndPoint.4001 | Failed to query the subnet. | Failed to query the subnet. | Contact customer service.
400 | EndPoint.4002 | Failed to create a subnet. | Failed to create a subnet. | Contact customer service.
400 | EndPoint.4003 | Failed to delete the subnet. | Failed to delete the subnet. | Contact customer service.
404 | EndPoint.4004 | The subnet is not found. | The subnet does not exist. | Check the entered subnet ID. If the fault persists, contact customer service.
400 | EndPoint.4005 | Failed to query the network. | Failed to query the network. | Contact customer service.
400 | EndPoint.4006 | Failed to create a network. | Failed to create a network. | Contact customer service.
400 | EndPoint.4007 | Failed to delete the network. | Failed to delete the network. | Contact customer service.
404 | EndPoint.4008 | Network is unavailable. | Network is unavailable. | Contact customer service.
400 | EndPoint.4009 | Failed to query the port. | Failed to query the port. | Contact customer service.
400 | EndPoint.4010 | Failed to create a port. | Failed to create a port. | Contact customer service.
400 | EndPoint.4011 | Failed to delete the port. | Failed to delete the port. | Contact customer service.
404 | EndPoint.4012 | The port is not found. | The port is not found. | Contact customer service.
400 | EndPoint.4013 | Failed to query the proxy. | Failed to query the proxy. | Contact customer service.
400 | EndPoint.4014 | Failed to query the router. | Failed to query the route. | Contact customer service.
400 | EndPoint.4015 | The router is not found. | The route is not found. | Contact customer service.
400 | EndPoint.4016 | Failed to add an interface router. | Failed to add an interface route. | Contact customer service.
400 | EndPoint.4017 | Failed to delete the interface router. | Failed to delete the interface route. | Contact customer service.
400 | EndPoint.4018 | Failed to add an extension router. | Failed to add the extended route. | Contact customer service.
400 | EndPoint.4019 | Failed to delete the extension router. | Failed to delete the extended route. | Contact customer service.
400 | EndPoint.4020 | Failed to query Neutron L3 Agent. | Failed to query Neutron L3 Agent. | Contact customer service.
404 | EndPoint.4021 | Neutron L3 Agent is not found. | Neutron L3 Agent is not found. | Contact customer service.
400 | EndPoint.4025 | The specification is being used. | The specification is being used. | Contact customer service.
400 | EndPoint.4026 | Failed to query the default route table of the VPC. | Failed to query the default route table of the VPC. | Contact customer service.
400 | EndPoint.4027 | Failed to query route tables of the VPC. | Failed to query route tables of the VPC. | Contact customer service.
400 | EndPoint.4028 | Failed to add routes to the VPC's route table. | Failed to add routes to the VPC's route table. | Contact customer service.
400 | EndPoint.4029 | Failed to remove routes from the VPC's route table. | Failed to remove routes from the VPC's route table. | Contact customer service.
404 | EndPoint.4030 | The route table is not found. | The route table is not found. | Contact customer service.

Parent topic: Appendix