更新时间:2024-04-12 GMT+08:00
分享

错误码

更多服务错误码请参见API错误中心

状态码

错误码

错误信息

描述

处理措施

400

CSMS.0002

The value of parameter is invalid.

请求XX参数错误

输入合法参数

400

CSMS.0003

the request is invalud.

请求非法

传递正确URL

400

CSMS.0004

The requested body format is wrong.

请求Body体格式错误

输入合法body体

400

CSMS.0005

The resource does not exist.

资源不存在

输入正确的凭据信息

400

CSMS.0103

The secret is in the scheduled deletion state.

凭据处于“计划删除”状态,不能使用.

确认凭据处于enable或disable状态

400

CSMS.0105

Can not delete the system internal stage.

禁止删除系统内置的版本状态

禁止删除内置版本

400

CSMS.0106

The secret name not found int the db.

数据库中不存在凭据名称

输入系统中存在的凭据的名称

400

CSMS.0107

The secret is in schedule delete state.

凭据已处于“计划删除"状态.

凭据已处于计划删除状态,输入其余凭据

400

CSMS.0108

The secret is not in schedule delete state.

凭据未处于“计划删除”状态.

凭据未处于计划删除状态,输入其他凭据

400

CSMS.0202

The number of secret has reached the upper limit.

凭据数量达到配额上限.

删除其余凭据

400

CSMS.0203

The number of stage has reached the upper limit.

凭据的版本状态数量达到配额上限.

删除其余版本状态

400

CSMS.0204

The number of stage is greater than the quota limit.

凭据的版本状态数量超出配额上限.

删除其余版本状态

400

CSMS.0301

Invalid X-Auth-Token.

X-Auth-Token无效.

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

400

CSMS.0401

Can not get the protected secret value using the provided KMS key.

凭据值通过KMS服务加密解密失败.

请确保密钥存在切处于启用状态

403

CSMS.0109

The secret state is not enabled.

凭据对象未处于启用状态.

启用凭据后再进行其他操作

403

CSMS.0302

The user role has no permission to access the interface.

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

请联系管理员给账户添加CSMS Fullacess权限。

404

CSMS.0205

Version quota not found for secret

凭据XX未发现相应的版本配额.

凭据已被删除,请选择其他凭据操作

404

CSMS.0206

Stage quota not found for secret

凭据XX未发现相应的版本状态配额.

凭据已被删除,请选择其他凭据操作

404

CSMS.0207

Secret quota not found.

未发现凭据配额信息.

凭据已被删除,请选择其他凭据操作

409

CSMS.0101

The secret name already exists.

凭据名称已存在.

输入其他合法的凭据名称

409

CSMS.0102

The version id already exists.

凭据版本号已存在.

输入其他合法的凭据版本号

409

CSMS.0104

The stage name already exists.

版本状态名称已存在.

输入其他合法的版本状态名称

500

CSMS.0001

An internal error occurred.

服务内部错误

请重试或联系客服。

500

CSMS.0006

AES encrypt secret value occurred an error.

AES加密凭据值时发生错误.

请重试或联系客服。

500

CSMS.0201

The number of secret has reached the upper limit.

超出配额上限.

删除其余凭据

400

KMS.0105

A system exception occurred. Contact technical support.

发生系统异常。请联系技术支持。

请联系技术支持。

400

KMS.0106

It is replica service, readonly api allowed.

副本服务只允许只读操作。

副本服务只允许只读操作。

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

Invalid resource type.

资源类型非法。

请使用正确的资源类型。

400

KMS.0214

The request format is invalid.

请求格式非法。

请使用正确的请求格式。

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

Invalid partition_id.

分区类型非法。

输入正确的分区类型。

400

KMS.0317

The cmk partition is not enabled.

密钥分区类型未启用。

输入启用的分区类型。

400

KMS.0318

Partition name has exist.

分区类型名称已存在。

输入正确的分区类型名称。

400

KMS.0319

Rotation not supported in the current KMS version.

当前版本密钥管理系统不支持密钥轮换操作。

请重试或联系客服。

400

KMS.0320

Resource frozen.

资源已冻结,请您尽快续费。

请续费后重试。

400

KMS.0323

Failed to obtain the partition of the key.

获取密钥所在分区信息失败。

请重试或联系客服。

400

KMS.0324

RSA keys cannot be rotated.

RSA密钥不支持轮换。

请使用普通主密钥。

400

KMS.0325

The asymmetric key is not support this operation.

非对称密钥不支持此操作。

请使用对称密钥重试。

400

KMS.0327

Failed to obtain user permissions.

获取用户操作权限失败。

请联系管理员给账户添加KMS CMKFullaccess权限。

400

KMS.0329

Hash algorithm does not match the digest length.

哈希算法与消息摘要长度不匹配。

请传递正确的参数,或者联系技术支持。

400

KMS.0331

The symmetric key is not support this operation.

对称密钥不支持此操作。

请使用正确的密钥类型重试。

400

KMS.0332

This key is not support the signing algorithm.

此密钥不支持签名算法。

