Error Codes

Last updated: 2021-03-18 10:49:17

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.CosPropertiesError Errors occurred while acquiring uploaded configuration information.
FailedOperation.CreateOrderFailed Failed to create order.
FailedOperation.GetVpcFailed Failed to get VPC information.
FailedOperation.MigrationLockError Locking the backup import task failed.
FailedOperation.QueryOrderFailed Failed to query order.
FailedOperation.QueryPriceFailed Billing error. Failed to query price.
InternalError.CamAuthFailed CAM authentication request failed.
InternalError.CosError COS API error.
InternalError.CreateFlowFailed Failed to create flow.
InternalError.DBConnectError Database connection error.
InternalError.DBError Database error
InternalError.GcsError GCS API error.
InternalError.StsError Errors occurred while acquiring temporary keys.
InternalError.SystemError System error.
InternalError.UnknownError Unknown error.
InternalError.VPCError VPC error
InvalidParameter.InputIllegal Input error.
InvalidParameter.InterfaceNameNotFound The API does not exist.
InvalidParameter.ParamsAssertFailed An error occurred while converting parameter assertion.
InvalidParameter.PayOrderFailed Failed to make order payment.
InvalidParameterValue.AccountExist Account already exists.
InvalidParameterValue.AccountNameIsIllegal The account name is invalid.
InvalidParameterValue.AccountNameIsKeyWords The account name includes restricted contents.
InvalidParameterValue.AccountRemarkIsIllegal The account remarks are invalid.
InvalidParameterValue.BackupNameIsIllegal The backup name contains invalid characters.
InvalidParameterValue.BadGoodsNum Invalid number of purchased instances.
InvalidParameterValue.CharsetIsIllegal The database character set is incorrectly set.
InvalidParameterValue.CosPathError Wrong upload path.
InvalidParameterValue.CostTypeNotSupported Billing type error.
InvalidParameterValue.DBCharIllegal The database name contains invalid characters.
InvalidParameterValue.DBExist The database already exists.
InvalidParameterValue.DBNameIsKeyWrods The database name cannot contain reserved words.
InvalidParameterValue.DBNameSame The new database name is the same as the old one.
InvalidParameterValue.DataBaseRemarkIsIllegal The database remarks are invalid.
InvalidParameterValue.GrantIsIllegal Invalid parameter. The value of GRANT is invalid.
InvalidParameterValue.IllegalRegion Invalid region.
InvalidParameterValue.IllegalSpec Incorrect instance specification information.
InvalidParameterValue.IllegalZone Incorrect AZ ID.
InvalidParameterValue.InstanceExpandVolumeLow The expansion capacity of the instance is lower than the current capacity.
InvalidParameterValue.InstanceNameIsIllegal The instance name contains invalid characters.
InvalidParameterValue.MigrationNameIsIllegal The migration name contains invalid characters.
InvalidParameterValue.ParameterTypeError Incorrect parameter type.
InvalidParameterValue.PasswordIsIllegal The account and password are invalid.
InvalidParameterValue.PrivilegeIsIllegal Incorrect database permission settings.
InvalidParameterValue.SecurityGroupIdIsIllegal Invalid security group ID.
LimitExceeded.TooManyDB The database limit is exceeded.
ResourceInUse.IncrementalMigrationExist An incremental backup import task to be started already exists.
ResourceNotFound.AccountNotExist The account does not exist.
ResourceNotFound.BackupNotFound The backup does not exist.
ResourceNotFound.DBNotExit The database does not exist.
ResourceNotFound.DBNotFound The database does not exist.
ResourceNotFound.FullBackupMigrationNotExist The full backup import task does not exist.
ResourceNotFound.IncreBackupMigrationNotExist The incremental backup import task does not exist.
ResourceNotFound.InstanceNotFound The instance does not exist.
ResourceNotFound.VpcNotExist The VPC does not exist.
ResourceUnavailable.AccountInvalidStatus Invalid account status.
ResourceUnavailable.BackupMigrationRecoveryTypeErr The restoration type does not support incremental backup import.
ResourceUnavailable.CosStatusErr A wrong status of offline restoration tasks.
ResourceUnavailable.DBInvalidStatus Invalid database status.
ResourceUnavailable.InstanceMigrateRegionIllegal Invalid instance migration region.
ResourceUnavailable.InstanceMigrateStatusInvalid Invalid instance migration status.
ResourceUnavailable.InstanceStatusInvalid Invalid instance status.
ResourceUnavailable.VpcNotExist VPC not found.
UnauthorizedOperation.PermissionDenied CAM authentication error.
UnsupportedOperation.UploadTypeError A wrong upload type.

Was this page helpful?