Error Codes
Description
If an error occurs when an API is called, error information is returned. This section describes the error information for EIP APIs (excluding native OpenStack APIs).
Example of Returned Error Information
{ "code": "VPC.0504", "message": "Floating IP could not be found." }
Error Code Description
Module |
Status Codes |
Error Code |
Message |
Description |
Handling Measure |
---|---|---|---|---|---|
Public |
400 |
VPC.0002 |
Available zone Name is null. |
The AZ is left blank. |
Check whether the availability_zone field in the request body for creating a subnet is left blank. |
404 |
VPC.0003 |
VPC does not exist. |
The VPC does not exist. |
Check whether the VPC ID is correct or whether the VPC exists under the tenant. |
|
400 |
VPC.0004 |
VPC is not active, please try later. |
The VPC status is abnormal. |
Try again later or contact technical support. |
|
401 |
VPC.0009 |
real-name authentication fail. |
Real-name authentication fails. |
Contact technical support. |
|
Public |
400 |
VPC.0007 |
urlTenantId is not equal tokenTenantId |
Inconsistent tenant IDs. |
The tenant ID in the URL is different from that parsed in the token. |
401 |
VPC.0008 |
Invalid token in the header. |
Invalid token. |
Check whether the token in the request header is valid. |
|
403 |
VPC.2701 |
Token not allowed to do this action. |
You do not have the permission to perform this operation, or your account balance is insufficient. |
Check whether the account balance is insufficient or whether your account has been frozen. |
|
Public |
403 |
VPC.0010 |
Rules on xx by ** disallowed by policy |
Insufficient permissions to make calls to the underlying system. |
Obtain the required permissions. |
403 |
VPC.2201 |
Policy doesn't allow <x:x:x> to be performed |
Insufficient fine-grained permissions. |
Obtain the required permissions. |
|
Public |
400 |
VPC.0014 |
This enterpriseProject status is disable. |
The enterprise project is unavailable. |
Use the ID of another available enterprise project. |
400 |
VPC.0011 |
EnterpriseProjectId is invalid |
Invalid enterprise project ID. |
Enter a valid enterprise project ID. |
|
500 409 |
VPC.0304 |
createBandwidth error. NO QUOTAS for shareBandwidthIP! Query routers fail. |
An internal error occurs when operations are being performed on the bandwidth. |
Contact technical support for handling the error based on the displayed error message. |
|
Assigning an EIP |
400 |
VPC.0301 |
Bandwidth name or share_type is invalid. |
The specified bandwidth parameter for assigning an EIP is invalid. |
Check whether the specified bandwidth parameter is valid. |
400 |
VPC.0501 |
Bandwidth share_type is invalid. |
Invalid EIP parameters. |
Check whether the parameter values are valid based on the returned error message and API reference document. |
|
403 |
VPC.0502 |
Tenant status is op_restricted. |
You are not allowed to assign the EIP. |
Check whether the account balance is insufficient or whether your account has been frozen. |
|
500 |
VPC.0503 |
Creating publicIp failed. |
Failed to assign the EIP. |
Contact technical support. |
|
500 |
VPC.0504 |
FloatIp is null. |
Failed to assign the EIP because no IP address is found. |
Contact technical support. |
|
500 |
VPC.0508 |
Port is invalid. |
Port-related resources could not be found. |
Contact technical support. |
|
409 |
VPC.0510 |
Floatingip has already associated with port. |
The EIP has already been bound to another ECS. |
Unbind the EIP from the ECS. |
|
409 |
VPC.0511 |
Port has already associated with floatingip. |
The port has already been bound with an EIP. |
Disassociate the port from the EIP. |
|
409 |
VPC.0521 |
Quota exceeded for resources: ['floatingip']. |
Insufficient EIP quota. |
Release the unbound EIPs or request to increase the EIP quota. |
|
409 |
VPC.0522 |
The IP address is in use. |
The IP address is invalid or in use. |
Check whether the IP address format is valid or replace it with another IP address. |
|
409 |
VPC.0532 |
No more IP addresses available on network. |
Failed to assign the IP address because no IP addresses are available. |
Release unbound EIPs or try again later. |
|
Querying an EIP |
400 |
VPC.0501 |
Invalid floatingip_id. |
Invalid EIP parameters. |
Check whether the EIP ID is valid. |
404 |
VPC.0504 |
Floating IP could not be found. |
The EIP could not be found. |
Check whether the specified EIP ID is valid. |
|
500 |
VPC.0514 |
Neutron Error. |
An exception occurs in the IaaS OpenStack system. |
Check whether the Neutron service is normal or contact technical support. |
|
Querying EIPs |
400 |
VPC.0501 |
Invalid limit. |
Invalid EIP parameters. |
Check whether the parameter values are valid based on the returned error message and API reference document. |
Releasing an EIP |
400 |
VPC.0501 |
Invalid param. |
Invalid EIP parameters. |
Contact technical support. |
404 |
VPC.0504 |
Floating IP could not be found. |
The EIP could not be found. |
Check whether the specified EIP ID is valid. |
|
409 |
VPC.0512 |
Resource status is busy, try it again later. |
The EIP status is abnormal. |
Try again later or contact technical support. |
|
500 |
VPC.0513 |
getElementByKey error. |
Network resources cannot be found. |
Contact technical support. |
|
500 |
VPC.0516 |
Publicip is in used by ELB. |
Failed to release the EIP because it is being used by a load balancer. |
Unbind the EIP from the load balancer. |
|
409 |
VPC.0517 |
Floatingip has associated with port, please disassociate it firstly. |
Failed to release the EIP because it is bound to an ECS. |
Unbind the EIP from the ECS. |
|
500 |
VPC.0518 |
Public IP has firewall rules. |
Failed to release the EIP because it is being used by a network ACL. |
Contact technical support. |
|
409 |
VPC.0525 |
The FloatingIp is billing, can not delete. |
An EIP whose billing mode is yearly/monthly cannot be deleted directly. |
Perform rollback operations. |
|
Updating an EIP |
400 |
VPC.0501 |
Port id is invalid. |
Invalid EIP parameters. |
Check whether the port ID is valid. |
404 |
VPC.0504 |
Floating IP could not be found. |
The EIP could not be found. |
Check whether the specified EIP ID is valid. |
|
500 |
VPC.0509 |
Floating ip double status is invalid. |
The port has already been associated with an EIP. |
Disassociate the port from the EIP. |
|
409 |
VPC.0510 |
Floatingip has already associated with port. |
The EIP has already been bound to another ECS. |
Unbind the EIP from the ECS. |
|
409 |
VPC.0511 |
Port has already associated with floatingip. |
Failed to bind the EIP to the ECS because another EIP has already been bound to the ECS. |
Unbind the EIP from the ECS. |
|
409 |
VPC.0512 |
Resource status is busy, try it again later. |
The EIP status is abnormal. |
Try again later or contact technical support. |
|
404/500 |
VPC.0514 |
Neutron Error. |
An exception occurs in the IaaS OpenStack system. |
Check whether the Neutron service is normal or contact technical support. |
|
Querying a bandwidth |
400 |
VPC.0301 |
getBandwidth error bandwidthId is invalid. |
The bandwidth parameters are incorrect. |
Check whether the bandwidth ID is valid. |
404 |
VPC.0306 |
No Eip bandwidth exist with id. |
The bandwidth object does not exist. |
The bandwidth object to be queried does not exist. |
|
500 |
VPC.0302 |
Neutron Error. |
An exception occurs in the IaaS OpenStack system. |
Check whether the Neutron service is normal or contact technical support. |
|
Querying bandwidths |
400 |
VPC.0301 |
Get bandwidths error limit is invalid. |
The bandwidth parameters are incorrect. |
Check whether the parameter values are valid based on the returned error message and API reference document. |
404 |
VPC.0306 |
No Eip bandwidth exist with id. |
The bandwidth object does not exist. |
The bandwidth object to be queried does not exist. |
|
500 |
VPC.0302 |
Neutron Error. |
An exception occurs in the IaaS OpenStack system. |
Check whether the Neutron service is normal or contact technical support. |
|
Updating a bandwidth |
400 |
VPC.0301 |
updateBandwidth input param is invalid. |
The bandwidth parameters are incorrect. |
Check whether the parameter values are valid based on the returned error message and API reference document. |
500 |
VPC.0302 |
Neutron Error. |
Failed to obtain underlying resources. |
Check whether the Neutron service is normal or contact technical support. |
|
500 |
VPC.0305 |
updateBandwidth error. |
An internal error occurs during the bandwidth update. |
Contact technical support. |
|
Assigning a shared bandwidth |
400 |
VPC.0310 |
NO QUOTAS for shareBandwidth! |
Insufficient shared bandwidth quota. |
Delete the shared bandwidth that is no longer required or contact technical support. |
Adding an EIP to or removing an EIP from a shared bandwidth |
400 |
VPC.0301 |
Invalid publicip_id |
Invalid EIP. |
Check whether the value of publicip_id in publicip_info is valid. |
400 |
VPC.0323 |
publicIp can not be operate with this bandwidth |
Failed to add an EIP to or remove an EIP from a shared bandwidth. |
Check whether the shared bandwidth or EIP is normal. |
|
Querying the Quota |
400 |
VPC.1207 |
resource type is invalid. |
The specified resource type does not exist. |
Use an existing resource type. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.