Error Codes

Last updated: 2021-05-20 15:48:52

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 An error occurred while 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 address configuration.
InternalError.CosSignUrl Backup file 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 database list.
InternalError.GetInstanceDetailFailed Failed to get the instance details.
InternalError.GetInstanceInfoFailed Failed to get the backend instance information.
InternalError.GetRightFailed Failed to get the current account permissions.
InternalError.GetSecurityGroupDetailFailed Failed to query security group details.
InternalError.GetSlowLogFailed Failed to get the error log.
InternalError.GetUserListFailed Failed to get the account list.
InternalError.GetUsgQuotaError Failed to query the security group quota of the user.
InternalError.GetVpcFailed Failed to query the VPC information.
InternalError.HDFSError Failed to read the backup file.
InternalError.InnerConfigurationMissing Missing internal configuration.
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 an instance.
InternalError.LogDBFailed Failed to get slow logs.
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 flow information was not found.
InvalidParameter.GenericParameterError An error occurred while verifying parameter validity.
InvalidParameter.IllegalParameterError Invalid parameters
InvalidParameter.IllegalTime Incorrect time parameter.
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.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.IllegalLogSaveDays The number of days for log retention after modification is either too high or too low.
InvalidParameterValue.IllegalRightParam Incorrect permission parameters
InvalidParameterValue.InstanceNameIllegal Invalid instance name.
InvalidParameterValue.ShardNotExist The shard does not exist.
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 deleted.
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.