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 |
|---|---|
| UnknownParameter. | Unknown parameter. |
| InvalidParameterValue.RecordNotExist | This record does not exist. |
| FailedOperation.DeleteRecordFailed | Failed to delete the record. |
| FailedOperation.DeleteDomainFailed | Failed to delete the domain name. |
| InvalidParameterValue.RecordConflict | Record conflict. |
| InvalidParameterValue.IllegalWeightValue | The weight value must be a number from 1 to 100. |
| InvalidParameterValue.DomainNotExist | The domain name does not exist. |
| InvalidParameterValue.VpcBinded | The VPC has bound to other resolution domains. |
| ResourceInUse. | The resource is in use. |
| FailedOperation.ModifyDomainFailed | Failed to modify the domain name. |
| InvalidParameterValue.RecordMXCountExceed | The number of MX records for CLB exceeds 50. |
| InvalidParameter.IllegalCidr | Invalid CIDR block. |
| InvalidParameterValue.BackupRecordOverLimit | The number of backup records of this tenant exceeds the limit. |
| InvalidParameter. | Parameter error. |
| InvalidParameterValue.RecordUnsupportWeight | The current record type does not support the weight. |
| InvalidParameter.IllegalDomain | Incorrect domain name. |
| InvalidParameter.IllegalDomainTld | Top-level domain name. |
| InvalidParameter.IllegalPTRRecord | Invalid PTR record. |
| InvalidParameterValue.RecordExist | Record already exists. |
| InvalidParameter.IllegalSubnet | Invalid subnet. |
| InvalidParameter.IllegalRecordValue | Invalid record value. |
| InvalidParameterValue.RecordAAAACountExceed | The number of AAAA records for CLB exceeds 50. |
| InternalError. | Internal Error |
| InvalidParameter.InvalidZoneFileFormat | The file type is not supported. |
| InvalidParameterValue.BackupRecordExceed | Setting more than three alternative DNS IP addresses is not supported. |
| InvalidParameterValue.BackupRecordNotSupport | The current data does not support backup records. |
| FailedOperation.CreateRecordFailed | Failed to create the record. |
| InvalidParameterValue.IllegalTXTValue | After Punycode encoding, the length of the txt format record value must be between 1 and 255. |
| InvalidParameterValue. | Parameter value error. |
| InvalidParameterValue.CnameNotPrivateZone | You can only use CNAMEs to point to the private domains under the current account. |
| InvalidParameterValue.InvalidZoneFileSize | The file size exceeds the limit. |
| InvalidParameterValue.RecordACountExceed | The number of A records for CLB exceeds 50. |
| InvalidParameter.WeightNotSupported | The current record does not support weight settings. |
| FailedOperation.UpdateRecordFailed | Failed to update the record. |
| InvalidParameter.ImportedFileExpired | The file is expired |
| InternalError.FetchCOSFileError | Pulling the COS file failed. |
| InvalidParameterValue.RecordTXTCountExceed | The number of TXT records for CLB exceeds 10. |
| InvalidParameter.RecordLevelExceed | The level recorded exceeds the limit. |
| InternalError.UndefiendError | Undefined error. |
| InvalidParameter.IllegalRecord | Invalid records. |
| InvalidParameter.IllegalVpcInfo | Invalid VPC. |
| InvalidParameterValue.ForwardRuleOverLimit | Number of forwarding rules exceeds the limit of 200. |