Error Code Description v2
Background Information
- An error code returned by an API does not correspond to one error message. The following table lists only common error messages.
- Most NAT Gateway APIs are asynchronous. Some error codes are displayed in the returned messages for task viewing requests. HTTP status codes may not be accurate.
- The NAT Gateway service is strongly dependent on other services, such as network and storage. When error messages are provided for the NAT Gateway-depended services, contact technical support for troubleshooting.
Error Codes
Module |
HTTP Status Code |
Error Code |
Description |
Error Message |
Handling Measure |
---|---|---|---|---|---|
Public |
400 |
NAT.0001 |
Invalid timestamp. |
Invalid value for created_at %(timestamp)s. |
Enter the time in the correct format. |
400 |
NAT.0002 |
Invalid request parameters. |
Invalid parameters. |
Enter the correct parameter. |
|
404 |
NAT.0004 |
The router does not exist. |
The router %(router_id)s does not exist. |
Check whether the entered router ID is correct. |
|
404 |
NAT.0005 |
The network does not exist. |
Network %(network_id)s does not exist. |
Enter a valid network ID. |
|
400 |
NAT.0006 |
Rule has not been deleted. |
Rule has not been deleted. |
Check whether the gateway fails to be deleted because its rules have not been deleted. |
|
400 |
NAT.0007 |
The database is abnormal. |
DB Error |
Contact technical support. |
|
400 |
NAT.0008 |
The subnet is not connected to the virtual router. |
Router %(router)s has no port for subnet %(subnet)s. |
Add the subnet to the router port. |
|
400 |
NAT.0009 |
The resource is in use. |
Resource %(res_type)s %(res)s is used by %(user_type)s %(user)s |
Check whether the resource is in use. |
|
400 |
NAT.0010 |
The subnet does not exist in the network. |
Network %(network)s does not contain any IPv4 subnet |
Check whether the subnet has been added to the network. |
|
400 |
NAT.0012 |
A NAT gateway has been created for the network. |
The network %(network)s already has nat gateway. |
Select a network in which no NAT gateway has been created. |
|
404 |
NAT.0013 |
The NAT gateway cannot be found. |
Router %(router)s for the specified NAT gateway could not be found. |
The NAT gateway cannot be found. |
|
400 |
NAT.0014 |
The description contains more than 255 characters. |
Invalid input for description.+exceeds maximum length of 255. |
Enter a maximum of 255 characters. |
|
400 |
NAT.0015 |
The name contains more than 255 characters. |
Invalid input for name.+exceeds maximum length of 255. |
Enter a maximum of 255 characters. |
|
400 |
NAT.0016 |
The spec value is not 1, 2, 3, or 4. |
Invalid input for spec. Reason: '*' is not in ['1', '2', '3', '4']. |
Check whether the spec value is 1, 2, 3, or 4. |
|
400 |
NAT.0017 |
Invalid router ID. |
Invalid input for router_id. Reason: '********-****-****-****-*************' is not a valid UUID. |
Enter a correct router ID. |
|
400 |
NAT.0018 |
Invalid internal network ID. |
Invalid input for internal_network_id. Reason: '********-****-****-****-*************' is not a valid UUID. |
Enter a correct internal network ID. |
|
404 |
NAT.0019 |
The network ID does not exist. |
Network ********-****-****-****-************* could not be found. |
Check whether the internal network ID exists. |
|
404 |
NAT.0020 |
The tenant_id value is empty or the parameter does not exist. |
Specifying 'tenant_id' other than authenticated tenant in request requires admin privileges |
Check whether the tenant ID exists. |
|
404 |
NAT.0021 |
The nat_gateway_id value is empty or the parameter does not exist. |
Invalid input for nat_gateway_id. Reason: '********-****-****-****-*************'is not a valid UUID. |
Check whether the NAT gateway ID exists. |
|
400 |
NAT.0022 |
The CIDR block of the SNAT rule conflicts with the network. |
Either network_id or cidr must be specified. Both can not be specified at the same time |
Enter either the network ID or CIDR block. |
|
404 |
NAT.0023 |
The port ID does not exist. |
Port '********-****-****-****-*************' could not be found. |
Check whether the port ID exists. |
|
404 |
NAT.0024 |
The floating_ip_id value is empty or the parameter does not exist or is invalid. |
Invalid input for floating_ip_id. Reason: '********-****-****-****-*************'is not a valid UUID. |
Check whether the floating IP address ID exists. |
|
401 |
NAT.0025 |
The token has expired. |
Token is expired. |
Check whether the token is within validity period. |
|
400 |
NAT.0026 |
The floating IP address ID does not exist. |
Floating IP ********-****-****-****-************* could not be found. |
Check whether the floating IP address ID exists. |
|
NatGateway |
400 |
NAT.0101 |
NAT gateway request error. |
Lack of user authority. //request is null. //endpoint is empty. // resource type is invalid. //create natgateway request is null. //update natgateway request is null |
Troubleshoot the fault as prompted or contact technical support. |
400 |
NAT.0102 |
Try again later. |
The system is busy. Please try again later. |
Try again later. |
|
400 |
NAT.0101 |
Incorrect NAT gateway parameter. |
Request is invalid. //NatGateway id unvalid. // the enterprise project id is unsupported. // the enterprise project id in request is invalid. //parameter is null. // tags is invalid. // get natgateways error limit is invalid. //get natgateways error marker is invalid. //Only admin user can do this action. //Parameters are invalid, check them and try. |
Enter the correct parameter or contact technical support. |
|
400 |
NAT.0103 |
The NAT gateway is not activated. |
NatGateway %(nat_gateway_id)s is not ACTIVE. |
Check the gateway status. If the gateway is not in the running state for a long time, contact technical support. |
|
400 |
NAT.0104 |
The NAT gateway is not in the UP state. |
NatGateway %(nat_gateway_id)s is not UP. |
Check the gateway status. The gateway may be frozen due to arrears. |
|
400 |
NAT.0104 |
The NAT gateway is frozen. |
NatGateway %(nat_gateway_id)s is frozen.can not update |
Check the gateway status. The gateway may be frozen due to arrears and cannot be updated. |
|
400/404 |
NAT.0105 |
The NAT gateway does not exist. (The HTTP status code 400 indicates that the gateway does not exist when deleting the gateway. The HTTP status code 404 indicates that the gateway does not exist when querying the gateway.) |
NatGateway %(nat_gateway_id)s does not exist. |
Check whether the NAT gateway ID exists. |
|
400 |
NAT.0106 |
Concurrent operation conflicts. |
Concurrent conflict requests found |
Contact technical support. |
|
400 |
NAT.0107 |
Failed to create the internal port of the NAT gateway. |
Create NG Port failed. |
Internal error. Contact technical support. |
|
400 |
NAT.0108 |
Failed to bind the internal port to the NAT gateway. |
NG Port %(port)s is unbound. |
Internal error. Contact technical support. |
|
400 |
NAT.0109 |
The NAT gateway does not support IPv6. |
NatGateway does not support IPv6. |
The NAT gateway cannot be bound to an IPv6 EIP. |
|
400 |
NAT.0110 |
An error occurred when selecting the gateway node. |
Get Nat gateway host failed |
Contact technical support. |
|
400 |
NAT.0111 |
Failed to obtain the IP address of the gateway node. |
Get Nat gateway agent local_ip failed |
Contact technical support. |
|
400 |
NAT.0112 |
Failed to obtain the VPC route table. |
Get RouteTable %(router_id)s failed. |
Contact technical support. |
|
400 |
NAT.0113 |
The number of NAT gateways exceeds the upper limit. |
%(limit)s NAT gateways has been created to this VPC, no more is allowed |
Create a NAT gateway under another VPC or delete the existing NAT gateways under the VPC. |
|
SnatRule |
400 |
NAT.0201 |
Incorrect SNAT rule parameter. |
Endpoint is null or empty. //Endpoint is Invalid. //Request is null. //natGatewayId is invalid. //SnatRule id unvalid. //NatGatewayId is unvalid. //Invalid value for public ip id. //Endpoint is null. //request is null. //Query SnatRules list error marker is invalid. |
Enter the correct parameter or contact technical support. |
400 |
NAT.0202 |
The CIDR block of the SNAT rule conflicts with the network. |
Either network_id or cidr must be specified.Both can not be specified at the same time |
Do not specify the Cidr and Network_id fields at the same time when configuring an SNAT rule. |
|
400 |
NAT.0203 |
Invalid CIDR block. |
cidr is invalid, make sure it's format is correct. |
Enter a valid CIDR block, for example, 192.168.0.0/24. |
|
400 |
NAT.0204 |
Invalid rule type. |
source_type and network_id is incompatible. |
If an SNAT rule is configured for a VPC, the parameter Source_Type is optional or set its value to 0. If an SNAT rule is configured for a Direct Connect connection, Source_type must be set to 1. |
|
400 |
NAT.0205 |
The CIDR block must be a subset of the VPC subnet CIDR block. |
cidr must be a subset of subnet's cidr. |
If an SNAT rule is configured for a VPC, the CIDR block must be the VPC subnet CIDR block. For example, if the subnet is 192.168.0.0/24, the CIDR block can be 192.168.0.0/25. |
|
400 |
NAT.0206 |
The CIDR block conflicts with the subnet CIDR block. |
cidr conflicts with subnet's cidr. |
If an SNAT rule is configured for a Direct Connect connection, the CIDR block cannot conflict with the VPC subnet CIDR block. |
|
400 |
NAT.0207 |
The CIDR block conflicts with the existing one. |
cidr in the request conflicts with cidrs of existing rules. |
Enter a CIDR block that does not conflict with existing ones. |
|
400 |
NAT.0208 |
The rule already exists. |
Snat rule for network %(network)s exists. |
Select a subnet that has not been configured with an SNAT rule. |
|
404 |
NAT.0209 |
The SNAT rule does not exist. |
No Snat Rule exist with id %(id)s |
Check whether the ID of the SNAT rule exists. |
|
400 |
NAT.0210 |
The floating IP address UUID of the SNAT rule is invalid. |
Invalid input for floating_ip_id. Reason: \'%(fip)s\' is not a valid UUID. |
Enter a valid UUID. |
|
400 |
NAT.0210 |
The public IP address ID of an SNAT rule cannot be a null string. |
Invalid value for public ip id. |
Enter a valid ID. |
|
400 |
NAT.0211 |
The number of EIPs associated with the SNAT rule exceeds the upper limit. |
%(limit)s EIP has been associated to this SNAT rule's EIP pool, no more is allowed. |
The number of EIPs associated with the SNAT rule exceeds the upper limit. For details, see the NAT Gateway API Reference. |
|
400 |
NAT.0212 |
Failed to bind or unbind the floating IP address to or from the SNAT rule. |
SNAT Rule %(rule)s Associated or disassociate EIP %(fip)s Failed." |
Failed to bind or unbind the floating IP address to or from the SNAT rule. |
|
DnatRule |
400 |
NAT.0301 |
Incorrect DNAT rule parameter. |
get dnatRules error limit is invalid. //get dnatrules error marker is invalid. //endpoint is empty. //DnatRule id unvalid. //VPC ID is invalid. //Request is null. //DnatRule id invalid. //internal_service_port_range' out of range(1-65535). //internal_service_port_range': invalid format. //internal_service_port_range': param is null. //'internal_service_port_range' and 'external_service_port_range' must be equal. //for non-all port rule,the portocol can not be any //param nat_gateway_id is null in request body //param floating_ip_id is null in request body //param xxxxxxx is null in request body |
Enter the correct parameter or contact technical support. |
400 |
NAT.0302 |
Invalid DNAT rule protocol. |
Dnat rule protocol %(protocol)s not supported.Only protocol values %(values)s and integer representations [6, 17, 0] are supported. |
Configure a valid protocol. The value range can be 6, 17, or 0, corresponding to protocols TCP, UDP, and ANY, respectively. |
|
400 |
NAT.0303 |
Invalid DNAT rule port. |
Invalid value for port %(port)s |
Configure a valid internal port and external port. The value ranges from 0 to 65535. |
|
400 |
NAT.0304 |
The internal network information of the DNAT rule conflicts with the existing one. |
The port_id, private_ip, internal port and protocol specified have been occupied. |
Enter the VM port ID, private IP address, or internal port that does not conflict with the existing one. |
|
400 |
NAT.0305 |
The external network information of the DNAT rule conflicts with the existing one. |
The floating ip, external port and protocol specified have been occupied. |
Enter the floating IP address ID, external port, or protocol that does not conflict with the existing one. |
|
400 |
NAT.0306 |
The request information of the DNAT rule is incorrect when Port Type is set to All ports. |
The external port equals 0 and internal port equls 0 and protocol equals any must satisfied at the same time. |
Set both the internal port and the external port to 0 and the protocol is ANY. |
|
400 |
NAT.0307 |
The port ID of the DNAT rule conflicts with that of an existing DNAT rule. |
The port_id already existing dnat allport rules or dnat_rules, can no longer create dnat rules or dnat allport rules. |
Change the VM port ID to create or modify the DNAT rule. |
|
400 |
NAT.0308 |
The private IP address of the DNAT rule conflicts with that of an existing DNAT rule. |
The private_ip already existing dnat allport rules or dnat rules, can no longer create dnat rules or dnat allport rules. |
The private IP address conflicts with the existing DNAT rule. Change the private IP address or modify the DNAT rule. |
|
400 |
NAT.0318 |
The DNAT rule has been frozen and cannot be modified. |
DNAT rule is frozen, can no longer update. |
Check whether the floating IP address bound to the DNAT rule is in arrears or whether the user account is in arrears. |
|
400 |
NAT.0309 |
The maximum number of DNAT rules allowed to be associated has been reached. |
%(limit)s DNAT rules has been associated to this NAT Gateway, no more is allowed |
The maximum number of DNAT rules allowed to be associated with the NAT gateway has been reached. |
|
400 |
NAT.0317 |
The DNAT rule contains mutually exclusive parameters. |
The port_id and private_ip exist at the same time and value is not empty, but at least one value is empty. |
The VM port ID and private IP address cannot be configured at the same time. |
|
400 |
NAT.0310 |
The parameters required by the DNAT rule are missing. |
The port_id and private_ip values are both empty, at least one value is not empty. |
Configure the VM port ID and private IP address. |
|
400 |
NAT.0311 |
Invalid private IP address of the DNAT rule. |
The private ip address is not legal. |
Configure a valid private IP address. |
|
400 |
NAT.0312 |
This virtual IP address is not supported. |
The virtual IP address is not supported. |
Configure a valid private IP address. |
|
400 |
NAT.0313 |
The maximum number of DNAT rules allowed to be bound has been reached. |
%(limit)s DNAT rules has been associated to this Floating IP, no more is allowed |
The maximum number of DNAT rules allowed to be associated with a floating IP address has been reached. |
|
400 |
NAT.0314 |
The maximum number of DNAT rules allowed to be created in batches exceeds the upper limit. |
batch create dnat rules max limit: %(limit)s |
The maximum number of DNAT rules allowed to be created in batches exceeds the upper limit. |
|
400 |
NAT.0315 |
Invalid VM port ID of the DNAT rule. |
Port %(port)s is not a valid port. |
Configure a valid VM port ID. |
|
400 |
NAT.0316 |
The value of VtepIp must be specified. |
Vtep_ip is Null. |
Delete and recreate the DNAT rule or contact technical support. |
|
404 |
NAT.0319 |
The DNAT rule does not exist. |
No Dnat Rule exist with id %(id)s |
The DNAT rule does not exist. |
|
EIP |
400 |
NAT.0401 |
The EIP is frozen. |
Floating Ip %(fip)s is freezed. |
Select an EIP that has not been frozen. |
400 |
NAT.0402 |
The EIP has been associated with a port. |
Floating Ip %(fip)s has associated with port %(port)s. |
Select an EIP that has not been bound to any other object. For example, if an EIP has been bound to an ECS, it cannot be bound to a NAT gateway. |
|
400 |
NAT.0403 |
The EIP has been used by the SNAT rule. |
There is a duplicate EIP %(fips)s in SNAT rule. |
Select another EIP. |
|
400 |
NAT.0404 |
The EIP has been associated with a NAT gateway. |
Floating Ip %(fip)s has used by nat gateway %(nat_gateway)s. |
The EIP has been bound to a NAT gateway. Select another one. |
|
400 |
NAT.0405 |
The EIP is in use. |
Floating Ip %(fip)s has been occupied. |
The EIP has been bound to a NAT gateway. Select another one. |
|
400 |
NAT.0408 |
An EIP cannot be associated with a DNAT rule and another DNAT rule with Port Type set to All ports at the same time. |
Floating Ip %(fip)s can not be associated with both DNAT rule and DNAT all port rule. |
Do not associate an EIP with a DNAT rule and another DNAT rule with Port Type set to All ports at the same time. |
|
400 |
NAT.0409 |
An EIP cannot be associated with an SNAT rule and a DNAT rule with Port Type set to All ports at the same time. |
Floating Ip %(fip)s can not be associated with both SNAT rule and DNAT all port rule. |
Do not associate an EIP with an SNAT rule and a DNAT rule with Port Type set to All ports at the same time. |
|
400 |
NAT.0407 |
The EIP has been associated with a rule. |
Floating Ip %(fip)s is used by other rules |
Select an EIP that is not in use. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot