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 |
|---|---|
| ResourceUnavailable | The resource is unavailable. |
| InternalError | Internal error. |
| LimitExceeded.AreaQuota | The maximum number of entries to be added in batches is exceeded. |
| FailedOperation.PrePayMode | Unable to disable the prepaid Pro edition. Please disable it in Billing Center. |
| MissingParameter | Missing parameter. |
| InvalidParameter.InvalidFormat | Incorrect parameter format. |
| FailedOperation | Operation failed. |
| FailedOperation.TooManyStrategy | The maximum number of baseline policies is exceeded. |
| FailedOperation.OpenProVersion | Failed to activate CWP Pro. |
| InternalError.MainDBFail | Failed to operate data. |
| FailedOperation.PartSeparate | Failed to isolate all or part of servers. |
| FailedOperation.NoProfessionHost | No servers with CWP Pro exist. |
| OperationDenied | Operation denied. |
| InvalidParameter.MissingParameter | Missing parameter. |
| InvalidParameter.DateRange | The time range format is incorrect. |
| InvalidParameter.PortNoValid | Invalid port format. |
| InvalidParameter.IllegalRequest | Invalid request. |
| FailedOperation.SingleSeparate | Failed to isolate a single server. |
| InvalidParameter.ParsingError | Parameter parsing error. |
| InvalidParameter | Invalid parameter. |
| FailedOperation.Export | Failed to export. |
| FailedOperation.LicenseExceeded | The number of available licenses is insufficient, and one more license is required. Please purchase a new license. |
| InvalidParameter.RuleHostDuplicateErr | Duplicate server for a rule API. |
| InvalidParameterValue.TagNameLengthLimit | The tag name cannot contain more than 15 characters. |
| ResourceNotFound | The resource does not exist. |
| UnknownParameter | Unknown parameter error. |
| InvalidParameter.ReverShellKeyFieldAllEmpty | The process name, target IP address, and target port cannot be left empty at the same time. |
| FailedOperation.RescanVul | Failed to scan for vulnerabilities again. |
| ResourceInUse | The resource is in use. |
| UnsupportedOperation | Unsupported operation. |
| LimitExceeded | The quota limit has been reached. |
| FailedOperation.CloseProVersion | Failed to deactivate CWP Pro. |
| ResourceInsufficient | Insufficient resource. |
| FailedOperation.AgentOffline | The agent is offline. |
| InvalidParameter.NameHasRepetition | The name already exists. |
| FailedOperation.ProtectStartFail | Failed to enable protection. |
| UnauthorizedOperation | Unauthorized operation. |
| FailedOperation.APIServerFail | Failed to call the API service. |
| InvalidParameter.IpNoValid | Invalid IP address format. |
| InvalidParameterValue | The parameter value is invalid. |
| ResourceNotFound.MachineNotFound | The specified server to scan does not exist. |
| AuthFailure.UnauthorizedOperation | The user failed authentication. |
| InvalidParameter.RegexRuleError | The format of the regular expression parameter is invalid. |
| InvalidParameter.RuleHostipErr | Incorrect server IP address for a rule API. |
| FailedOperation.MachineDelete | The server was uninstalled. |
| FailedOperation.Recover | Failed to recover the trojan. |
| AuthFailure | CAM signature or authentication error. |