Error Code
For error codes of other services, go to API Error Center.
| Status Code | Error Code | Message | Description | Measure |
|---|---|---|---|---|
| 400 | CSMS.0002 | The value of parameter is invalid. | The XX parameter is invalid. | Enter a valid parameter. |
| 400 | CSMS.0003 | the request is invalid. | Invalid request. | Enter a valid URL. |
| 400 | CSMS.0004 | The requested body format is wrong. | The request body format is incorrect. | Enter a valid body. |
| 400 | CSMS.0005 | The resource does not exist. | The resource does not exist. | Enter valid secrets. |
| 400 | CSMS.0103 | The secret is in the scheduled deletion state. | The secret is in Pending deletion state and cannot be used. | Ensure that the secret is in Enabled or Disabled state. |
| 400 | CSMS.0105 | Can not delete the system internal stage. | Do not delete the built-in version status of the system. | Do not delete the built-in version. |
| 400 | CSMS.0106 | The secret name not found int the db. | The secret name does not exist in the database. | Enter a valid secret name. |
| 400 | CSMS.0107 | The secret is in schedule delete state. | The secret is in Pending deletion state. | Enter other secrets. |
| 400 | CSMS.0108 | The secret is not in schedule delete state. | The secret is not in Pending deletion state. | Enter other secrets. |
| 400 | CSMS.0202 | The number of secret has reached the upper limit. | The number of credentials reaches the upper limit. | Delete other credentials. |
| 400 | CSMS.0203 | The number of stage has reached the upper limit. | The number of credential version statuses has reached the upper limit. | Delete other version statuses. |
| 400 | CSMS.0204 | The number of stage is greater than the quota limit. | The number of credential version statuses has exceeded the upper limit. | Delete other version statuses. |
| 400 | CSMS.0301 | Invalid X-Auth-Token. | Invalid X-Auth-Token. | Obtain the token again and ensure the token string is complete. |
| 400 | CSMS.0401 | Can not get the protected secret value using the provided KMS key. | Failed to encrypt or decrypt the secret value by using KMS. | Ensure that the key is enabled. |
| 403 | CSMS.0109 | The secret state is not enabled. | The secret is not enabled. | Enable the secret. |
| 403 | CSMS.0302 | The user role has no permission to access the interface. | The user role has no permission to access the API. | Contact the administrator to grant required permissions. |
| 404 | CSMS.0205 | Version quota not found for secret | No version quota is found for secret XX. | The secret has been deleted. Select another secret. |
| 404 | CSMS.0206 | Stage quota not found for secret | No version status quota is found for secret XX. | The secret has been deleted. Select another secret. |
| 404 | CSMS.0207 | Secret quota not found. | No secret quota found. | The secret has been deleted. Select another secret. |
| 409 | CSMS.0101 | The secret name already exists. | The credential name is in use. | Enter another valid credential name. |
| 409 | CSMS.0102 | The version id already exists. | The secret version number already exists. | Enter another valid secret version number. |
| 409 | CSMS.0104 | The stage name already exists. | The version status name already exists. | Enter another valid version status name. |
| 500 | CSMS.0001 | An internal error occurred. | Internal service error. | Try again later or contact customer service. |
| 500 | CSMS.0006 | AES encrypt secret value occurred an error. | An error occurs while the secret value is encrypted using AES. | Try again later or contact customer service. |
| 500 | CSMS.0201 | The number of secret has reached the upper limit. | The quota exceeds the upper limit. | Delete other secrets. |
| 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 Scheduled 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.0308 | Invalid parameter. | Invalid parameter. | Enter valid parameters. |
| 400 | KMS.0309 | External keys required. | External keys required. | Use an imported key. |
| 400 | KMS.0310 | The key is not in Pending import state. | The key is not in Pending import state. | Ensure the key is in Pending import state. |
| 400 | KMS.0311 | Failed to decrypt data using the RSA private key. | Failed to decrypt data using the RSA private key. | Ensure the input ciphertext is correct and try again, or contact customer service. |
| 400 | KMS.0312 | External keys cannot be rotated. | External keys cannot be rotated. | Use a common CMK. |
| 400 | KMS.0313 | Key rotation is not enabled. | Key rotation is not enabled. | Enable key rotation. |
| 400 | KMS.0319 | Rotation not supported in the current KMS version. | Rotation not supported in the current KMS version. | Try again later or contact customer service. |
| 400 | KMS.0320 | Resource frozen. | Resource frozen. | Renew the service and try again. |
| 400 | KMS.0323 | Failed to obtain the partition of the key. | Failed to obtain the partition of the key. | Try again later or contact customer service. |
| 400 | KMS.0324 | RSA keys cannot be rotated. | RSA keys cannot be rotated. | Use a common CMK. |
| 400 | KMS.0327 | Failed to obtain user permissions. | Failed to obtain user permissions. | Contact the administrator to grant required permissions. |
| 400 | KMS.0329 | Hash algorithm does not match the digest length. | Hash algorithm does not match the digest length. | Enter valid parameters or contact customer service. |
| 400 | KMS.0401 | Tag list cannot be empty. | Tag list cannot be empty. | Enter valid parameters. |
| 400 | KMS.0402 | Invalid match value. | Invalid match value. | Enter valid parameters. |
| 400 | KMS.0403 | Invalid match key. | Invalid match key. | Enter valid parameters. |
| 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.0308 | Invalid parameter. | Invalid parameter. | Enter valid parameters. |
| 400 | KMS.0309 | External keys required. | External keys required. | Use an imported key. |
| 400 | KMS.0310 | The key is not in Pending import state. | The key is not in Pending import state. | Ensure the key is in Pending import state. |
| 400 | KMS.0311 | Failed to decrypt data using the RSA private key. | Failed to decrypt data using the RSA private key. | Ensure the input ciphertext is correct and try again, or contact customer service. |
| 400 | KMS.0312 | External keys cannot be rotated. | External keys cannot be rotated. | Use a common CMK. |
| 400 | KMS.0313 | Key rotation is not enabled. | Key rotation is not enabled. | Enable key rotation. |
| 400 | KMS.0319 | Rotation not supported in the current KMS version. | Rotation not supported in the current KMS version. | Try again later or contact customer service. |
| 400 | KMS.0320 | Resource frozen. | Resource frozen. | Renew the service and try again. |
| 400 | KMS.0323 | Failed to obtain the partition of the key. | Failed to obtain the partition of the key. | Try again later or contact customer service. |
| 400 | KMS.0324 | RSA keys cannot be rotated. | RSA keys cannot be rotated. | Use a common CMK. |
| 400 | KMS.0327 | Failed to obtain user permissions. | Failed to obtain user permissions. | Contact the administrator to grant required permissions. |
| 400 | KMS.0329 | Hash algorithm does not match the digest length. | Hash algorithm does not match the digest length. | Enter valid parameters or contact customer service. |
| 400 | KMS.0401 | Tag list cannot be empty. | Tag list cannot be empty. | Enter valid parameters. |
| 400 | KMS.0402 | Invalid match value. | Invalid match value. | Enter valid parameters. |
| 400 | KMS.0403 | Invalid match key. | Invalid match key. | Enter valid parameters. |
| 400 | KMS.0404 | Invalid action. | Invalid action. | Enter valid parameters. |
| 400 | KMS.0405 | Invalid tag value. | Invalid tag value. | Enter valid parameters. |
| 400 | KMS.0406 | Invalid tag key. | Invalid tag key. | Enter valid parameters. |
| 400 | KMS.0407 | Invalid tag list size. | Invalid tag list size. | Enter valid parameters. |
| 400 | KMS.0408 | Invalid resourceType. | Invalid resourceType. | Enter valid parameters. |
| 400 | KMS.0409 | Too many tags. | Too many tags. | Delete unnecessary tags and try again. |
| 400 | KMS.0410 | Invalid tag value length. | Invalid tag value length. | Enter valid parameters. |
| 400 | KMS.0411 | Invalid tag key length. | Invalid tag key length. | Enter valid parameters. |
| 400 | KMS.0412 | Invalid tag list. | Invalid tag list. | Enter valid parameters. |
| 400 | KMS.0413 | Too many tag values. | Too many tag values. | Enter valid parameters. |
| 400 | KMS.0414 | Invalid tags. | Invalid tags. | Enter valid parameters. |
| 400 | KMS.0415 | Invalid matches. | Invalid matches. | Enter valid parameters. |
| 400 | KMS.0417 | Invalid offset. | Invalid offset. | Enter valid parameters. |
| 400 | KMS.1101 | Invalid key_alias. | Invalid key_alias. | Enter valid parameters. |
| 400 | KMS.1102 | Invalid realm. | Invalid realm. | Enter valid parameters. |
| 400 | KMS.1103 | Invalid key_description. | Invalid key_description. | Enter valid parameters. |
| 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.1108 | Failed to create the default partition for the key. | Failed to create the default partition for the key. | Try again later or contact customer service. |
| 400 | KMS.1109 | Failed to create the route for the key. | Failed to create the route for the key. | Try again later or contact customer service. |
| 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 valid parameters. |
| 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 valid parameters. |
| 400 | KMS.1602 | marker must be greater than or equals 0. | marker must be greater than or equals 0. | Enter valid parameters. |
| 400 | KMS.1801 | random_data_length must be 512 bits. | random_data_length must be 512 bits. | Enter valid parameters. |
| 400 | KMS.1802 | random_data_length must be a multiple of 8. | random_data_length must be a multiple of 8. | Enter valid parameters. |
| 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 valid parameters. |
| 400 | KMS.1902 | key_spec can only be AES_128 or AES_256. | key_spec can only be AES_128 or AES_256. | Enter valid parameters. |
| 400 | KMS.1903 | datakey_length must be a multiple of 8. | datakey_length must be a multiple of 8. | Enter valid parameters. |
| 400 | KMS.2001 | datakey_length must be 512 bits. | datakey_length must be 512 bits. | Enter valid parameters. |
| 400 | KMS.2101 | Invalid plain_text. | Invalid plain_text. | Enter valid parameters. |
| 400 | KMS.2102 | datakey_plain_length must be 64 bytes. | datakey_plain_length must be 64 bytes. | Enter valid parameters. |
| 400 | KMS.2103 | Failed to verify the DEK hash. | Failed to verify the DEK hash. | Ensure the DEK is valid and try again, or contact customer service. |
| 400 | KMS.2104 | The length of plain_text does not match datakey_plain_length. | The length of plain_text does not match datakey_plain_length. | Enter valid parameters. |
| 400 | KMS.2201 | Invalid cipher_text. | invalid cipher_text. | Enter valid parameters. |
| 400 | KMS.2202 | datakey_cipher_length must be 64 bytes. | datakey_cipher_length must be 64 bytes. | Enter valid parameters. |
| 400 | KMS.2203 | Failed to verify the DEK hash. | Failed to verify the DEK hash. | Ensure the DEK is valid and try again, or contact customer service. |
| 400 | KMS.2204 | The length of cipher_text does not match datakey_cipher_length. | The length of cipher_text does not match datakey_cipher_length. | Enter valid parameters. |
| 400 | KMS.2401 | Specify an operation in addition to create-grant. | Specify an operation in addition to create-grant. | Enter valid parameters. |
| 400 | KMS.2402 | Invalid user ID. | Invalid user ID. | Enter valid parameters. |
| 400 | KMS.2403 | Failed to create the grant. | Failed to create the grant. | Try again later or contact customer service. |
| 400 | KMS.2404 | Too many CMK grants. | Too many CMK grants. | Increase grant quota or delete unnecessary grants. |
| 400 | KMS.2405 | Too many grants. | Too many grants. | Increase grant quota or delete unnecessary grants. |
| 400 | KMS.2501 | Invalid grant ID. | Invalid grant ID. | Enter a valid grant ID. |
| 400 | KMS.2502 | grant_id and key_id do not match. | grant_id and key_id do not match. | Ensure input grant_id matches key_id. |
| 400 | KMS.2601 | Token expired. | Token expired. | Obtain a new token. |
| 400 | KMS.2602 | Key expiration time must be later than the current time. | Key expiration time must be later than the current time. | Set a valid key expiration time. |
| 400 | KMS.2603 | Key IDs in the imported key and token do not match. | Key IDs in the imported key and token do not match. | Ensure the key ID in the imported key matches that in the token. |
| 400 | KMS.2604 | The external key plaintext length must be 32 bits. | The external key plaintext length must be 32 bits. | Enter valid parameters. |
| 400 | KMS.2605 | Token verification failed. | Token verification failed. | Obtain a new token. |
| 400 | KMS.2606 | You are importing a deleted key again. The imported plaintext must be the same as the deleted key plaintext. | You are importing a deleted key again. The imported plaintext must be the same as the deleted key plaintext. | Ensure the plaintext of the imported key is the same as that of the deleted key. |
| 400 | KMS.2701 | Key material is not in Enabled or Disabled state and cannot be deleted. | Key material is not in Enabled or Disabled state and cannot be deleted. | Ensure that the key is in Enabled or Disabled state. |
| 400 | KMS.2901 | Key rotation is not disabled. | Key rotation is not disabled. | Disable key rotation. |
| 400 | KMS.3001 | Invalid rotation_interval. | Invalid rotation_interval. | Enter valid parameters. |
| 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.0304 | X-Auth-Token contains the OBT tag and cannot be used to access services. | X-Auth-Token contains the OBT tag and cannot be used to access services. | 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 administrator to grant required permissions. |
| 403 | KMS.0307 | No access permissions. | No access permissions. | Contact the administrator to grant required permissions. |
| 403 | KMS.0314 | Real-name authentication is required to access the API. | Real-name authentication is required to access the API. | Complete real-name authentication and try again. |
| 403 | KMS.0321 | URIs in URL and X-Auth-Token do not match. | URIs in URL and X-Auth-Token do not match. | Ensure the URI in the URL matches that in X-Auth-Token. |
| 403 | KMS.0326 | No access permissions. | No access permissions. | Contact the administrator to grant required permissions. |
| 403 | KMS.0328 | KMS has been frozen. Renew it and try again. | KMS has been frozen. Renew it and try again. | Renew the service and try again. |
| 404 | KMS.0207 | The key does not exist. | The key does not exist. | Choose a valid key or create a key. |
| 404 | KMS.0416 | Invalid tag ID. | Invalid tag ID. | Enter a valid key tag. |
| 500 | KMS.0101 | KMS error. | KMS error. | Try again later or contact customer service. |
| 500 | KMS.0102 | Abnormal KMS I/O. | Abnormal KMS I/O. | Try again later or contact customer service. |
| 400 | KPS.0001 | taskId is illegal. | Invalid task ID. | Use a valid task ID. |
| 400 | KPS.0002 | parameter error. | Parameter error. | Use correct parameters. |
| 400 | KPS.0005 | Failed task is not found. | Incorrect task ID. | Enter the correct task ID. |
| 400 | KPS.0006 | User not found. | Incorrect username. | Enter the correct username. |
| 400 | KPS.4016 | The key pair is not exist. | Incorrect key pair name. | Enter a correct key pair name. |
| 400 | KPS.6004 | No Keypair find. | The key pair is not found. | Enter a correct key pair name. |
| 400 | KPS.6005 | No private key managed. | The managed private key is not found. | Check whether the private key is managed in the cloud. |
| 400 | KPS.6008 | Encrypt private key failed. | Failed to encrypt the private key. | Check whether the KMS key exists and is available. |
| 400 | KPS.6010 | Save privatekey failed. | Failed to save the private key. | Check whether the KMS key exists and is available. |
| 400 | KPS.6011 | The imported private key not match public key. | The imported private key does not match the public key. | Check whether the imported public and private key match. |
| 401 | KPS.9001 | The token of the request is not or failed to be authenticated. | The token is invalid. | Use a valid token. |
| 401 | KPS.9002 | Public test service denied. | Access failed. | Use a non-OBT account. |
| 403 | KPS.6009 | Keypair verify failed. | Failed to verify the key pair. | Use the correct management verification code. |
| 403 | KPS.9003 | No operation permission. | No access permission. | Add the required permissions for the user. |
| 403 | KPS.9004 | The account is frozen. | The account is frozen. | The account is frozen. |
| 403 | KPS.9005 | The account is restricted. | The account is restricted. | The account is restricted. |
| 403 | KPS.9006 | Unknown user type. | The account does not have sufficient permissions. | Add the required permissions for the user. |
Last Article: Status Codes
Next Article: Obtaining a Project ID
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.