Error Codes

Last updated: 2020-09-11 14:46:41

Feature Description

If there is an Error field in the response, it means that the API call failed. For example:

 {
    "Response": {
        "Error": {
            "Code": "AuthFailure.SignatureFailure",
            "Message": "The provided credentials could not be validated. Please check your signature is correct."
        },
        "RequestId": "ed93f3cb-f35e-473f-b9f3-0d451b8b79c6"
    }
}

Code in Error indicates the error code, and Message indicates the specific information of the error.

Error Code List

Common Error Codes

Error Code Description
UnsupportedOperation Unsupported operation.
ResourceInUse Resource is in use.
InternalError Internal error.
RequestLimitExceeded The number of requests exceeds the frequency limit.
AuthFailure.SecretIdNotFound Key does not exist. Check if the key has been deleted or disabled in the console, and if not, check if the key is correctly entered. Note that whitespaces should not exist before or after the key.
LimitExceeded Quota limit exceeded.
NoSuchVersion The API version does not exist.
ResourceNotFound The resource does not exist.
AuthFailure.SignatureFailure Invalid signature. Signature calculation error. Please ensure you’ve followed the signature calculation process described in the Signature API documentation.
AuthFailure.SignatureExpire Signature expired. Timestamp and server time cannot differ by more than five minutes. Please ensure your current local time matches the standard time.
UnsupportedRegion API does not support the requested region.
UnauthorizedOperation Unauthorized operation.
InvalidParameter Incorrect parameter.
ResourceUnavailable Resource is unavailable.
AuthFailure.MFAFailure MFA failed.
AuthFailure.UnauthorizedOperation The request is not authorized. For more information, see the CAM documentation.
AuthFailure.InvalidSecretId Invalid key (not a TencentCloud API key type).
AuthFailure.TokenFailure Token error.
DryRunOperation DryRun Operation. It means that the request would have succeeded, but the DryRun parameter was used.
FailedOperation Operation failed.
UnknownParameter Unknown parameter.
UnsupportedProtocol HTTP(S) request protocol error; only GET and POST requests are supported.
InvalidParameterValue Invalid parameter value.
InvalidAction The API does not exist.
MissingParameter A parameter is missing.
ResourceInsufficient Insufficient resource.

Service Error Codes

Error Code Description
AuthFailure
CdbError Backend or process error.
CdbError.BackupError Backup error.
CdbError.DatabaseError Backend database error.
CdbError.ImportError Import task error.
CdbError.TaskError Backend task error.
FailedOperation.CreateAccountError Creation failed: {{1}}. Please check whether the user already exists.
FailedOperation.GetPrivilegeError Failed to get the {{1}}:{{2}} permission.
FailedOperation.PrivilegeDataIllegal The executed operation to modify permissions is invalid. You can refer to product documentation for more information about permissions that can be modified for this instance. If you have any questions, please contact customer service.
FailedOperation.ResponseValueError Exception with the backend request for the {{1}} service. Please contact customer service.
FailedOperation.StartFlowError Failed to initiate the operation. Please try again later. If the operation remains unsuccessful, please contact customer service.
FailedOperation.StatusConflict Task status conflict.
FailedOperation.SubmitAsyncTaskError Failed to submit the task. Please try again later. If the submission remains unsuccessful, please contact customer service.
InternalError.CdbCgwError Internal system error.
InternalError.CdbError System error.
InternalError.CosError Failed to obtain file information.
InternalError.DatabaseAccessError Internal database error.
InternalError.DesError Internal system error.
InternalError.DfwError Security group operation error.
InternalError.InternalAssertError Internal service error. Please contact customer service.
InternalError.InternalRequestError The backend failed to request the {{1}} service. Please contact customer service.
InternalError.RegexpCompileError Regular expression compilation error.
InternalError.ResourceNotMatch The resource does not match.
InternalError.ResourceNotUnique The resource is not unique.
InternalError.TaskFrameError Async task error.
InternalError.TradeError Transaction system error.
InternalError.VpcError VPC or subnet error.
InvalidParameter.DeployGroupNotEmpty There are resources in the placement group.
InvalidParameter.InstanceNameNotFound The instance is not found.
InvalidParameter.InstanceNotFound The instance does not exist.
InvalidParameter.InvalidAsyncRequestId The async task does not exist.
InvalidParameter.InvalidName Invalid name.
InvalidParameter.OverDeployGroupQuota The quota of placement group resources has been exceeded.
InvalidParameter.ResourceExists The resource already exists.
InvalidParameter.ResourceNotExists The resource does not exist.
InvalidParameter.ResourceNotFound The resource is not found.
InvalidParameterValue.AccountDescriptionCharacterError The account description contains special characters.
InvalidParameterValue.AccountDescriptionLengthError The account description contains more than {{1}} characters.
InvalidParameterValue.AccountHostRuleError Incorrect format of the host parameter in the account.
InvalidParameterValue.AccountPasswordCharacterError The account password contains invalid characters.
InvalidParameterValue.AccountPasswordLengthError The account password length lies outside the range of {{1}}.
InvalidParameterValue.AccountPasswordRuleError The password does not follow the format: a password can contain up to {{1}} characters and must contain at least two of the following types of characters: letters, digits, and special symbols (_+-&=!@#$%^*()).
InvalidParameterValue.UserNameRuleError Incorrect format of the account username.
InvalidParameterValue.UserNotExistError The account does not exist.
InvalidParameterValue.VerifyAccountNoRootError No root account found.
InvalidParameterValue.VerifyAccountPasswordError Account: {{1}}. Invalid password.
InvalidParameterValue.VerifyAccountPrivError Account: {{1}}. No GRANT permission.
MissingParameter.AccountMissingParameterError The {{1}} parameter is missing.
OperationDenied The operation is denied.
OperationDenied.ActionInProcess The instance is performing another task.
OperationDenied.ActionNotSupport Unsupported operation.
OperationDenied.DeleteRootAccountError The root account cannot be deleted.
OperationDenied.NotSupportModifyLocalRootHostError The host information of the local root account cannot be modified.
OperationDenied.OtherOderInProcess Other orders are being submitted. Please try again later.
OperationDenied.WrongPassword Incorrect password or verification failed.
OperationDenied.WrongStatus The backend task status is invalid.
OverQuota Limit exceeded.
ResourceNotFound.CdbInstanceNotFoundError The {{1}} instance is not found. Please check whether your instance status is normal.
UnauthorizedOperation.NotEnoughPrivileges Verification failed. Insufficient permissions.
UnsupportedOperation.PrivilegesUnsupportedError The {{1}}:{{2}} permission is unsupported.

Was this page helpful?

Was this page helpful?

  • Not at all
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful
Send Feedback
Help