请使用正确的签名算法,或者联系技术支持。

400

KMS.0333

The signing algorithm SM2DSA_SM3 not support RAW signing.

签名算法SM2DSA_SM3不支持RAW签名。

请使用正确的签名算法,或者联系技术支持。

400

KMS.0334

The cmk is used to encrypt and decrypt.

该密钥用于加解密。

该密钥用于加解密。

400

KMS.0335

The cmk is used to sign and verify.

该密钥用于签名和验证。

该密钥用于签名和验证。

400

KMS.0336

The current region does not support SM4.

当前区域不支持SM4。

更换算法,或者联系技术支持。

400

KMS.0337

The current region does not support SM2.

当前区域不支持SM2。

更换算法,或者联系技术支持。

400

KMS.0338

The custom keystore do not support rotation.

自定义密钥库不支持轮转。

联系技术支持。

400

KMS.0339

The custom keystore do not support import key.

自定义密钥库不支持导入密钥。

联系技术支持。

400

KMS.0340

not support keystore.

当前不支持密钥库。

联系技术支持。

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

Invalid tags.

tags字段不合法。

请传递正确的参数。

400

KMS.0415

Invalid matches.

matches字段不合法。

请传递正确的参数。

400

KMS.0417

Invalid offset.

offset不在有效数字范围内。

请传递正确的参数。

400

KMS.0418

Offset is not required.

不需要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.1108

Failed to create the default partition for the key.

创建密钥所在默认分区失败。

请重试或联系客服。

400

KMS.1109

Failed to create the route for the key.

创建密钥路由信息失败。

请重试或联系客服。

400

KMS.1110

Invalid alg_type.

非法的算法类型。

请使用正确的算法类型。

400

KMS.1114

EC keys do not support to encrypt/decrypt.

该密钥不支持加解密。

请使用正确的密钥去加解密。

400

KMS.1115

Symmetric keys do not support to sign/verify.

对称密钥不支持签名/验证。

请使用非对称密钥重试。

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天h至1096天。

请传递正确的参数。

400

KMS.1402

The key is already in Pending deletion state.

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

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

400

KMS.1404

This region is not the original region of the key, and it is not allowed to import-key-material.

此区域不是密钥的原始区域,不允许导入密钥材料。

当前局点不支持导入密钥材料。

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

Invalid offset.

offset不在有效数字范围内。

请传递正确的参数。

400

KMS.1801

random_data_length must be 512 bits.

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

请传递正确的参数。

400

KMS.1802

random_data_length must be a multiple of 8.

random_data_length必须能被8整除,即必须为整字节数。

请传递正确的参数。

400

KMS.1901

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

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

请传递正确的参数。

400

KMS.1902

key_spec can only be AES_128 or AES_256.

key_spec必须为AES_128或者AES_256。

请传递正确的参数。

400

KMS.1903

datakey_length must be a multiple of 8.

datakey_length必须能被8整除,即必须为整字节数。

请传递正确的参数。

400

KMS.1904

The rsa wrapping data key is over length 1520 bits.

rsa wrapping data key超过了1520字节。

请传递正确的参数。

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

The length of plain_text does not match datakey_plain_length.

plain_text实际长度与datakey_plain_length不匹配。

请传递正确的参数。

400

KMS.2105

The symmetric key not support this encryption algorithm.

symmetric key不支持该加密算法。

请传递正确的参数。

400

KMS.2106

The rsa key not support this encryption algorithm.

rsa key不支持该加密算法。

请传递正确的参数。

400

KMS.2107

The sm2 key not support this encryption algorithm.

sm2 key不支持该加密算法。

请传递正确的参数。

400

KMS.2108

The rsa encryption plain_text is over length.

rsa encryption plain_text长度过长。

请传递正确的参数。

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

The length of cipher_text does not match datakey_cipher_length.

cipher_text实际长度与datakey_cipher_length不匹配。

请传递正确的参数。

400

KMS.2301

The quota value is beyond the maximum configurable limit.

配额值超出可配置的最大限制。

请传递正确的参数。

400

KMS.2302

New quota value must not less than old.

新配额值不得小于旧配额值。

请传递正确的参数。

400

KMS.2303

The quota type is not supported.

配额类型不支持。

请传递正确的参数。

400

KMS.2304

Can not update grant quota when no grant has created.

未创建授权时无法更新授权配额。

创建授权后重试。

400

KMS.2305

Can not update cmk quota when no cmk has created.

未创建cmk时无法更新cmk配额。

创建密钥后重试。

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

The basic partition has no right to create grant.

基本分区没有创建授权的权限。

联系技术支持。

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

The import sm4 plain key length must 16.

导入sm4纯密钥长度必须为16。

请传递正确的参数。

400

KMS.2608

The imported asymmetric private key can not be null.

导入的非对称私钥不能为空。

请传递正确的参数。

400

KMS.2609

The imported asymmetric private is invalid.

导入的非对称私有非法。

请传递正确的参数。

400

KMS.2610

The temporary key length must be 16 or 32.

