Error Codes

Last updated: 2021-06-23 16:43:21

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
FailedOperation.AddInstanceInfoFailed Failed to add the security group information of an instance.
FailedOperation.AssociateSecurityGroupsFailed Failed to associate the security group.
FailedOperation.AuthNoStrategy Authentication failed.
FailedOperation.ClearInstanceInfoFailed Failed to clear the security group information of an instance.
FailedOperation.CopyRightError Error copying account permissions.
FailedOperation.CreateFlowFailed Failed to create the flow.
FailedOperation.CreateUserFailed Failed to create the account.
FailedOperation.DeleteUserFailed Failed to delete the account.
FailedOperation.DisassociateSecurityGroupsFailed Failed to unassociate the security group.
FailedOperation.ModifyRightFailed Failed to modify account permissions.
FailedOperation.OssOperationFailed Failed to request the backend API.
FailedOperation.ResetPasswordFailed Failed to reset the account password.
FailedOperation.SetRuleLocationFailed Failed to set a rule.
FailedOperation.UpdateInstanceInfoFailed Failed to update the security group information of an instance.
InternalError.CamAuthFailed CAM authentication request failed.
InternalError.CosConfiguration Invalid COS instance address configuration.
InternalError.CosSignUrl Backup filename signature failed.
InternalError.DBRowsAffectedError No database data has changed.
InternalError.DbOperationFailed Failed to query the database.
InternalError.FenceError Failed to query the information of a dedicated cluster.
InternalError.GetDbConfigFailed Failed to get database instance parameters.
InternalError.GetDbListFailed Failed to get the list of databases.
InternalError.GetDbObjectFailed Failed to get the database objects.
InternalError.GetInstanceDetailFailed Failed to get the instance details.
InternalError.GetInstanceInfoFailed Failed to get the instance information.
InternalError.GetRightFailed Failed to get the current permissions of the account.
InternalError.GetSecurityGroupDetailFailed Failed to query security group details.
InternalError.GetSubnetFailed Failed to query the VPC subnet information.
InternalError.GetTableInfoFailed Failed to get the table information.
InternalError.GetUserListFailed Failed to get the list of accounts.
InternalError.GetUsgQuotaError Failed to query the security group quota of the user.
InternalError.GetVpcFailed Failed to query the VPC information.
InternalError.InnerSystemError Internal system error.
InternalError.InsertFail Failed to insert data into the database.
InternalError.InstanceOperatePermissionError You have no permission to operate this instance.
InternalError.InstanceSGOverLimitError The maximum number of security groups with which a single instance can associate has been reached.
InternalError.ListInstanceRespResourceCountNotMatchError The number of resources returned is inconsistent with the number specified in the request of querying instance information.
InternalError.ListInstancesError An error occurred when querying instance information.
InternalError.ListProjectFailed Failed to pull the project list.
InternalError.OperateDatabaseFailed Database operation failed.
InternalError.QueryDatabaseFailed An error occurred when reading data from the database.
InternalError.ReadDatabaseFailed An error occurred when reading data from the database.
InternalError.RouteNotFound Route not found.
InternalError.SetSvcLocationFailed The security group policy of the resource failed to take effect.
InternalError.UpdateDatabaseFailed Failed to update the database.
InvalidParameter.CharacterError The password contains invalid characters.
InvalidParameter.FlowNotFound The specified task information was not found.
InvalidParameter.GenericParameterError An error occurred while verifying parameter validity.
InvalidParameter.IllegalParameterError Invalid parameters.
InvalidParameter.InstanceNotFound Failed to find the requested instance.
InvalidParameter.PermissionDenied You have no permission to manipulate this API or resource.
InvalidParameter.SGCheckFail Security group validity test failed.
InvalidParameter.SubnetNotFound The specified VPC subnet was not found.
InvalidParameterValue.AccountAlreadyExists The account to be created already exists.
InvalidParameterValue.BadSyncMode The instance does not support this sync mode.
InvalidParameterValue.BadUserRight The specified permission could not be granted to this account.
InvalidParameterValue.BadUserType Invalid account type.
InvalidParameterValue.IllegalExclusterID The dedicated cluster to which the database instance belongs was not found.
InvalidParameterValue.IllegalInitParam An error occurred while initializing database instance parameters.
InvalidParameterValue.IllegalRightParam Incorrect permission parameter
InvalidParameterValue.SpecIdIllegal The specification information of the database instance was not found.
InvalidParameterValue.SuperUserForbidden Operations by a system user are not allowed.
ResourceNotFound.AccountDoesNotExist The specified account does not exist.
ResourceNotFound.NoInstanceFound The specified database instance was not found.
ResourceNotFound.ProductConfigNotExistedError Failed to find the configuration of the product associated with the security group.
ResourceUnavailable.BadInstanceStatus Incorrect instance status. Unable to initialize.
ResourceUnavailable.CosApiFailed An error occurred while calling COS APIs.
ResourceUnavailable.InstanceAlreadyDeleted The database instance has been dropped.
ResourceUnavailable.InstanceHasBeenLocked The database instance has been locked. Operations are not allowed.
ResourceUnavailable.InstanceStatusAbnormal Incorrect database instance status. Operations are not allowed.
UnauthorizedOperation.PermissionDenied You have no permission to manipulate this API or resource.
UnsupportedOperation.InvalidOperation Unsupported operation.
UnsupportedOperation.OldProxyVersion The proxy program is too old. Please contact customer service for upgrade and try again.