The following table lists the error codes that the Anti-DDoS Pro or Anti-DDoS Premium API operations can return.

Error code Description
DomainNotExist The error message returned because the specified domain name does not exist.
DomainExist The error message returned because the specified domain name belongs to another user.
WebRulePortDeny The error message returned because the port has been used in forwarding rules for website services.
InvalidParameter.JSONError The error message returned because the JSON format is incorrect.
ExceedFuncSpec The error message returned because the function plan cannot meet your requirements.
ExceedNoStardardPort The error message returned because the port is an invalid non-standard port.
InvalidWebRule The error message returned because the forwarding rule for a website is invalid.
NetworkRuleExist The error message returned because a forwarding rule has been configured for the port.
NetworkRuleConflict The error message returned because the port forwarding rules conflict.
ExceedWebRuleLimit The error message returned because the maximum number of protected domain names has been reached.
ExceedNetworkRuleLimit The error message returned because the maximum number of protected ports has been reached.
InvalidDomain The error message returned because the domain name is invalid.
UnBlackholeLimit The error message returned because the quota that you can deactivate the black hole state has been reached.
InvalidIp The error message returned because the specified IP address or CIDR block is invalid.
DomainOwnerError The error message returned because the specified domain name belongs to another user.
InvalidParams The error message returned because you are not authorized.
SchedulerNameConflict The error message returned because the traffic scheduling rules conflict.
CcRuleExist The error message returned because the frequency control rule already exists.
CDNDomainExist The error message returned because the CDN domain name already exists.
IpBlackholing The error message returned because the IP address is in the black hole.
InvalidSwitch The error message returned because the status switch of the last scheduling rule on the default line is disallowed.
ParamsConflict The error message returned because a conflict has occurred among parameters, such as the record type, record value, line, and region ID.
UnkownError The error message returned because an unknown error has occurred.
InstanceNotExist The error message returned because the instance does not exist.