Updated on 2024-04-15 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 VPC APIs (excluding native OpenStack APIs).

Example of Returned Error Information

{
    "code": "VPC.0002",
    "message": "Available zone Name is null."
}

Error Code Description

Module

Status Code

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

Lack of user authority.

User restricted.

Check whether the account is in arrears or has not applied for the OBT permission.

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

Creating a VPC

400

VPC.0101

Param is invalid.

VPC parameters are incorrect.

Check whether the parameter values are valid based on the returned error message and API reference document.

409

VPC.0114

Quota exceeded for resources: ['router'].

The number of VPCs has reached the maximum allowed limit specified by the quota.

Clear VPC resources that no longer will be used or apply for expanding the VPC resource quota.

400

VPC.0115

The router name has exist.

The VPC name already exists.

Change the VPC name.

Querying a VPC

400

VPC.0101

getVpc error vpcId is invalid.

VPC parameters are incorrect.

Ensure that the specified VPC ID is correct.

404/500

VPC.0105

Neutron Error.

Calling the backend service fails.

Check whether the Neutron service is normal or contact technical support.

500

VPC.0106

get router is null.

An error is returned for the failure to call the backend service.

Check whether the Neutron service is normal or contact technical support.

Querying VPCs

400

VPC.0101

Query vpc list error.

Failed to query the VPCs.

Check whether the parameter values are valid based on the returned error message.

500

VPC.0105

Neutron Error.

Calling the backend service fails.

Check whether the Neutron service is normal or contact technical support.

500

VPC.0106

query routers or getList are null.

The response result of calls to the IaaS OpenStack system is null or empty.

Check whether the Neutron service is normal or contact technical support.

Deleting a VPC

400/404

VPC.0101

Delete router error xx is invalid.

Invalid parameters.

Check whether the parameter values are valid based on the returned error message.

500

VPC.0102

Delete router fail.

The interface fails to obtain the routing resources.

Contact technical support.

409

VPC.0103

Resource status is busy. Try again later.

The VPC cannot be deleted because it is being created.

Contact technical support.

409

VPC.0104

Router contains subnets, please delete subnet first.

The VPC cannot be deleted because it contains subnets.

Delete the subnet in the VPC.

404/500

VPC.0105

Neutron Error.

Calling the backend service fails.

Check whether the Neutron service is normal or contact technical support.

409

VPC.0107

Delete the firewall first before deleting the router.

Failed to delete the VPC because it has network ACLs associated.

Delete the network ACLs of the tenant first.

409

VPC.0108

Router is used not allow deleted.

Failed to delete the VPC because it has EIPs associated.

Delete the EIPs of the tenant first.

409

VPC.0110

deleteDefaultNetworkFromRouter router status is invalid.

The VPC cannot be deleted because its status is unstable.

Contact technical support.

500

VPC.0111

Database Error.

An internal VPC exception occurs.

Contact technical support.

409

VPC.0112

Delete the securitygroup first before deleting the router.

The VPC cannot be deleted because it contains security groups.

Delete security groups of the tenant.

409

VPC.0118

ELB exists under this router, delete ELB firstly.

The VPC cannot be deleted because it contains load balancers.

Delete load balancers in the VPC.

500

VPC.0119

ELB Error.

An error occurred when the VPC service makes calls to the ELB service.

Check whether the ELB service is normal or contact technical support.

409

VPC.0120

exroutes exists under this router, delete exroutes firstly.

The VPC cannot be deleted because it contains extension routes.

Delete extension routes in the VPC.

Updating a VPC

400

VPC.0101

Update router xx is invalid.

Invalid parameters.

Check whether the parameter values are valid based on the returned error message.

404/500

VPC.0105

Neutron Error.

Calling the backend service fails.

Check whether the Neutron service is normal or contact technical support.

500

VPC.0113

Router status is not active.

The VPC cannot be updated because the status of the VPC is abnormal.

Try again later or contact technical support.

400

VPC.0115

The router name has exist.

The VPC name already exists.

Change the VPC name.

400

VPC.0117

Cidr can not contain subnetList cidr.

The subnet parameters are invalid. The VPC CIDR block does not contain all its subnet CIDR blocks.

Change the CIDR block of the VPC.

Creating a subnet

400

VPC.0201

Subnet name is invalid.

