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 codes | Description |
|---|---|
| AuthFailure.InvalidSecretId | Invalid key (not a Cloud 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 does not have CAM authorization. |
| 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 | HTTPS request method error. Only GET and POST requests are supported. |
| UnsupportedRegion | API does not support the requested region. |
Service Error Codes
| Error codes | Description |
|---|---|
| TradeDealConflict | Order conflict. |
| InternalError.ResourceOpFailed | The operation on the resource failed. For specific error information, view the Message field in the error description. Try again later or contact customer service for help. |
| ResourceInsufficient.OverQuota | Insufficient quota |
| UnsupportedOperation.SnapshotGroupDiskAttachMultiInstance | The original disk of the snapshot in the snapshot group is not mounted to the same instance. |
| InsufficientRefundQuota | The number of returned cloud disks has reached the upper limit and no more cloud disks can be returned. |
| InvalidParameterValue.LimitExceeded | The parameter value is out of range |
| InternalError.FailQueryResource | Failed to query the resource. |
| ResourceNotFound.NotFound | The resource does not exist. |
| InvalidParameter.DiskSizeNotMatch | The cloud disk size does not match the snapshot size. |
| InvalidFilter | The specified filter is not supported. |
| InvalidAccount.InsufficientBalance | Insufficient account balance |
| InvalidDisk.Busy | The cloud disk is busy. Try again later. |
| InvalidParameter | Parameter error |
| InvalidInstanceId.NotFound | The input InstanceId does not exist. |
| InvalidDiskId.NotFound | The input DiskId does not exist. |
| InvalidParameter.DiskConfigNotSupported | The current region does not support the cloud disk of the current configuration. |
| InvalidParameterValue | Invalid parameter value. The format of the parameter value is incorrect or the parameter value is not supported. |
| ResourceInUse.DiskMigrating | The cloud disk is migrating. |
| InternalError.ComponentError | Third-party Component Error |
| InvalidSnapshot.NotSupported | The snapshot does not support this operation. |
| InvalidInstance.NotSupported | The Cloud Virtual Machine does not support mounting a cloud disk. |
| ResourceInsufficient | Insufficient resources |
| InvalidDisk.Attached | The cloud disk has been mounted. |
| InvalidDisk.TypeError | Incorrect cloud disk type. |
| InvalidDisk.NotSupportRefund | The cloud disk cannot be returned. |
| InvalidSnapshotId.NotFound | The input SnapshotId does not exist. |
| ResourceUnavailable.SnapshotCreating | The snapshot is being created. |
| InvalidDisk.RepeatRefund | The cloud disk has been returned before and cannot be returned again. |
| InvalidDisk.NotSupportSnapshot | The cloud disk does not have the snapshot capability. |
| InvalidDisk.Expire | The cloud disk has expired. |
| ZoneNotMatch | The cloud disk and the instance are not in the same availability zone. |
| UnsupportedOperation | Operation is not supported |
| MissingParameter | Missing parameter. The request does not include the mandatory parameter. |
| UnsupportedOperation.SnapshotHasBindedImage | The snapshot is already associated with an image. |
| InvalidDisk.NotPortable | Non-elastic cloud disks are not supported. |
| ResourceUnavailable.TypeError | Disk type error. |
| ResourceBusy | The resource is busy. Try again later. |
| InvalidAutoSnapshotPolicyId.NotFound | The input AutoSnapshotPolicyId does not exist. |
| AutoSnapshotPolicyOutOfQuota | The number of regular snapshot policies has reached the upper limit. |
| InvalidDisk.SnapshotCreating | The cloud disk is creating a snapshot. Try again later. |
| InvalidDisk.NotSupported | The cloud disk does not support this operation. |
| InsufficientSnapshotQuota | The snapshot quota is insufficient. |