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