Error Codes

最后更新时间:2021-10-28 10:20:37

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.
IpInBlacklist Your IP is in uin IP blacklist.
IpNotInWhitelist Your IP is not in uin IP whitelist.
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.
RequestLimitExceeded.GlobalRegionUinLimitExceeded Uin exceeds the frequency limit.
RequestLimitExceeded.IPLimitExceeded The number of ip requests exceeds the frequency limit.
RequestLimitExceeded.UinLimitExceeded The number of uin 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.
ResponseSizeLimitExceeded The response size exceeds the upper limit.
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.AsyncTaskStatusError Async task exception.
FailedOperation.CdbInstanceLockFailError Failed to lock the instance while performing exclusive operations. Please try again later.
FailedOperation.CreateAccountError Creation failed. Please check whether the user already exists.
FailedOperation.CreateAuditFailError Failed to create the audit rule.
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.InstanceQueryError Query failed.
FailedOperation.JsonUnmarshalError Failed to deserialize JSON.
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.
FailedOperation.TypeInConflict This type of operations cannot be performed.
InternalError.AsyncRequestError An error occurred while querying async tasks.
InternalError.AuditError An error occurred in the internal service of the audit service.
InternalError.AuditOssLogicError Internal exception of the audit service.
InternalError.AuthError Authentication failed.
InternalError.CauthError 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.ServerError Internal error of the system.
InternalError.ServiceError An exception occurred in the internal service.
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.ExceptionParam Parameter exception.
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.JsonUnmarshalError Failed to deserialize JSON.
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.
MissingParameter.MissingParamError Required parameters are missing.
OperationDenied Operation denied.
OperationDenied.ActionInProcess The instance is performing another task.
OperationDenied.ActionNotSupport Unsupported operation.
OperationDenied.AuditPolicyConflictError The audit policies conflict.
OperationDenied.AuditPolicyExistError The audit policy already exists.
OperationDenied.AuditRuleHasBind The audit rule has been associated.
OperationDenied.AuditRuleNotExistError The audit rule does not exist.
OperationDenied.AuditStatusError Exceptional audit status.
OperationDenied.AuditTaskConflictError The audit tasks conflict.
OperationDenied.DBBrainPolicyConflict You have enabled the compliance audit feature of DBbrain, so you cannot enable the rule-based audit.
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.InstanceLockerConflict Instance locks are in conflict. Please try again later.
OperationDenied.InstanceStatusError Exceptional instance status
OperationDenied.InstanceTaskRunning Delayed replication is not allowed because the instance is executing another task.
OperationDenied.InstanceUnsupportedOperateError The instance does not support this operation.
OperationDenied.NotSupportBasic Basic instances do not support this operation (feature).
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.ResultOverLimit The maximum number of results has been reached. Please narrow down your query.
OperationDenied.SubAccountOperationDenied The Tencent Cloud sub-account is not allowed to perform the operation due to insufficient permissions.
OperationDenied.UnSupportRefundError This instance is not refundable.
OperationDenied.UnsupportOpenAuditError The audit feature cannot be enabled.
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.