• Elastic Load Balancing

elb
  1. Help Center
  2. Elastic Load Balancing
  3. API Reference
  4. Common Parameters
  5. Error Codes for Classic Load Balancers

Error Codes for Classic Load Balancers

The following error code descriptions are only suitable for classic load balancers.

Function

If an error occurs when using an API, an error response will be returned, which contains the error code and a piece of message, as shown in the following example. The following table lists error codes and their descriptions.

Example of Returned Error Information

{ 
    "error": 
    { 
    "message": "listener exist, the port repeat", 
    "code": "ELB.6101" 
    } 
}

Error Codes

Table 1 Error codes

Module

HTTP Status Code

Error Code

Description

Error Message

Solution

Common part

400

ELB.0002

The request is empty.

Api request is null.

Correct the parameter settings and deliver the request again.

400

ELB.0004

The response is empty.

Api response is null or invaild.

Check whether the backend ECS is running properly and deliver the request again.

400

ELB.0230

The project ID is left blank.

Tenant_id is empty.

Correct the project ID and deliver the request again.

400

ELB.1000

The URL length exceeds the limit.

The loadbalancer URL is too long.

Correct the URL and deliver the request again.

400

ELB.1010

Failed to query the quota.

Query elb quota error.

Contact customer service.

400

ELB.1020

Incorrect load balancer ID.

Lb ID is not correct.

Correct the parameter settings and deliver the request again.

400

ELB.1030

Incorrect load balancer URL.

Lb url is not correct.

Correct the URL and deliver the request again.

Creating a load balancer

400

ELB.1001

Parameter type, name, or admin_status_up is left blank.

Request parameters error, private_key or certificate is nil or empty.

Request parameters error, lb type, name, admin_state_up one of them is empty.

Correct the parameter settings and deliver the request again.

400

ELB.1001

The length of the load balancer name exceeds the limit.

Request parameter is not valid.

Change the name and deliver the request again.

400

ELB.1021

Invalid load balancer name.

Request parameters error, name invalid.

Change the name and deliver the request again.

400

ELB.1031

The length of the load balancer description exceeds the limit.

Request parameters error, lb len description too long.

Change the description and deliver the request again.

400

ELB.1041

Invalid load balancer type.

Request parameters error, lb type is not valid.

Correct the parameter setting and deliver the request again.

400

ELB.1051

Invalid load balancer bandwidth.

Request parameters error, lb bandwidth is not valid.

Correct the parameter setting and deliver the request again.

4000

ELB.1061

The floating IP address or subnet ID is left blank.

Request parameters error, lb vip_address and vip_subnet_id are nil.

Correct the parameter setting and deliver the request again.

400

ELB.1071

Invalid floating IP address.

Request parameters error, lb vip_address is not valid.

Correct the parameter setting and deliver the request again.

400

ELB.1081

The VPC ID is left blank.

Request parameters error, lb vpc_id is empty.

Correct the parameter setting and deliver the request again.

403

ELB.1091

The number of load balancers exceeds the quota.

Lb number larger than quota.

Increase the quota or delete unnecessary load balancers, and then deliver the request again.

400

ELB.1101

The floating IP address exists.

Vip address is exist.

Enter another floating IP address and deliver the request again.

Deleting a load balancer

404

ELB.1002

The load balancer does not exist.

Find lb failed.

Change the load balancer ID and deliver the request again.

400

ELB.1008

Failed to delete the load balancer.

There is at least one member under the lb.

Correct the parameter setting and deliver the request again.

400

ELB.1018

The load balancer has backend ECSs added.

There is at least one member under the lb.

Correct the parameter setting and deliver the request again.

Modifying a load balancer

400

ELB.1005

Failed to modify the load balancer.

Update request paramters error.

Check the parameters and deliver the request again.

400

ELB.1015

The load balancer cannot be modified.

Lb can not be updated.

Check the parameters and deliver the request again.

400

ELB.1025

The length of the load balancer name exceeds the limit.

Udpate request parameters error,name is too long.

Change the name and deliver the request again.

400

ELB.1035

Invalid load balancer name.

Update request parameters error, name is not valid.

Change the name and deliver the request again.

400

ELB.1045

The length of the load balancer description exceeds the limit.

Update request parameters error, description too long.

Change the description and deliver the request again.

Querying details of a load balancer

400

ELB.1003

The load balancer does not exist.

Lb not exist.

Check the load balancer ID.

Querying load balancers

400

ELB.1004

Invalid query condition.

Query condition is not valid.

Change the query condition and deliver the request again.

Common part

400

ELB.6000

The length of the listener ID exceeds the limit.

Listener ID length is not correct.

Change the listener ID and deliver the request again.

400

ELB.6010

Invalid listener ID.

Listener ID content is not correct.

Change the listener ID and deliver the request again.

400