Incorrect subnet parameters.

Check whether the parameter values are valid based on the returned error message and API reference document.

500

VPC.0202

Create subnet failed.

An internal error occurs in the subnet.

Contact technical support.

400

VPC.0203

Subnet is not in the range of VPC.

The CIDR block of the subnet is not in the range of the VPC.

Change the CIDR block of the subnet.

400

VPC.0204

The subnet has already existed in the VPC, or has been in conflict with the VPC subnet.

The CIDR block of the subnet already exists in the VPC.

Change the CIDR block of the subnet.

400

VPC.0212

The subnet cidr is not valid.

Invalid subnet CIDR block.

Check whether the subnet CIDR block is valid.

Querying a subnet

400

VPC.0201

Subnet ID is invalid.

Invalid subnet ID.

Check whether the subnet ID is valid.

404/500

VPC.0202

Query subnet fail.

Failed to query the subnet.

Contact technical support.

Querying subnets

400

VPC.0201

Query subnets list error.

Failed to query the subnets.

Check whether the parameter values are valid based on the returned error message.

500

VPC.0202

List subnets error.

Failed to query the subnets.

Contact technical support.

Deleting a subnet

400

VPC.0201

Subnet ID is invalid.

Invalid subnet ID.

Check whether the parameter values are valid based on the returned error message.

404/500

VPC.0202

Neutron Error.

An internal error occurs in the subnet.

Contact technical support.

400

VPC.0207

Subnet does not belong to the VPC.

This operation is not allowed because the subnet does not belong to the VPC.

Check whether the subnet is in the VPC.

500

VPC.0208

Subnet is used by private IP, can not be deleted.

The subnet cannot be deleted because it is being used by the private IP address.

Delete the private IP address of the subnet.

500

VPC.0209

subnet is still used ,such as computer,LB.

The subnet cannot be deleted because it is being used by an ECS or load balancer.

Delete the ECS or load balancer in the subnet.

500

VPC.0210

Subnet has been used by routes, please remove the routes first and try again.

The subnet cannot be deleted because it is being used by the custom route.

Delete the custom route.

500

VPC.0211

subnet is still used by LBaas.

The subnet cannot be deleted because it is being used by load balancers.

Delete load balancers in the subnet.

Updating a subnet

400

VPC.0201

xx is invalid.

Incorrect subnet parameters.

Check whether the parameter values are valid based on the returned error message.

404/500

VPC.0202

Neutron Error.

An internal error occurs in the subnet.

Contact technical support.

500

VPC.0205

Subnet states is invalid, please try again later.

The subnet cannot be updated because it is being processed.

Try again later or contact technical support.

400

VPC.0207

Subnet does not belong to the VPC.

This operation is not allowed because the subnet does not belong to the VPC.

Check whether the subnet is in the VPC.

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

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 quotas

400

VPC.1207

resource type is invalid.

The specified resource type does not exist.

Use an existing resource type.

Assigning a private IP address

500

VPC.0701

The IP has been used.

The private IP address already exists.

Change another private IP address and try again.

400

VPC.0705

IP address is not a valid IP for the specified subnet.

Invalid private IP address

Check whether the specified IP address in the request body is within the subnet CIDR block.

404

VPC.2204

Query resource by id fail.

The resource does not exist or the permission is insufficient.

Check whether the specified subnet in the request body exists or the current account has the permission to query the subnet.

409

VPC.0703

No more IP addresses available on network xxx.

Insufficient IP addresses.

Check whether the subnet has sufficient IP addresses.

Querying a Private IP Address

404

VPC.0704

Query resource by id fail.

The private IP address does not exist.

Check whether the private IP address exists.

Querying Private IP Addresses

400

VPC.0702

query privateIps error.

Invalid parameters.

Check whether the parameter values are valid based on the returned error message.

Releasing a Private IP Address

404

VPC.0704

Query resource by id fail.

The private IP address does not exist.

Check whether the private IP address exists.

500

VPC.0706

Delete port fail.

An error occurs when the private IP address is being released.

Try again later or contact technical support.

409

VPC.0707

privateIp is in use.

The private IP address is in use.

Check whether the private IP address is being used by other resource.

Creating a security group

400

VPC.0601

Creating securitygroup name is invalid.

The parameters of the security group are incorrect.

