Error Codes

Last updated: 2020-06-24 11:07:44

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 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.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 instance address configuration.
InternalError.CosSignUrl Backup filename 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 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.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.GetVpcFailed Failed to query the VPC information.
InternalError.InnerSystemError Internal system error.
InternalError.ListProjectFailed Failed to pull the project list.
InvalidParameter.CharacterError The password contains invalid characters.
InvalidParameter.GenericParameterError An error occurred while verifying parameter validity.
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.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 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.

Was this page helpful?

Was this page helpful?

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