Updated on 2024-12-03 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 VPN APIs (excluding native OpenStack APIs).

Response Format

{     
    "code": "VPN.0001",     
    "message": "invalid request:xxx" 
}

Error Code Description

If an error code starting with APIGW is returned when you call an API, rectify the fault by referring to the instructions provided in Error Codes.

Module

Status Code

Error Code

Error Information

Handling Measure

Common

400

VPN.0001

invalid request:xxx

Contact technical support.

500

VPN.0002

server error: xxx

Contact technical support.

403

VPN.0003

Authentication failed: xxx

Obtain the required permissions.

404

VPN.0004

resource not found

Check whether the resource ID is correct or whether the resource exists under the tenant.

400

VPN.0030

The system is busy, please try later.

Try again later.

P2C VPN

400

VPN.0070

The key algorithm of the certificate %s is not supported.

Import a certificate with a supported key algorithm.

400

VPN.0071

The signature algorithm of the certificate %s is not supported.

Import a certificate with a supported signature algorithm.

400

VPN.0072

Certificate %s has expired.

Import a valid client CA certificate.

400

VPN.0073

Certificate %s has not taken effect.

Import a valid certificate.

400

VPN.0074

The format of the certificate %s is invalid.

Import a correct certificate.

400

VPN.0075

The content of the certificate %s is invalid.

Import a correct certificate.

400

VPN.0076

Certificate %s is not a CA certificate.

Import a correct certificate.

400

VPN.0077

Duplicate certificate: %s.

Delete the duplicate certificate.

400

VPN.0078

Invalid format of the CRL %s.

Import a correct CRL.

400

VPN.0079

Invalid content of the CRL %s.

Import a correct CRL.

400

VPN.0080

Invalid date of the CRL %s.

Import a correct CRL.

400

VPN.0500

VPC %s is not found.

Check whether the VPC ID is correct.

400

VPN.0501

Interconnection subnet %s is not found.

Check whether the subnet ID is correct.

400

VPN.0502

Interconnection subnet %s has insufficient available IP addresses.

Use a subnet with sufficient available IP addresses.

400

VPN.0503

Interconnection subnet %s does not belong to the VPC %s.

Use a subnet of the specified VPC.

400

VPN.0504

The number of connections exceeds the upper limit defined by the specification.

Enter a proper number of connections.

400

VPN.0505

Gateway resources are insufficient.

Contact technical support.

400

VPN.0506

The gateway is being created, please try again later.

Try again later.

400

VPN.0507

The gateway is being updated, please try again later.

Try again later.

400

VPN.0508

The gateway is being deleted.

Try again later.

404

VPN.0509

The gateway does not exist.

Check whether the gateway ID is correct.

500

VPN.0510

The gateway status is abnormal.

Contact technical support.

500

VPN.0511

The gateway is not ready.

Try again later.

400

VPN.0512

The gateway already has an EIP bound.

Do not bind an EIP repeatedly.

400

VPN.0513

Insufficient gateway quota.

Delete unnecessary gateways or apply for a higher gateway quota.

400

VPN.0514

Two AZs must be specified.

Specify two AZs.

400

VPN.0515

Duplicate AZs.

Specify a different AZ.

400

VPN.0550

The EIP bandwidth exceeds the upper limit defined by the specification.

Enter a proper EIP bandwidth.

400

VPN.0551

EIP %s is not found.

Check whether the EIP ID is correct.

400

VPN.0552

EIP %s is frozen.

Use an available EIP.

400

VPN.0553

EIP %s has been bound to an instance.

Use an available EIP.

400

VPN.0554

EIP %s does not have exclusive bandwidth.

Use an EIP with exclusive bandwidth.

400

VPN.0555

EIP %s does not belong to a center.

Use the EIP of a center.

400

VPN.0556

EIP type %s is invalid.

Use a correct EIP type.

400

VPN.0557

EIPs of the type %s have been sold out.

Use an available EIP type.

400

VPN.0558

Incomplete EIP parameters.

Ensure that all EIP parameters are set.

400

VPN.0559

EIP parameter conflict.

Enter either an EIP ID or other EIP parameters.

400

VPN.0560

EIP quota not enough.

Increase the EIP quota or release idle EIPs.

400

VPN.0561

EIP quota not found.

Contact technical support.

400

VPN.1100

The server certificate cannot be empty.

Enter server certificate information.

400

VPN.1101

At least one client CA certificate is required.

Ensure that at least one client CA certificate is available.

400

VPN.1102

The number of servers exceeds the upper limit.

Do not create multiple servers for a gateway.

400

VPN.1103

CIDR block %s is invalid.

Enter a valid CIDR block.

