Updated on 2026-11-06 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

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

Status Codes

Error Code

Message

Description

Handling Measure

Public

400

VPC.0002

AZ 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. Try again later.

The VPC status is abnormal.

Try again later or contact technical support.

401

VPC.0009

Real-name authentication failed.

Real-name authentication fails.

Contact technical support.

Public

400

VPC.0007

Inconsistent tenant IDs.

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

Insufficient permissions to make calls to the underlying system.

Insufficient permissions to make calls to the underlying system.

Obtain the required permissions.

403

VPC.2201

Policy does not allow <x:x:x> to be performed.

Insufficient fine-grained permissions.

Obtain the required permissions.

Public

400

VPC.0014

The enterprise project is unavailable.

The enterprise project is unavailable.

Use the ID of another available enterprise project.

400

VPC.0011

Invalid enterprise project ID.

Invalid enterprise project ID.

Enter a valid enterprise project ID.

500

409

VPC.0304

An internal error occurs when operations are being performed on the bandwidth.

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

You are not allowed to assign the EIP.

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

Failed to assign the EIP.

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

EIP has already been bound to a port.

The EIP has already been bound to another ECS.

Unbind the EIP from the ECS.

409

VPC.0511

The port has already been bound with an EIP.

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.

404

VPC.0012

Requested resources not found.

The enterprise project ID does not exist.

Check whether an enterprise project with this ID exists for the tenant.

400

EIP.7901

Invalid input parameter.

Invalid request body.

Check the JSON format and the value range as prompted.

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

Network resources not found.

Network resources cannot be found.

Contact technical support.

500

VPC.0516

EIP is being 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

EIP is bound to a port. Unbind it first.

Failed to release the EIP because it is bound to an ECS.

Unbind the EIP from the ECS.

500

VPC.0518

EIP has firewall rules.

Failed to release the EIP because it is being used by a network ACL.

Contact technical support.

409

VPC.0525

A yearly/monthly EIP cannot be released.

An EIP whose billing mode is yearly/monthly cannot be released 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

The port has already been bound with an EIP.

The port has already been associated with an EIP.

Disassociate the port from the EIP.

409

VPC.0510

EIP has already been bound to a port.

The EIP has already been bound to another ECS.

Unbind the EIP from the ECS.

409

VPC.0511

The port has already been bound with an EIP.

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

EIP bandwidth with the ID not found.

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

EIP bandwidth with the ID not found.

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

401

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

Bandwidth update error.

An internal error occurs during the bandwidth update.

Contact technical support.

Assigning a shared bandwidth

400

VPC.0310

Insufficient shared bandwidth quota.

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

EIPs cannot be added to or removed from the shared 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

Invalid resource type.

The specified resource type does not exist.

Use an existing resource type.