Check whether the parameter values are valid based on the returned error message and API reference document.

500

VPC.0602

Add security group fail.

An internal error occurs in the security group.

Check whether the Neutron service is normal or contact technical support.

409

VPC.0604

Quota exceeded for resources: ['security_group'].

Insufficient security group quota.

Delete the security group that is no longer required or apply for increasing the quota.

Querying a security group

400

VPC.0601

Securitygroup id is invalid.

The parameters of the security group are incorrect.

Check whether the security group ID is valid.

500

VPC.0602

Query security group fail.

An internal error occurs in the security group.

Check whether the Neutron service is normal or contact technical support.

404

VPC.0603

Securitygroup is not exist.

The security group does not exist.

Check whether the security group ID is correct or whether the security group exists under the tenant.

404/500

VPC.0612

Neutron Error.

An internal error occurs in the security group.

Contact technical support.

Querying security groups

400

VPC.0601

Query security groups error limit is invalid.

The parameters of the security group are incorrect.

Check whether the parameter values are valid based on the returned error message and API reference document.

500

VPC.0602

Query security groups fail.

An internal error occurs in the security group.

Check whether the Neutron service is normal or contact technical support.

Creating a security group rule

409

VPC.0602

1.Security group rule already exists.

2.Quota exceeded for resources: ['security_group_rule'].

3.Failed to create the security group rule concurrently. The rule already exists.

The security group rule already exists.

Insufficient security group rule quota.

Failed to create the security group rule concurrently. The rule already exists.

Change the request body for creating a security group rule.

Delete the security group rule that is no longer required or apply for increasing the quota.

Check whether the security group rules created concurrently are different from each other.

Querying the network IP address usage

400

VPC.2301

parameter network_id is invalid.

The request parameter is incorrect.

Enter a valid network ID.

400

VPC.2302

Network xxx could not be found.

The network is not found.

Ensure that the network ID exists.

Creating a VPC flow log

400

VPC.3001

resource_type/log_store_type/traffic_type/log_group_id/log_topic_id is invalid

Incorrect type or ID.

Check whether the type is supported or whether the ID format is correct.

400

VPC.3002

Port does not support flow log, port id : xxx

The VPC flow log does not support this type of port.

Check whether the port is an S3, C3, or M3 ECS NIC port.

404

VPC.3002

Port/Network/Vpc xxx could not be found.

The resource does not exist.

Check whether the resource exists.

409

VPC.3004

Content of flow log is duplicate: resource type xxx, reousce id xxx, traffic type all, log group id xxx, log topic id xxx, log store type xxx, log store name xxx.

This VPC flow log already exists.

Modify the parameters of the VPC flow log.

500

VPC.3002

Create flow log by xxx(tenant_id) fail.

Calling the backend service fails.

Try again later or contact technical support.

Querying VPC flow logs

404

VPC.3001

resource could not be found, xxx(listParam) is invalid

Invalid parameters.

Check whether the parameter format is correct.

500

VPC.3002

Neutron Error.

Calling the backend service fails.

Try again later or contact technical support.

Querying a VPC flow log

404

VPC.3001

resource could not be found, flowlog id is invalid.

Invalid VPC flow log ID.

Check whether the VPC flow log ID format is correct.

404

VPC.3002

Flow log xxx could not be found.

The VPC flow log does not exist.

Check whether the VPC flow log exists or whether its ID is correct.

Updating a VPC flow log

404

VPC.3001

resource could not be found, flowlog id is invalid.

Invalid VPC flow log ID.

Check whether the VPC flow log ID format is correct.

404

VPC.3005

Flow log xxx could not be found.

The VPC flow log does not exist.

Check whether the VPC flow log exists or whether its ID is correct.

500

VPC.3002

Update flow log by xxx(tenant_id) fail.

Calling the backend service fails.

Try again later or contact technical support.

Deleting a VPC flow log

404

VPC.3001

resource could not be found, flowlog id is invalid.

Invalid VPC flow log ID.

Check whether the VPC flow log ID format is correct.

404

VPC.3005

Flow log xxx could not be found.

The VPC flow log does not exist.

Check whether the VPC flow log exists or whether its ID is correct.

500

VPC.3002

Delete flow log by xxx(tenant_id) fail.

Calling the backend service fails.

Try again later or contact technical support.