更新时间:2023-05-22 GMT+08:00

错误码

状态码

错误码

错误信息

描述

处理措施

400

KMS.0201

Invalid request URL.

请求URL非法。

请传递正确的URL。

400

KMS.0202

Invalid JSON format of the request message.

请求消息JSON格式非法。

请传递正确的消息体。

400

KMS.0203

Request message too long.

请求消息长度超出限制。

请传递正确的消息体。

400

KMS.0204

Parameters missing in the request message.

请求消息缺少参数。

请传递正确的消息体。

400

KMS.0205

Invalid key ID.

密钥key_id非法。

请传递正确的密钥id。

400

KMS.0206

Invalid sequence number.

sequence序号非法。

请传递正确的序列号。

400

KMS.0208

Invalid value of value encryption_context.

encryption_context参数非法。

请检查encryption_context字段是否合法。

400

KMS.0209

The key has been disabled.

密钥已被禁用,不能使用。

请启用该密钥。

400

KMS.0210

The key is in Scheduled deletion state and cannot be used.

密钥处于“计划删除”状态,不能使用。

请启用该密钥。

400

KMS.0211

Cannot perform this operation on Default Master Keys.

默认主密钥不支持该操作。

请使用普通主密钥操作该任务。

400

KMS.0308

Invalid parameter.

字段非法。

请传递正确的参数。

400

KMS.0309

External keys required.

密钥来源应为外部导入。

请使用外部导入密钥进行此操作。

400

KMS.0310

The key is not in Pending import state.

密钥未处于“等待导入”状态。

请确保密钥状态处于“等待导入”状态。

400

KMS.0401

Tag list cannot be empty.

标签列表不能为空。

请传递正确的参数。

400

KMS.0402

Invalid match value.

match中value字段不合法。

请传递正确的参数。

400

KMS.0403

Invalid match key.

match中key字段不合法。

请传递正确的参数。

400

KMS.0201

Invalid request URL.

请求URL非法。

请传递正确的URL。

400

KMS.0202

Invalid JSON format of the request message.

请求消息JSON格式非法。

请传递正确的消息体。

400

KMS.0203

Request message too long.

请求消息长度超出限制。

请传递正确的消息体。

400

KMS.0204

Parameters missing in the request message.

请求消息缺少参数。

请传递正确的消息体。

400

KMS.0205

Invalid key ID.

密钥key_id非法。

请传递正确的密钥id。

400

KMS.0206

Invalid sequence number.

sequence序号非法。

请传递正确的序列号。

400

KMS.0208

Invalid value of value encryption_context.

encryption_context参数非法。

请检查encryption_context字段是否合法。

400

KMS.0209

The key has been disabled.

密钥已被禁用,不能使用。

请启用该密钥。

400

KMS.0210

The key is in Scheduled deletion state and cannot be used.

密钥处于“计划删除”状态,不能使用。

请启用该密钥。

400

KMS.0211

Cannot perform this operation on Default Master Keys.

默认主密钥不支持该操作。

请使用普通主密钥操作该任务。

400

KMS.0308

Invalid parameter.

字段非法。

请传递正确的参数。

400

KMS.0309

External keys required.

密钥来源应为外部导入。

请使用外部导入密钥进行此操作。

400

KMS.0310

The key is not in Pending import state.

密钥未处于“等待导入”状态。

请确保密钥状态处于“等待导入”状态。

400

KMS.0311

Failed to decrypt data using the RSA private key.

RSA私钥解密数据失败。

请确保传入的密文的正确性,或联系技术支持。

400

KMS.0312

External keys cannot be rotated.

外部密钥不支持轮换操作。

请使用普通主密钥。

400

KMS.0313

Key rotation is not enabled.

密钥轮换未被启用。

请启用密钥轮换。

400

KMS.0401

Tag list cannot be empty.

标签列表不能为空。

请传递正确的参数。

400

KMS.0402

Invalid match value.

match中value字段不合法。

请传递正确的参数。

400

KMS.0403

Invalid match key.

match中key字段不合法。

请传递正确的参数。

400

KMS.0404

Invalid action.

action字段不合法。

请传递正确的参数。

400

KMS.0405

Invalid tag value.

tag中value字段不合法。

请传递正确的参数。

400

KMS.0406

