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