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 |
|---|---|
| InvalidParameterValue | Invalid parameter value. The format of the parameter value is incorrect or the parameter value is not supported. |
| MissingParameter | Missing parameter. The request does not include the mandatory parameter. |
| InternalError.FailQueryResource | Failed to query the resource. |
| ResourceNotFound.NotFound | The resource does not exist. |
| ResourceBusy | The resource is busy. Try again later. |
| ResourceUnavailable.TypeError | Disk type error. |
| InvalidDisk.NotSupported | The cloud disk does not support this operation. |
| AutoSnapshotPolicyOutOfQuota | The number of regular snapshot policies has reached the upper limit. |
| InvalidDisk.NotSupportRefund | The cloud disk cannot be returned. |
| ResourceInsufficient.OverQuota | Insufficient quota |
| InvalidDisk.Busy | The cloud disk is busy. Try again later. |
| InvalidDisk.Expire | The cloud disk has expired. |
| InsufficientSnapshotQuota | The snapshot quota is insufficient. |
| InvalidParameterValue.LimitExceeded | The parameter value is out of range |
| InvalidAccount.InsufficientBalance | Insufficient account balance |
| InvalidSnapshot.NotSupported | The snapshot does not support this operation. |
| InvalidDisk.TypeError | Incorrect cloud disk type. |
| ResourceInUse.DiskMigrating | The cloud disk is migrating. |
| InvalidDisk.NotPortable | Non-elastic cloud disks are not supported. |
| 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. |
| InsufficientRefundQuota | The number of returned cloud disks has reached the upper limit and no more cloud disks can be returned. |
| ResourceUnavailable.SnapshotCreating | The snapshot is being created. |
| UnsupportedOperation.SnapshotGroupDiskAttachMultiInstance | The original disk of the snapshot in the snapshot group is not mounted to the same instance. |
| InvalidInstance.NotSupported | The Cloud Virtual Machine does not support mounting a cloud disk. |
| InvalidInstanceId.NotFound | The input InstanceId does not exist. |
| InvalidParameter.DiskSizeNotMatch | The cloud disk size does not match the snapshot size. |
| InvalidDisk.NotSupportSnapshot | The cloud disk does not have the snapshot capability. |
| InvalidDisk.SnapshotCreating | The cloud disk is creating a snapshot. Try again later. |
| InvalidFilter | The specified filter is not supported. |
| InvalidAutoSnapshotPolicyId.NotFound | The input AutoSnapshotPolicyId does not exist. |
| ResourceInsufficient | Insufficient resources |
| InvalidDisk.RepeatRefund | The cloud disk has been returned before and cannot be returned again. |
| ZoneNotMatch | The cloud disk and the instance are not in the same availability zone. |
| InternalError.ComponentError | Third-party Component Error |
| InvalidDisk.Attached | The cloud disk has been mounted. |
| InvalidSnapshotId.NotFound | The input SnapshotId 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. |
| UnsupportedOperation | Operation is not supported |
| InvalidParameter | Parameter error |
| UnsupportedOperation.SnapshotHasBindedImage | The snapshot is already associated with an image. |