Invalid tag key.

tag中key字段不合法。

请传递正确的参数。

400

KMS.0407

Invalid tag list size.

tag列表长度不合法。

请传递正确的参数。

400

KMS.0408

Invalid resourceType.

resourceType字段不合法。

请传递正确的参数。

400

KMS.0409

Too many tags.

tag达到上限。

标签配额已达到上限,请删除部分标签后再重试。

400

KMS.0410

Invalid tag value length.

tag中value长度不合法。

请传递正确的参数。

400

KMS.0411

Invalid tag key length.

tag中key长度不合法。

请传递正确的参数。

400

KMS.0412

Invalid tag list.

tag list不合法。

请传递正确的参数。

400

KMS.0413

Too many tag values.

tag中values列表长度超过限制。

请传递正确的参数。

400

KMS.0415

Invalid matches.

matches字段不合法。

请传递正确的参数。

400

KMS.0417

Invalid offset.

offset不在有效数字范围内。

请传递正确的参数。

400

KMS.1101

Invalid key_alias.

key_alias密钥别名非法。

请传递正确的参数。

400

KMS.1102

Invalid realm.

realm密钥区域非法。

请传递正确的参数。

400

KMS.1103

Invalid key_description.

key_description密钥描述非法。

请传递正确的参数。

400

KMS.1104

Duplicate key aliases.

密钥别名已经存在。

请更换别名。

400

KMS.1105

Too many keys.

密钥个数已达上限。

配额已达到上限,增加配额或者删除部分密钥。

400

KMS.1201

The key is not disabled.

密钥未被禁用。

请先禁用密钥。

400

KMS.1301

The key is not enabled.

密钥未被启用。

请先启用密钥。

400

KMS.1401

Set the pending deletion period between 7 to 1096 days.

计划删除密钥时间范围:7天~1096天。

请传递正确的参数。

400

KMS.1402

The key is already in Pending deletion state.

密钥已处于“计划删除”状态。

密钥已经处于“计划删除”状态,无需再操作。

400

KMS.1501

The key is not in Pending deletion state.

密钥未处于“计划删除”状态。

请先“计划删除”密钥。

400

KMS.1601

Invalid limit.

limit不在有效数字范围内。

请传递正确的参数。

400

KMS.1602

marker must be greater than or equals 0.

marker参数需大于等于0。

请传递正确的参数。

400

KMS.1801

random_data_length must be 512 bits.

random_data_length随机数长度需等于512位。

请传递正确的参数。

400

KMS.1901

datakey_length must be in the range 8 bits to 8,192 bits.

datakey_length必须介于8-8192比特之间。

请传递正确的参数。

400

KMS.2001

datakey_length must be 512 bits.

datakey_length数据密钥长度需等于512位。

请传递正确的参数。

400

KMS.2101

Invalid plain_text.

plain_text数据密钥明文非法。

请传递正确的参数。

400

KMS.2102

datakey_plain_length must be 64 bytes.

datakey_plain_length数据密钥明文长度需等于64字节。

请传递正确的参数。

400

KMS.2103

Failed to verify the DEK hash.

数据密钥hash校验失败。

请确认数据密钥是否合法或联系客服。

400

KMS.2201

Invalid cipher_text.

cipher_text数据密钥密文非法。

请传递正确的参数。

400

KMS.2202

datakey_cipher_length must be 64 bytes.

datakey_cipher_length数据密钥密文长度需等于64字节。

请传递正确的参数。

400

KMS.2203

Failed to verify the DEK hash.

数据密钥hash校验失败。

请确认数据密钥是否合法或联系客服。

400

KMS.2401

Specify an operation in addition to create-grant.

操作不能只包含“create-grant”。

请传递正确的参数。

400

KMS.2402

Invalid user ID.

授权/退役主体非法。

请传递正确的参数。

400

KMS.2403

Failed to create the grant.

创建授权失败。

请重试或联系客服。

400

KMS.2404

Too many CMK grants.

用户主密钥授权超过上限。

配额已达到上限,增加配额或者删除部分授权。

400

KMS.2405

Too many grants.

主体授权超过上限。

配额已达到上限,增加配额或者删除部分授权。

400

KMS.2501

Invalid grant ID.

grant不存在。