400

VPN.1104

CIDR block %s is unavailable.

Enter an available CIDR block.

400

VPN.1105

The number of local subnets exceeds the upper limit.

Enter 20 or fewer local CIDR blocks.

400

VPN.1106

Duplicate local subnet: %s.

Delete the duplicate local CIDR block.

400

VPN.1107

The mask length of the client CIDR block must in the range of 16 to 26.

Enter a proper client CIDR block.

400

VPN.1108

The number of IP addresses in the client CIDR block is less than the number of IP addresses required by gateway connections.

Enter a proper client CIDR block.

400

VPN.1109

The client CIDR block conflicts with the VPC route %s.

Enter a proper client CIDR block.

400

VPN.1110

The status of server certificate %s is abnormal.

Check the certificate status.

400

VPN.1111

The number of client CA certificates exceeds the upper limit.

Import 10 or fewer client CA certificates.

400

VPN.1112

Server certificate %s is not found.

Check whether the server certificate ID is correct.

400

VPN.1113

The server is being created, please try again later.

Try again later.

400

VPN.1114

The server is being updated, please try again later.

Try again later.

404

VPN.1115

Client CA certificate %s does not exist.

Check whether the client CA certificate ID is correct.

404

VPN.1116

The server does not exist.

Check whether the server ID is correct.

500

VPN.1117

The server status is abnormal.

Contact technical support.

400

VPN.1118

The local CIDR block cannot be empty.

Enter a local CIDR block.

400

VPN.1119

The client CIDR block conflicts with the local CIDR block %s.

Enter a proper client CIDR block.

400

VPN.1120

Client CRL %s not found.

Enter a correct client CRL ID.

400

VPN.1121

Gateway not bind eip.

Bind an EIP to the gateway and try again.

400

VPN.1122

There are users on the server. Delete them first.

Delete users and try again.

400

VPN.1123

There are user groups on the server. Delete them first.

Delete user groups and try again.

400

VPN.1124

There are access policies on the server. Delete them first.

Delete access policies and try again.

400

VPN.1125

There are client CA certificates on the server. Delete them first.

Delete client CA certificates and try again.

400

VPN.1300

The user group name already exists.

Enter a user group name that does not exist.

404

VPN.1301

The user group does not exist.

Enter a correct user group ID.

400

VPN.1302

The username already exists.

Enter a username that does not exist.

404

VPN.1303

The user does not exist.

Enter a correct user ID.

400

VPN.1304

The user %s has been added to another user group.

Check whether the user needs to be added to the current user group. If so, remove the user from the original user group first.

400

VPN.1305

The user %s is not in the current user group.

Check whether the ID of the user to be removed is correct.

400

VPN.1306

The number of user groups exceeds the upper limit (50).

Check the number of user groups. Ensure that the number of user groups does not exceed the upper limit.

400

VPN.1307

The number of users exceeds the upper limit.

Check the number of users, which cannot exceed the maximum number of gateway connections.

400

VPN.1308

The password complexity does not meet requirements.

Enter a more complex password.

400

VPN.1309

The password cannot be the username or the reverse of the username.

Enter a password that does not contain the username or the reverse of the username.

400

VPN.1310

The password contains invalid characters.

Enter a password that contains only uppercase letters, lowercase letters, digits, and the following special characters: '~! @#$%^&*()-_=+\|[{}];:",<.>/? and spaces.

400

VPN.1311

The new password cannot be the same as the old one.

Enter a password that is different from historical passwords.

400

VPN.1312

The old password is incorrect.

Enter the correct password.

400

VPN.1313

The user group has been associated with an access policy. Delete the access policy first.

Delete the associated access policy before deleting the user group.

400

VPN.1314

The password is weak.

Enter a strong password.

400

VPN.1315

Duplicate user %s.

Do not enter duplicate user IDs.

400

VPN.1316

Operations on the default user group are not allowed.

Do not perform operations on the default user group.

400

VPN.1317

The username is unavailable.

Enter a correct username.

400

VPN.1318

User list is empty.

Ensure that the user list is not empty.

400

VPN.1400

The number of access policies exceeds the upper limit (100).

Check the number of access policies. Ensure that the number of access policies does not exceed the upper limit.

400

VPN.1401

The access policy does not exist.

Enter a correct access policy ID.

400

VPN.1402

The number of destination CIDR blocks exceeds the upper limit.

Enter a maximum of 10 destination CIDR blocks.

400

VPN.1403

The destination CIDR block %s is invalid.

Enter a valid destination CIDR block.

400

VPN.1404

Duplicate destination CIDR block %s

Do not enter duplicate destination CIDR blocks.