Error Codes

Last updated: 2020-12-02 11:49:30

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
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.ModifyRightFailed Failed to modify account permissions.
FailedOperation.OssOperationFailed Failed to request the backend API.
FailedOperation.ResetPasswordFailed Failed to reset the account password.
InternalError.CamAuthFailed CAM authentication request failed.
InternalError.CosConfiguration Invalid COS address configuration.
InternalError.CosSignUrl Backup file signature failed.
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.GetSlowLogFailed Failed to get the error log.
InternalError.GetUserListFailed Failed to get the account list.
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.LogDBFailed Failed to get slow logs.
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.IllegalTime Incorrect time parameter.
InvalidParameter.InstanceNotFound Failed to find the requested instance.
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.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.
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.

Was this page helpful?

Was this page helpful?

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