Updated on 2022-01-25 GMT+08:00

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

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.

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.

Disassociate 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.

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.

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.