更新时间:2024-07-18 GMT+08:00
分享

错误码

功能说明

API调用发生错误时,会有错误结构体返回,该小节主要是对VPN封装接口(不包括OpenStack原生接口)错误结构的解释。

返回体格式

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

错误码说明

当您调用API时,如果遇到“APIGW”开头的错误码,请参见API网关错误码进行处理。

模块

状态码

错误码

错误信息

描述

处理措施

公共

400

VPN.0001

invalid request:xxx

输入参数不合法

联系技术支持。

500

VPN.0002

server error: xxx

服务器内部错误

联系技术支持。

403

VPN.0003

Authentication failed: xxx

拒绝访问

请赋予正确的细粒度权限。

404

VPN.0004

resource not found

资源未找到

请确认资源的id是否填写正确或该租户下是否确实存在该资源。

400

VPN.0030

The system is busy, please try later.

系统繁忙,请稍后重试。

请稍后重试。

终端入云VPN

400

VPN.0070

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

证书%s的密钥算法无效。

请导入密钥算法符合要求的证书。

400

VPN.0071

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

证书%s的签名算法无效。

请导入签名算法符合要求的证书。

400

VPN.0072

Certificate %s has expired.

证书%s已过期。

请导入未过期的客户端CA证书。

400

VPN.0073

Certificate %s has not taken effect.

证书%s还未生效。

请导入生效的证书。

400

VPN.0074

The format of the certificate %s is invalid.

证书%s的格式无效。

请导入正确的证书。

400

VPN.0075

The content of the certificate %s is invalid.

证书%s的内容无效。

请导入正确的证书。

400

VPN.0076

Certificate %s is not a CA certificate.

证书%s不是CA证书。

请导入正确的证书。

400

VPN.0077

Duplicate certificate: %s.

证书%s重复。

请删除重复的证书。

400

VPN.0078

Invalid format of the CRL %s.

吊销列表%s的格式无效。

请导入正确的吊销列表。

400

VPN.0079

Invalid content of the CRL %s.

吊销列表%s的内容无效。

请导入正确的吊销列表。

400

VPN.0080

Invalid date of the CRL %s.

吊销列表%s的日期无效。

请导入正确的吊销列表。

400

VPN.0500

VPC %s is not found.

VPC %s未找到。

请确认VPC的ID是否填写正确。

400

VPN.0501

Interconnection subnet %s is not found.

互联子网%s未找到。

请确认子网的ID是否填写正确。

400

VPN.0502

Interconnection subnet %s has insufficient available IP addresses.

互联子网%s空闲IP不足。

请使用空闲IP充足的子网。

400

VPN.0503

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

互联子网%s不属于VPC %s

请使用指定VPC的子网。

400

VPN.0504

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

连接数超过规格定义的最大连接数。

请输入合适的连接数。

400

VPN.0505

Gateway resources are insufficient.

网关资源不足。

请联系技术支持。

400

VPN.0506

The gateway is being created, please try again later.

网关正在创建中,请稍后重试。

请稍后重试。

400

VPN.0507

The gateway is being updated, please try again later.

网关正在更新中,请稍后重试。

请稍后重试。

400

VPN.0508

The gateway is being deleted.

网关正在删除中。

请稍后重试。

404

VPN.0509

The gateway does not exist.

网关不存在。

请确认网关的ID是否填写正确。

500

VPN.0510

The gateway status is abnormal.

网关状态异常。

请联系技术支持。

500

VPN.0511

The gateway is not ready.

网关未就绪。

请稍后重试。

400

VPN.0512

The gateway already has an EIP bound.

网关已绑定EIP。

请勿重复绑定EIP。

400

VPN.0513

Insufficient gateway quota.

网关配额不足。

请先删除不再使用的网关,或者申请扩大网关资源的配额。

400

VPN.0514

Two AZs must be specified.

请指定两个可用区。

请指定两个可用区。

400

VPN.0515

Duplicate AZs.

指定的可用区重复。

请指定不同的可用区。

400

VPN.0550

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

EIP带宽超过规格定义的最大带宽。

请输入合适的EIP带宽。

400

VPN.0551

EIP %s is not found.

EIP %s未找到。

请确认EIP的ID是否填写正确。

400

VPN.0552

EIP %s is frozen.

EIP %s被冻结。

请使用可用的EIP。

400

VPN.0553

EIP %s has been bound to an instance.

EIP %s已经绑定实例。

请使用可用的EIP。

400

VPN.0554

EIP %s does not have exclusive bandwidth.

EIP %s未使用独享带宽。

请使用独享带宽的EIP。

400

VPN.0555

EIP %s does not belong to a center.

EIP %s不是中心侧的EIP。

请使用中心侧的EIP。

400

VPN.0556

EIP type %s is invalid.

EIP类型%s无效。

请使用正确的EIP类型。

400

VPN.0557

EIPs of the type %s have been sold out.

%s类型的EIP已经售罄。

请使用可用的EIP类型。

400

VPN.0558

Incomplete EIP parameters.

EIP参数缺失。

请确认输入的EIP参数是否缺少必要参数。

400

VPN.0559

EIP parameter conflict.

EIP参数冲突。

请确认EIP的ID和其他的EIP参数不同时输入。

400

VPN.0560

EIP quota not enough.

EIP配额不足

申请扩大EIP配额或释放空闲EIP。

400

VPN.0561

EIP quota not found.

EIP配额未找到。

请联系技术支持。

400

VPN.1100

The server certificate cannot be empty.

服务端证书不能为空。

请输入服务端证书。

400

VPN.1101

At least one client CA certificate is required.

至少需要一份客户端CA证书。

请确保至少有一份客户端CA证书。

400