临时密钥长度必须为16或32。

请传递正确的参数。

400

KMS.2701

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

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

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

400

KMS.2702

The imported private key material can not be deleted.

导入的私钥材料无法删除。

导入的私钥材料无法删除。

400

KMS.2801

End_time must bigger than start_time.

End time必须大于start time。

请传递正确的参数。

400

KMS.2901

Key rotation is not disabled.

密钥轮换未被禁用。

请禁用密钥轮换。

400

KMS.3001

Invalid rotation_interval.

rotation_interval不在有效数字范围内。

请传递正确的参数。

400

KMS.3103

Invalid id of tenant.

租户id非法。

请输入合法的租户id。

400

KMS.3201

Generate order id failed.

生成订单失败。

请重试或联系技术支持。

400

KMS.3202

KMS error.

订单资源错误。

请重试或联系技术支持。

400

KMS.3702

Invalid kms status parameter.

kms状态参数非法。

请传递正确的参数。

400

KMS.3801

KMS key sync enable and configuration failed.

KMS密钥同步和配置失败。

请重试或联系技术支持。

400

KMS.3802

Failed to sync operation convert to born region.

当前不支持密钥库。

联系技术支持。

400

KMS.3803

The key of born region is turn off sync ,so no operating can be performed.

当前不支持密钥库。

联系技术支持。

400

KMS.3804

AttestationDocument parsing failed.

文档解析失败。

请重试或联系技术支持。

400

KMS.3902

Invalid Service-Transaction-Id in request header.

请求header的Service-Transaction-Id参数非法。

请联系技术支持。

400

KMS.3903

Service-Transaction-Id is missing in request header.

请求header不存在Service-Transaction-Id参数。

请联系技术支持。

400

KMS.4001

Service name to notify is illegal.

用于通知的服务名称非法。

请联系技术支持。

400

KMS.4002

Service url to notify is illegal.

用于通知的服务url非法。

请联系技术支持。

400

KMS.5022

Tags are not compliant.

标签不合规。

请重试或联系技术支持。

400

KMS.5023

Pdp5 Header is invalid.

Header参数非法。

请重试或联系技术支持。

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.

用户无权限访问密钥。

请联系管理员给账户添加KMS CMKFullaccess权限。

403

KMS.0307

No access permissions.

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

请联系管理员给账户添加KMS CMKFullaccess权限。

403

KMS.0314

Real-name authentication is required to access the API.

用户未通过实名认证,不能访问该接口。

请完成实名认证后重试。

403

KMS.0321

URIs in URL and X-Auth-Token do not match.

URL中包含的URL和X-Auth-Token中包含的URL不一致。

请确保URI和token中的项目ID一致后重试。

403

KMS.0322

The user has no permission to access the partition.

用户缺少分区类型的权限。

请配置权限后重试。

403

KMS.0326

No access permissions.

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

请联系管理员给账户添加KMS CMKFullaccess权限。

403

KMS.0328

KMS has been frozen. Renew it and try again.

密钥管理已冻结,请续费解冻后重试。

请续费后重试。

403

KMS.0330

User has no permission.

用户缺少相关权限。

配置KMS CMKFullaccess权限后重试。

404

KMS.0207

The key does not exist.

密钥不存在。

请先创建密钥。

404

KMS.0316

No exist partition_id.

分区类型不存在。

输入分区类型。

404

KMS.0416

Invalid tag ID.

tag不存在。

请传递存在的密钥标签。

404

KMS.3901

The requested jobId cannot be found.

任务id未找到。

请联系技术支持。

405

KMS.0215

Request method not supported.

请求方法不支持。

请使用支持的请求方式。

500

KMS.0100

Get-status error.

获取服务状态失败。

请联系技术支持。

500

KMS.0101

KMS error.

KMS服务错误。

请重试或联系客服。

500

KMS.0102

Abnormal KMS I/O.

KMS I/O异常。

请重试或联系客服。

500

KMS.0103

A system exception occurred. Contact technical support.

发生系统异常。请联系技术支持。

请联系技术支持。

500

KMS.3805

Failed to build digital envelope.

无法构建数字信封。

请重试或联系技术支持。

500

KMS.3806

Unable to obtain enclave root certificate, please contact technical support.

无法获取根证书,请联系技术支持。

联系技术支持。

500

KMS.5012

Request PDP service failed.

访问PDP服务失败。

请重试或联系技术支持。

500

KMS.5021

Check pdp5 auth failed.

PDP5鉴权失败。

请重试或联系技术支持。

503

KMS.0104

A system exception occurred. Contact technical support.

发生系统异常。请联系技术支持。

请联系技术支持。

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.

无权限访问。

添加对应的用户DEW KeypairFullaccess权限。

403

KPS.9004

The account is frozen.

账户被冻结。

账户被冻结。

403

KPS.9005

The account is restricted.

账户被限制。

账户被限制。

403

KPS.9006

Unknown user type.

账户无权限。

添加对应的用户DEW KeypairFullaccess权限。

分享:

    相关文档

    相关产品