ELB.6030

The listener does not belong to any load balancer.

Listener is not associated with loadbalancer id.

Check the listener ID and deliver the request again.

400

ELB.6040

The load balancer to which the listener is added does not exist.

The loadbalaner that the listener belongs to is not exist.

Check the load balancer ID.

400

ELB.6020

Incorrect listener URL.

Listener url is not correct.

Correct the URL and deliver the request again.

Adding a listener

400

ELB.6001

A mandatory field is left blank.

Request parameters error, "..nilKey.." is nil.

Specify the mandatory field and deliver the request again.

400

ELB.6011

The length of the listener name exceeds the limit.

Request parameters error, listener name too long.

Change the name and deliver the request again.

400

ELB.6021

Invalid listener name.

Request parameters error, listener name is not valid.

Change the name and deliver the request again.

400

ELB.6031

The length of the listener description exceeds the limit.

Request parameters error, listener len description too long.

Change the description and deliver the request again.

400

ELB.6041

Invalid port number.

Request parameters error, listener port is not in 1 ~ 65535.

Change the port number and deliver the request again.

400

ELB.6051

Invalid load balancing algorithm.

Request parameters error, listener lb algorithm is not valid.

Change the load balancing algorithm and deliver the request again.

400

ELB.6061

Invalid listener protocol.

Request parameters error, listener protocol is not valid.

Change the listener protocol and deliver the request again.

400

ELB.6071

Invalid backend ECS protocol.

Request parameters error, listener backend protocol is not valid.

Change the backend ECS protocol and deliver the request again.

400

ELB.6081

Invalid sticky session type.

Request parameters error, listener sticky_session_type is not valid.

Check the load balancer ID.

403

ELB.6091

The number of listeners reaches the limit.

Request lb has more than user listener quota.

No more listeners can be added.

400

ELB.6101

The port exists.

Listener port is repeated.

Change the port number and deliver the request again.

Deleting a listener

503

ELB.6002

The listener does not exist.

Delete listener failed, listener does not exist.

Check the listener ID.

Modifying a listener

400

ELB.6015

The property cannot be modified.

This listener property cannot be updated

Select a property that can be modified.

400

ELB.6025

The length of the listener name exceeds the limit.

Udpate request parameters error, listener len name too long.

Change the name and deliver the request again.

400

ELB.6035

Invalid listener name.

Udpate request parameters error, listener name is not valid.

Change the name and deliver the request again.

400

ELB.6045

The length of the listener description exceeds the limit.

Update request parameters error, listener len description too long.

Change the description and deliver the request again.

Querying listeners

400

ELB.6003

Invalid query condition.

Listener query condition is not valid.

Change the query condition and deliver the request again.

Common part

400

ELB.2000

Incorrect backend ECS URL.

Member url is not correct.

Correct the URL and deliver the request again.

400

ELB.2003

Failed to query the backend ECS.

Query member failed.

Contact customer service.

400

ELB.2005

Failed to update the backend ECS.

Update member failed.

Contact customer service.

400

ELB.2010

The length of the listener ID exceeds the limit.

Member listener ID length is not correct.

Change the listener ID and deliver the request again.

400

ELB.2020

Incorrect listener ID.

Member listener ID content is not correct.

Change the listener ID and deliver the request again.

Adding a backend ECS

403

ELB.2001

Failed to add the ECS because the number of backend ECSs reaches the limit.

Create member failed, the total amount of members exceeds the system setting.

Check the maximum number of ECSs that can be added and deliver the request again.

400

ELB.2011

The listener does not exist.

Add member listener is not exist.

Ensure that the listener exists and deliver the request again.

400

ELB.2021

Invalid address.

Request parameters error, member address is null.

Check the address and deliver the request again.

Deleting a backend ECS

400

ELB.2002

Incorrect parameters.

Delete member input param error.

Check the parameters and deliver the request again.

400

ELB.2012

The backend ECS does not exist.

This member is not exist.

Ensure that the backend ECS exists and deliver the request again.

Common part

400

ELB.7000

The listener ID is left blank.

Listener_id must not be null.

Change the listener ID and deliver the request again.

400

ELB.7010

The listener with which the health check is associated does not exist.

Healthcheck listener is not exist.

Change the listener ID and deliver the request again.

400

ELB.7020

The health check does not exist.

This healthcheck is not exist.

Change the health check ID and deliver the request again.

Configuring a health check

400

ELB.7001

Invalid health check interval.

Healthcheck_interval is illegal.

Change the interval and deliver the request again.

Deleting a health check

400

ELB.7002

Invalid query condition.

Healthcheck delete condition is not valid.

Change the query condition and deliver the request again.

Modifying a health check

400

ELB.7001

Invalid query condition.

Healthcheck update condition is not valid.

Change the query condition and deliver the request again.

Querying details of a health check