请传递存在的授权ID。

400

KMS.2502

grant_id and key_id do not match.

grant_id与key_id不匹配。

请确保grant_id与key_id匹配。

400

KMS.2601

Token expired.

令牌已失效。

请重新获取令牌。

400

KMS.2602

Key expiration time must be later than the current time.

导入密钥失效时间必须大于当前时间。

请重新选择导入密钥失效时间。

400

KMS.2603

Key IDs in the imported key and token do not match.

导入密钥key_id与令牌中key_id不匹配。

请确保导入密钥key_id与令牌中key_id匹配。

400

KMS.2604

The external key plaintext length must be 32 bits.

外部密钥明文长度必须为32位。

请传递正确的参数。

400

KMS.2605

Token verification failed.

令牌校验失败。

请重新获取令牌。

400

KMS.2606

You are importing a deleted key again. The imported plaintext must be the same as the deleted key plaintext.

重新导入一个已删除的密钥材料时,外部密钥明文应与之前导入的一致。

请确保导入密钥明文与之前导入密钥明文数据一致。

400

KMS.2701

Key material is not in Enabled or Disabled state and cannot be deleted.

密钥材料只有在“启用”、“禁用”状态下方可被删除。

请确保密钥在“启用”、“禁用”状态。

403

KMS.0301

Invalid or null X-Auth-Token.

X-Auth-Token为null或字符非法。

请重新获取token,并在使用时确保token字符串的完整性。

403

KMS.0302

Invalid X-Auth-Token.

X-Auth-Token无效。

请重新获取token,并在使用时确保token字符串的完整性。

403

KMS.0303

X-Auth-Token expired.

X-Auth-Token过期。

请重新获取token,并在使用时确保token字符串的完整性。

403

KMS.0304

X-Auth-Token contains the OBT tag and cannot be used to access services.

X-Auth-Token包含公测标签,不能访问服务。

请重新获取token,并在使用时确保token字符串的完整性。

403

KMS.0305

Invalid X-Auth-Token project name.

X-Auth-Token Project Name区域非法。

请重新获取token,并在使用时确保token字符串的完整性。

403

KMS.0306

No access permissions.

用户无权限访问密钥。

请联系管理员给帐户添加相应权限。

403

KMS.0307

No access permissions.

用户角色无权限访问接口。

请联系管理员给帐户添加相应权限。

404

KMS.0416

Invalid tag ID.

tag不存在。

请传递存在的密钥标签。

500

KMS.0101

KMS error.

KMS错误。

请重试或联系客服。

500

KMS.0102

Abnormal KMS I/O.

KMS I/O异常。

请重试或联系客服。

400

KPS.0001

taskId is illegal.

task id非法。

使用合法的task id。

400

KPS.0002

parameter error.

参数错误。

使用正确的参数。

400

KPS.0005

Failed task is not found.

task id错误。

填入正确的task id。

400

KPS.0006

User not found.

用户名错误。

使用正确的用户名。

400

KPS.4016

The key pair is not exist.

密钥对名称错误。

填入正确的密钥对名称。

400

KPS.6004

No Keypair find.

未找到密钥对。

填入正确的密钥对名称。

400

KPS.6005

No private key managed.

未找到托管的私钥。

确认私钥是否已托管。

400

KPS.6008

Encrypt private key failed.

加密私钥失败。

确认kms密钥是否存在以及状态是否可用。

400

KPS.6010

Save privatekey failed.

保存私钥失败。

确认kms密钥是否存在以及状态是否可用。

400

KPS.6011

The imported private key not match public key.

导入的私钥和公钥不匹配。

确认导入的公私钥对是否匹配。

401

KPS.9001

The token of the request is not or failed to be authenticated.

token不合法。

使用合法的token。

401

KPS.9002

Public test service denied.

访问失败。

使用非公测帐号。

403

KPS.6009

Keypair verify failed.

密钥对校验失败。

使用正确的托管校验码。

403

KPS.9003

No operation permission.

无权限访问。

添加对应的用户权限。

403

KPS.9004

The account is frozen.

帐户被冻结。

帐户被冻结。

403

KPS.9005

The account is restricted.

帐户被限制。

帐户被限制。

403

KPS.9006

Unknown user type.

账户无权限。

添加对应的用户权限。