VPN.1102

The number of servers exceeds the upper limit.

服务端的数量超限。

请勿在网关下创建多个服务端。

400

VPN.1103

CIDR block %s is invalid.

%s网段无效。

请输入有效的网段。

400

VPN.1104

CIDR block %s is unavailable.

%s网段不可用。

请输入可使用的网段。

400

VPN.1105

The number of local subnets exceeds the upper limit.

本端网段的数量超限。

请输入10个或更少的本端网段。

400

VPN.1106

Duplicate local subnet: %s.

本端网段%s重复。

请删除重复的本端网段。

400

VPN.1107

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

客户端网段的掩码长度必须在[16,26]之间。

请输入合适的客户端网段。

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.

客户端网段包含的地址数量小于网关连接数需要的地址数量。

请输入合适的客户端网段。

400

VPN.1109

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

客户端网段与VPC路由%s冲突。

请输入合适的客户端网段。

400

VPN.1110

The status of server certificate %s is abnormal.

服务端的证书%s状态异常。

请检查证书的状态。

400

VPN.1111

The number of client CA certificates exceeds the upper limit.

客户端CA证书的数量超限。

请导入10个或更少的客户端CA证书。

400

VPN.1112

Server certificate %s is not found.

服务端证书%s未找到。

请确认服务端证书的ID是否填写正确。

400

VPN.1113

The server is being created, please try again later.

服务端正在创建中,请稍后重试。

请稍后重试。

400

VPN.1114

The server is being updated, please try again later.

服务端正在更新中,请稍后重试。

请稍后重试。

404

VPN.1115

Client CA certificate %s does not exist.

客户端CA证书%s不存在。

请确认客户端CA证书的ID是否填写正确。

404

VPN.1116

The server does not exist.

服务端不存在。

请确认服务端的ID是否填写正确。

500

VPN.1117

The server status is abnormal.

服务端状态异常。

请联系技术支持。

400

VPN.1118

The local CIDR block cannot be empty.

本端网段不能为空。

请输入本端网段。

400

VPN.1119

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

客户端网段与本端网段%s冲突。

请输入合适的客户端网段。

400

VPN.1120

Client CRL %s not found.

客户端吊销列表%s不存在。

请确认客户端吊销列表的ID是否填写正确。

400

VPN.1121

Gateway not bind eip.

网关未绑定eip

网关绑定eip后重试

400

VPN.1122

There are users on the server. Delete them first.

服务端存在用户,请先删除用户。

请删除用户后,再进行操作。

400

VPN.1123

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

服务端存在用户组,请先删除用户组。

请删除用户组后,再进行操作。

400

VPN.1124

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

服务端存在访问策略,请先删除访问策略。

请删除访问策略后,再进行操作。

400

VPN.1125

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

服务端存在客户端CA证书,请先删除客户端CA证书。

请删除客户端CA证书后,再进行操作。

400

VPN.1300

The user group name already exists.

用户组名重复。

请更换不同的用户组名称。

404

VPN.1301

The user group does not exist.

用户组不存在。

请输入正确的用户组ID。

400

VPN.1302

The username already exists.

用户名重复。

请更换不同的用户名称。

404

VPN.1303

The user does not exist.

用户不存在。

请输入正确的用户ID。

400

VPN.1304

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

用户%s已被分配到其他用户组。

请确认该用户是否需要添加到当前用户组。如果需要,请将该用户从其他用户组中移除后再添加。

400

VPN.1305

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

用户%s未在当前用户组。

请确认待移除的用户ID是否正确。

400

VPN.1306

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

用户组数量超出最大限制50。

请检查用户组数量,用户组数量不能超过最大限制。

400

VPN.1307

The number of users exceeds the upper limit.

用户数量超出限制。

请检查用户数量,不能超过网关最大连接数。

400

VPN.1308

The password complexity does not meet requirements.

密码复杂度不满足安全要求。

请重新修改密码提高复杂度。

400

VPN.1309

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

密码不能与用户名或倒序的用户名相同。

请输入不包含用户名或用户名倒序的密码。

400

VPN.1310

The password contains invalid characters.

密码包含非法字符。

请输入仅包含如下合法字符的密码:大写字母、小写字母、数字、特殊字符:`~!@#$%^&*()-_=+\|[{}];:’“,<.>/?和空格。

400

VPN.1311

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

新密码不能与旧密码相同。

请重新输入密码避免与历史密码相同。

400

VPN.1312

The old password is incorrect.

用户旧密码错误。

请输入正确的密码

400

VPN.1313

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

用户组已关联访问策略,请先删除访问策略。

请删除关联的访问策略后,再删除用户组。

400

VPN.1314

The password is weak.

密码是弱密码。

请重新输入密码强度高的密码。

400

VPN.1315

Duplicate user %s.

重复用户%s。

请勿输入重复的用户。

400

VPN.1316

Operations on the default user group are not allowed.

默认用户组无法操作。

请勿操作默认用户组。

400

VPN.1317

The username is unavailable.

用户名不可用。

请输入正确的用户名。

400

VPN.1400

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

访问策略数量超出最大限制100。

请检查访问策略数量,访问策略不能超过最大限制。

400

VPN.1401

The access policy does not exist.

访问策略不存在。

请输入正确的访问策略ID。

400

VPN.1402

The number of destination CIDR blocks exceeds the upper limit.

目的网段的数量超限。

请勿输入多于10个目的网段。

400

VPN.1403

The destination CIDR block %s is invalid.

目的网段%s无效。

请输入有效的目的网段。

400

VPN.1404

Duplicate destination CIDR block %s

目的网段%s重复。

请勿输入重复的目的网段。

分享:

    相关文档

    相关产品