Updated on 2022-12-06 GMT+08:00

Error Code

Status Code

Error Code

Error Message

Description

Measure

400

KMS.0201

Invalid request URL.

Invalid request URL.

Enter a valid URL.

400

KMS.0202

Invalid JSON format of the request message.

Invalid JSON format of the request message.

Enter a valid message.

400

KMS.0203

Request message too long.

Request message too long.

Enter a valid message.

400

KMS.0204

Parameters missing in the request message.

Parameters missing in the request message.

Enter a valid message.

400

KMS.0205

Invalid key ID.

Invalid key ID.

Enter a valid key ID.

400

KMS.0206

Invalid sequence number.

Invalid sequence number.

Enter a valid sequence number.

400

KMS.0208

Invalid value of value encryption_context.

Invalid value of value encryption_context.

Enter a valid value of encryption_context.

400

KMS.0209

The key has been disabled.

The key has been disabled.

Enable the key.

400

KMS.0210

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

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

Enable the key.

400

KMS.0211

Cannot perform this operation on Default Master Keys.

Cannot perform this operation on default master keys.

Perform this operation on a common CMK.

400

KMS.0415

Invalid matches.

Invalid matches.

Enter a valid parameter.

400

KMS.1101

Invalid key_alias.

Invalid key_alias.

Enter a valid parameter.

400

KMS.1102

Invalid realm.

Invalid realm.

Enter a valid parameter.

400

KMS.1103

Invalid key_description.

Invalid key_description.

Enter a valid parameter.

400

KMS.1104

Duplicate key aliases.

Duplicate key aliases.

Use another alias.

400

KMS.1105

Too many keys.

Too many keys.

Increase key quota or delete unnecessary keys.

400

KMS.1201

The key is not disabled.

The key is not disabled.

Disable the key.

400

KMS.1301

The key is not enabled.

The key is not enabled.

Enable the key.

400

KMS.1401

Set the pending deletion period between 7 to 1096 days.

Set the pending deletion period between 7 to 1096 days.

Enter a valid parameter.

400

KMS.1402

The key is already in Pending deletion state.

The key is already in Pending deletion state.

No further operation required.

400

KMS.1501

The key is not in Pending deletion state.

The key is not in Pending deletion state.

Schedule deletion the key.

400

KMS.1601

Invalid limit.

Invalid limit.

Enter a valid parameter.

400

KMS.1602

marker must be greater than or equals 0.

marker must be greater than or equals 0.

Enter a valid parameter.

400

KMS.1801

random_data_length must be 512 bits.

random_data_length must be 512 bits.

Enter a valid parameter.

400

KMS.1901

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

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

Enter a valid parameter.

400

KMS.2001

datakey_length must be 512 bits.

datakey_length must be 512 bits.

Enter a valid parameter.

400

KMS.2101

Invalid plain_text.

Invalid plain_text.

Enter a valid parameter.

400

KMS.2102

datakey_plain_length must be 64 bytes.

datakey_plain_length must be 64 bytes.

Enter a valid parameter.

400

KMS.2103

Failed to verify the DEK hash.

Failed to verify the DEK hash.

Check whether the DEK is valid.

400

KMS.2201

Invalid cipher_text.

invalid cipher_text.

Enter a valid parameter.

400

KMS.2202

datakey_cipher_length must be 64 bytes.

datakey_cipher_length must be 64 bytes.

Enter a valid parameter.

400

KMS.2203

Failed to verify the DEK hash.

Failed to verify the DEK hash.

Check whether the DEK is valid.

403

KMS.0301

Invalid or null X-Auth-Token.

Invalid or null X-Auth-Token.

Obtain the token again and ensure the token string is complete.

403

KMS.0302

Invalid X-Auth-Token.

Invalid X-Auth-Token.

Obtain the token again and ensure the token string is complete.

403

KMS.0303

X-Auth-Token expired.

X-Auth-Token expired.

Obtain the token again and ensure the token string is complete.

403

KMS.0305

Invalid X-Auth-Token project name.

Invalid X-Auth-Token project name.

Obtain the token again and ensure the token string is complete.

403

KMS.0306

No access permissions.

The user has no permission to access the key.

Contact the KMS administrator to grant required permissions.

403

KMS.0307

No access permissions.

No access permissions.

Contact the administrator to grant required permissions.

500

KMS.0101

KMS error.

KMS error.

Try again.

500

KMS.0102

Abnormal KMS I/O.

Abnormal KMS I/O.

Try again.