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 |
|---|---|
| DryRunOperation | DryRun operation, which means the DryRun parameter is passed in yet the request will still be successful. |
| InvalidParameter.InvalidParameterParam | Invalid parameter. |
| FailedOperation.DbQueryFailed | Failed to query the database. |
| FailedOperation.DbRecordCreateFailed | Failed to create the database record. |
| FailedOperation.DruidTableNotFound | The druid table does not exist. |
| UnknownParameter | Unknown parameter error. |
| FailedOperation.DataTableNotFound | The data table doesn't exist. |
| ResourcesSoldOut | The resources have been sold out. |
| FailedOperation.DruidColumnNotFound | The druid table field does not exist. |
| ResourceInsufficient | Insufficient resource. |
| InvalidParameterValue.InvalDashboardNameExists | The dashboard name already exists. |
| ResourceNotFound | The resource does not exist. |
| FailedOperation.DbRecordDeleteFailed | Failed to delete the database record. |
| FailedOperation.DimQueryRequestFailed | Failed to query the service in the request dimension. |
| FailedOperation.AlertPolicyModifyFailed | Failed to modify the alarm policy. |
| FailedOperation.DataQueryFailed | Failed to query the data. |
| InvalidParameterValue.VersionMismatch | Inconsistent versions. |
| UnsupportedOperation | Unsupported operation. |
| FailedOperation.AlertPolicyCreateFailed | Failed to create the alarm policy. |
| FailedOperation.DivisionByZero | The dividend is zero. |
| FailedOperation.AlertPolicyDescribeFailed | Failed to query the alarm policy. |
| UnauthorizedOperation | Unauthorized operation. |
| FailedOperation.DruidQueryFailed | Failed to query analysis data. |
| InternalError.ExeTimeout | Execution timed out. |
| FailedOperation.DbRecordUpdateFailed | Failed to update the database record. |
| FailedOperation.DuplicateName | The name already exists. |
| FailedOperation.DbTransactionBeginFailed | Failed to start the database transaction. |
| FailedOperation.DataColumnNotFound | The data table field doesn't exist. |
| ResourceInUse | The resource is in use. |
| FailedOperation.ServiceNotEnabled | The service is not enabled and can be used only after being enabled. |
| InternalError | Internal error. |
| LimitExceeded | The quota limit has been reached. |
| FailedOperation.AlertTriggerRuleDeleteFailed | Failed to delete the trigger condition. |
| MissingParameter | Missing parameter. |
| FailedOperation.AlertFilterRuleDeleteFailed | Failed to delete the filter rule. |
| ResourceUnavailable | The resource is unavailable. |
| FailedOperation.AlertPolicyDeleteFailed | Failed to delete the alarm policy. |
| LimitExceeded.MetricQuotaExceeded | Quota limit on metrics is reached. Requests containing unregistered metrics are prohibited. |
| InvalidParameterValue | Invalid parameter value. |
| FailedOperation.DbTransactionCommitFailed | Failed to submit the database transaction. |
| InvalidParameter.InvalidParameter | Invalid parameter. |
| FailedOperation | Operation failed. |
| AuthFailure.UnauthorizedOperation | The request is not authorized. Please refer to the CAM documentation for the description of authentication. |
| InvalidParameter | Invalid parameter. |