400

ELB.7004

Invalid query condition.

Healthcheck query condition is not valid.

Change the query condition and deliver the request again.

400

ELB.7014

The health check does not exist.

Healthcheck configuration not exist.

Check the health check ID.

Private network load balancer operations

400

ELB.8001

Failed to create the security group.

Create a SG error.

Contact customer service.

400

ELB.8101

Failed to create the VPC.

Create VPC error.

Contact customer service.

400

ELB.8102

Failed to delete the VPC.

Delete VPC error.

Contact customer service.

400

ELB.8103

Failed to query the VPC.

Query VPC error.

Contact customer service.

400

ELB.8201

Failed to create the subnet.

Create subnet error.

Contact customer service.

400

ELB.8202

Failed to delete the subnet.

Delete subnet error.

Contact customer service.

400

ELB.8203

Failed to query the subnet.

Query subnet error.

Contact customer service.

400

ELB.9001

Failed to add the ECS.

Interval ELB create VM error.

Contact customer service.

400

ELB.9002

Failed to delete the ECS.

Internal ELB delete VM error.

Contact customer service.

400

ELB.9003

Failed to query ECS details.

Internal ELB query VM error.

Contact customer service.

400

ELB.9006

Failed to update the port configured on the ECS data plane.

Internal ELB update port fail.

Contact customer service.

400

ELB.9007

Failed to bind the port configured on the ECS data plane.

Intenal ELB bind port fail.

Contact customer service.

400

ELB.9061

Failed to query the SMN topic.

Internal ELB query topic fail.

Contact customer service.

400

ELB.9062

Failed to create the SMN topic.

Internal ELB create topic fail.

Contact customer service.

400

ELB.9063

Failed to query the SMN subscription.

Internal ELB query subscription fail.

Contact customer service.

400

ELB.9064

Failed to create the SMN subscription.

Internal ELB create subscription fail.

Contact customer service.

400

ELB.9023

Failed to query the image.

Internal ELB get image error.

Contact customer service.

400

ELB.9033

Failed to query ECS specifications.

Internal ELB get flavour error.

Contact customer service.

400

ELB.9043

Failed to query the API bound to the ECS.

Internal ELB get interface error.

Contact customer service.

Others

400

ELB.1007

Failed to query details of the private network load balancer.

Query internal ELB error.

Contact customer service.

400

ELB.1012

Failed to create the relationship between resources and the tenant.

Create tenant resource relation error.

Contact customer service.

400

ELB.1013

Failed to modify the quota of a resource because the quota set in the Cloud Eye alarm rule is too large.

Update resource tenant allocation failed, cloud eye warning rule exceeds.

Contact customer service.

400

ELB.1014

Failed to query the relationship between resources and the tenant.

Query resouce tenant relation failed.

Contact customer service.

400

ELB.1102

Invalid token.

Token invalid

Contact customer service.

400

ELB.1103

Invalid token.

Token invalid

Contact customer service.

400

ELB.1104

Invalid token.

Token invalid

Contact customer service.

400

ELB.1105

Invalid token.

Token invalid

Contact customer service.

400

ELB.1109

Real-name authentication failed.

Authentication failed.

Contact customer service.

400

ELB.1201

Failed to obtain the token.

Get Token failed

Contact customer service.

400

ELB.3001

Failed to assign the floating IP address.

Create floating IP failed.

Contact customer service.

400

ELB.3002

Failed to release the floating IP address.

Delete floating IP failed.

Contact customer service.

400

ELB.3003

Failed to query the floating IP address.

Query floating IP failed.

Contact customer service.

400

ELB.3004

Failed to query floating IP addresses.

Query floating IP list failed.

Contact customer service.

400

ELB.3005

Failed to update the floating IP address.

Update floating IP failed.

Contact customer service.

400

ELB.4001

Failed to assign the EIP.

Create elastic IP failed.

Contact customer service.

400

ELB.4002

Failed to release the EIP.

Delete elastic IP failed.

Contact customer service.

400

ELB.4003

Failed to query the EIP.

Query elastic IP failed.

Contact customer service.

400

ELB.4004

Failed to query EIPs.

Query elastic IP list failed.

Contact customer service.

400

ELB.4005

Failed to update the EIP.

Update elastic IP failed.

Contact customer service.

400

ELB.5001

Failed to modify the monthly/yearly bandwidth.

Update yearly/monthly bandwith failed.

Contact customer service.

400

ELB.5003

Failed to query the bandwidth.

Query bandwidth failed.

Contact customer service.

400

ELB.5005

Failed to update the bandwidth.

Update bandwidth failed.

Contact customer service.

400

ELB.6004

Failed to query listeners.

Query listeners list failed.

Contact customer service.

400

ELB.6006

Failed to query the ECS.

Query ECS failed.

Contact customer service.