Error Codes

Last updated: 2021-04-15 16:40:46

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
ActionOffline This API has been deprecated.
AuthFailure.InvalidAuthorization Authorization in the request header is invalid.
AuthFailure.InvalidSecretId Invalid key (not a TencentCloud API key type).
AuthFailure.MFAFailure MFA failed.
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.
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.
AuthFailure.SignatureFailure Invalid signature. Signature calculation error. Please ensure you’ve followed the signature calculation process described in the Signature API documentation.
AuthFailure.TokenFailure Token error.
AuthFailure.UnauthorizedOperation The request is not authorized. For more information, see the CAM documentation.
DryRunOperation DryRun Operation. It means that the request would have succeeded, but the DryRun parameter was used.
FailedOperation Operation failed.
InternalError Internal error.
InvalidAction The API does not exist.
InvalidParameter Incorrect parameter.
InvalidParameterValue Invalid parameter value.
InvalidRequest The multipart format of the request body is incorrect.
LimitExceeded Quota limit exceeded.
MissingParameter A parameter is missing.
NoSuchProduct The product does not exist.
NoSuchVersion The API version does not exist.
RequestLimitExceeded The number of requests exceeds the frequency limit.
RequestSizeLimitExceeded The request size exceeds the upper limit.
ResourceInUse Resource is in use.
ResourceInsufficient Insufficient resource.
ResourceNotFound The resource does not exist.
ResourceUnavailable Resource is unavailable.
ServiceUnavailable Service is unavailable now.
UnauthorizedOperation Unauthorized operation.
UnknownParameter Unknown parameter.
UnsupportedOperation Unsupported operation.
UnsupportedProtocol HTTP(S) request protocol error; only GET and POST requests are supported.
UnsupportedRegion API does not support the requested region.

Service Error Codes

Error Code Description
AuthFailure CAM signature/authentication error.
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. Please check whether the user already exists.
FailedOperation.CreateRoVipError Failed to assign an exclusive VIP to the read-only replica.
FailedOperation.DBOperationActionError Database operation failed.
FailedOperation.GetPrivilegeError An error occurred while obtaining permissions.
FailedOperation.NotDelayRo The instance is not a delayed RO replica.
FailedOperation.OperationReplicationError Failed to call the backend API to enable delayed replication.
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.QueryLogError Log query failed.
FailedOperation.ResponseValueError Exception with the backend request for the 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.AsyncRequestError An error occurred while querying async tasks.
InternalError.AuthError Authentication failed.
InternalError.CdbCgwError Internal system error.
InternalError.CdbError System error.
InternalError.CosError Failed to obtain file information.
InternalError.DBError Database exception
InternalError.DBOperationError Database operation failed.
InternalError.DBRecordNotExistError The database record does not exist.
InternalError.DatabaseAccessError Internal database error.
InternalError.DesError Internal system error.
InternalError.DfwError Security group operation error.
InternalError.ExeSqlError SQL statement error
InternalError.FtpError File transfer exception
InternalError.HttpError Exceptional HTTP request
InternalError.InternalAssertError Internal service error. Please contact customer service.
InternalError.InternalHttpServerError An exception occurred while executing the request.
InternalError.InternalRequestError The backend failed to request the service. Please contact customer service.
InternalError.InternalServiceErrorErr An error occurred while accessing internal service.
InternalError.JSONError Failed to parse JSON.
InternalError.NetworkError Network error
InternalError.OssError An error occurred in TencentDB for MySQL High-Availability Edition database service.
InternalError.ParamError Parameter error
InternalError.RegexpCompileError Regular expression compilation error.
InternalError.ResourceNotMatch The resource does not match.
InternalError.ResourceNotUnique The resource is not unique.
InternalError.SecurityGroupError Security group error
InternalError.TagError Failed to modify the tag. Please try again later.
InternalError.TaskError Task exception
InternalError.TaskFrameError Async task error.
InternalError.TimeWindowError Time window error
InternalError.TradeError Transaction system error.
InternalError.UndefinedError Unknown error
InternalError.UnknownError Unknown error
InternalError.VpcError VPC or subnet error.
InvalidParameter.ControllerNotFoundError This API was not found.
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.InvalidParameterError Invalid parameter value
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 should not exceed 255 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 is too long or too short.
InvalidParameterValue.AccountPasswordRuleError The password format is incorrect. It should contain 8 to 64 characters and must contain at least two character sets of the following: letters, digits, and special symbols (_+-&=!@#$%^*()).
InvalidParameterValue.DataConvertError Data conversion failed.
InvalidParameterValue.DueTimeWrong The specified point in time should not be later than the current time.
InvalidParameterValue.InvalidParameterValueError Invalid parameter value
InvalidParameterValue.SrcTypeEqualDstType The original type should not be the same as the target type.
InvalidParameterValue.SrcTypeNotEqualDstType The RO replica is not the type of instance allowed by the operation.
InvalidParameterValue.UserNameRuleError Incorrect format of the account username.
InvalidParameterValue.UserNotExistError The account does not exist.
InvalidParameterValue.VerifyAccountNoRootError No root account found.
InvalidParameterValue.VerifyAccountPasswordError Invalid account password.
InvalidParameterValue.VerifyAccountPrivError The account does not have the GRANT permission.
MissingParameter.AccountMissingParameterError Account-related parameters are missing.
OperationDenied Operation denied.
OperationDenied.ActionInProcess The instance is performing another task.
OperationDenied.ActionNotSupport Unsupported operation.
OperationDenied.DelayReplicationRunning The operation is not allowed during the delayed replication.
OperationDenied.DeleteRootAccountError The root account cannot be deleted.
OperationDenied.FunctionDenied This instance needs permissions to use this feature.
OperationDenied.InstanceStatusError Exceptional instance status
OperationDenied.InstanceTaskRunning Delayed replication is not allowed because the instance is executing another task.
OperationDenied.NotSupportModifyLocalRootHostError The host information of the local root account cannot be modified.
OperationDenied.OtherOderInProcess There are other orders being submitted. Please try again later.
OperationDenied.UnSupportRefundError This instance is not refundable.
OperationDenied.UserHasNoStrategy This account is not authorized to access the requested resource.
OperationDenied.WrongPassword Incorrect password or verification failed.
OperationDenied.WrongStatus The backend task status is invalid.
OverQuota Limit exceeded.
ResourceNotFound.CdbInstanceNotFoundError The instance cannot be found. Please check whether your instance status is normal.
ResourceNotFound.InstanceNotFundError The instance does not exist.
UnauthorizedOperation.NotEnoughPrivileges Verification failed. Insufficient permissions.
UnsupportedOperation.PrivilegesUnsupportedError Unsupported permission.

Was this page helpful?

Was this page helpful?

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