Error Codes

Last updated: 2020-02-03 20:19:02

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
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.
LimitExceeded Quota limit exceeded.
MissingParameter A parameter is missing.
NoSuchVersion The API version does not exist.
RequestLimitExceeded The number of requests exceeds the frequency limit.
ResourceInUse Resource is in use.
ResourceInsufficient Insufficient resource.
ResourceNotFound The resource does not exist.
ResourceUnavailable Resource is unavailable.
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
AutoSnapshotPolicyOutOfQuota Number of scheduled snapshot policies has reached the limit.
InsufficientRefundQuota Number of returned cloud disks has reached the limit and no more cloud disks can be returned.
InsufficientSnapshotQuota Insufficient snapshot quota.
InternalError.ComponentError Dependent component request failed. Please contact customer service.
InternalError.FailQueryResource Resource query failed.
InternalError.ResourceOpFailed The operation performed on the resource failed. For error message, see the "Message" field in error description. Try again later or contact customer service.
InvalidAccount.InsufficientBalance Insufficient account balance
InvalidAutoSnapshotPolicyId.NotFound AutoSnapshotPolicyId entered does not exist.
InvalidDisk.AlreadyBound Cloud disk is already bound to scheduled snapshot policy.
InvalidDisk.Attached Cloud disk is already mounted.
InvalidDisk.Busy The cloud disk is busy. Try again later.
InvalidDisk.Expire The cloud disk has expired.
InvalidDisk.NotPortable Non-elastic cloud disk not supported.
InvalidDisk.NotSupportRefund Cloud disk return not supported.
InvalidDisk.NotSupportSnapshot The cloud disk does not have the snapshot capability.
InvalidDisk.NotSupported Indicates that the operation is not supported for the cloud disk.
InvalidDisk.RepeatRefund Cloud disk has already been returned and cannot be returned again.
InvalidDisk.SnapshotCreating A snapshot is being created for the cloud disk. Try again later.
InvalidDisk.TypeError Invalid cloud disk type.
InvalidDiskId.NotFound The ‘DiskId’ entered does not exist.
InvalidFilter The specified Filter is not supported.
InvalidInstance.NotSupported Cloud Virtual Machine does not support mounting cloud disk.
InvalidInstanceId.NotFound The ‘InstanceId’ entered does not exist.
InvalidParameter Invalid parameter
InvalidParameter.DiskConfigNotSupported Currently configured cloud disk not supported in current region.
InvalidParameter.DiskSizeNotMatch The size of the cloud disk does not match the snapshot size.
InvalidParameterValue Invalid parameter value. Parameter value format error or parameter value not supported.
InvalidParameterValue.BindDiskLimitExceeded Number of labels bound to cloud disk exceeds the limit.
InvalidParameterValue.LimitExceeded Number of parameter values exceeds the limit.
InvalidSnapshot.NotSupported Indicates that the operation is not supported for the snapshot.
InvalidSnapshotId.NotFound The ‘SnapshotId’ entered does not exist.
LimitExceeded.InstanceAttachedDisk Number of instances mounted to cloud disk exceeds the limit.
MissingParameter Missing parameter. Request does not include the required parameter.
ResourceBusy The resource is busy. Try again later.
ResourceInsufficient Insufficient Resources
ResourceInsufficient.OverQuota Quota insufficient.
ResourceUnavailable.TooManyCreatingSnapshot Too many snapshots created on entire network.
TradeDealConflict Order conflict.
UnauthorizedOperation Unauthorized operation
UnsupportedOperation.DiskEncrypt Disk is encrypted.
UnsupportedOperation.InstanceNotStopped Instance mounted on cloud disk not shut down.
UnsupportedOperation.SnapshotHasBindedImage A custom snapshot was created for this snapshot. First delete the corresponding image.
UnsupportedOperation.StateError The resource does not support this operation in this status.
ZoneNotMatch The cloud disk and the instance are not in the same availability zone.