ErrorCode

Last Updated At: 2026-08-02 00:05:06

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