
# CNAD错误码
更多服务错误码请参见[API错误中心](https://apierrorcenter.developer.huaweicloud.com/apierrorcenter)。
| 状态码 | 错误码                 | 错误信息                                                                                                                 | 描述                                                  | 处理措施        |
|:---|:---|:---|:---|:---|
| 400 | CNAD.00001000       | Invalid IP Address.                                                                                                  | IP地址不合法。                                            | 检查参数        |
| 400 | CNAD.00001001       | Invalid SMN Topic.                                                                                                   | 告警通知主题不合法。                                          | 检查参数        |
| 400 | CNAD.00001002       | Package Name Already Exists.                                                                                         | 防护包名已存在。                                            | 检查参数        |
| 400 | CNAD.00001003       | IP: {0} is in another package.                                                                                       | IP: {0} 已经在其他防护包里。                                  | 检查参数        |
| 400 | CNAD.00001004       | IP: {0} has policy associated.                                                                                       | IP: {0} 已经绑定了其他策略。                                  | 检查参数        |
| 400 | CNAD.00001005       | Policy Name Already Exists.                                                                                          | 策略名重复。                                              | 检查参数        |
| 400 | CNAD.00001006       | Duplicate IP.                                                                                                        | IP重复。                                               | 检查参数        |
| 400 | CNAD.00001007       | Duplicate CleanThreshold.                                                                                            | 清洗阈值档位重复。                                           | 检查参数        |
| 400 | CNAD.00001008       | Request Illegal.                                                                                                     | 请求非法。                                               | 检查参数        |
| 400 | CNAD.00001009       | The IPs in list don't belong to the same region or aren't multicast IPs                                              | ip列表不属于同一region或者不是代播ip                             | 检查参数        |
| 400 | CNAD.00004000       | Resource is Being Used.                                                                                              | 资源正在被使用。                                            | 稍后重试        |
| 400 | CNAD.00004001       | IP is Being Used.                                                                                                    | 防护IP正在被使用。                                          | 检查参数        |
| 400 | CNAD.00004003       | Application Has Existed.                                                                                             | 您提交的申请已存在。                                          | 无需处理        |
| 400 | CNAD.00004004       | Application is Being Approved.                                                                                       | 您之前提交的申请正在审批中，请稍后再试！                                | 无需处理        |
| 400 | CNAD.00004005       | Application Denied.                                                                                                  | 您提交的申请已被驳回！                                         | 联系管理员       |
| 400 | CNAD.00004006       | Application Approved.                                                                                                | 您提交的申请已通过，请勿重复提交！                                   | 无需处理        |
| 400 | CNAD.00005000       | Package Unavailable.                                                                                                 | 防护包不可用。                                             | 检查参数        |
| 400 | CNAD.00005001       | Quota Not Enough.                                                                                                    | 配额不足。                                               | 联系管理员       |
| 400 | CNAD.00005004       | The remaining traffic cleaning threshold of the instance is {0} Mbps.                                                | 该实例增加流量清洗阈值剩余额度为：{0}Mbps                            | 无需处理        |
| 400 | CNAD.00005006       | Resource Not Purchased.                                                                                              | 未订购CNAD服务。                                          | 订购CNAD服务    |
| 400 | CNAD.00005007       | Cannot create policy.                                                                                                | 不能创建策略                                              | 检查参数        |
| 401 | CNAD.00002000       | User Role Not Permitted.                                                                                             | 没有权限，拒绝访问。                                          | 申请权限        |
| 403 | CNAD.00005002       | 5 change times has reached the maximum in a month.                                                                   | 1个月内可设置防护对象的次数（5次）已满。                               | 等待次数刷新      |
| 403 | CNAD.00005003       | 1 change times has reached the maximum in a day.                                                                     | 1天内可设置防护对象的次数（1次）已满。                                | 等待次数刷新      |
| 403 | CNAD.00005005       | Instances of the non-VIC edition cannot be manually deleted.                                                         | 不支持手动删除非大客户版实例。                                     | 检查参数        |
| 404 | CNAD.00003000       | Resource Not Found.                                                                                                  | 资源不存在。                                              | 检查参数        |
| 404 | CNAD.00003001       | Package Not Found.                                                                                                   | 防护包不存在。                                             | 检查参数        |
| 404 | CNAD.00003002       | Policy Not Found.                                                                                                    | 策略不存在。                                              | 检查参数        |
| 404 | CNAD.00003003       | IP Not Found.                                                                                                        | 防护IP不存在。                                            | 检查参数        |
| 404 | CNAD.00003004       | IP Not in Package.                                                                                                   | 防护IP不属于该防护包。                                        | 检查参数        |
| 404 | CNAD.00003005       | Policy Not in Package.                                                                                               | 防护策略不属于该防护包。                                        | 检查参数        |
| 404 | CNAD.00003006       | Application Not Found.                                                                                               | 申请不存在。                                              | 检查参数        |
| 404 | CNAD.00003007       | Tenant Not Found.                                                                                                    | 租户不存在。                                              | 检查参数        |
| 404 | CNAD.00003008       | Clean Policy Not Found.                                                                                              | 清洗策略不存在。                                            | 检查参数        |
| 500 | CNAD.00000001       | Dependent Service Error.                                                                                             | 依赖的其他服务错误。                                          | 联系管理员       |
| 400 | TRAFFICHUB.10000400 | Param invalid                                                                                                        | 参数无效                                                | 检查参数        |
| 400 | TRAFFICHUB.10060001 | Insufficient unblocking quota, The current unblocking quota is 0                                                     | 解封配额不足,今日解封配额已用完或本月剩余解封配额为0                         | 等待配额刷新      |
| 400 | TRAFFICHUB.10060002 | Unblocking is not allowed because the tenant risk is too high                                                        | 不允许解封,因为租户风险等级过高                                    | 联系管理员       |
| 400 | TRAFFICHUB.10060003 | Unblocking is not allowed because the tenant level is insufficient                                                   | 不允许解封,因为租户等级过低                                      | 联系管理员       |
| 400 | TRAFFICHUB.10060005 | Unblocking is not allowed because unblock the ip address need to exceed the interval time, see the unblocking policy | IP {0} 不允许解封,可手动点击解封的时间为 {1} 之后,解封间隔计算方法详见上方的自助解封策略 | 稍后重试        |
| 400 | TRAFFICHUB.10060006 | Unblocking is not allowed because unblock the ip address firstly need to exceed the interval time                    | 不允许解封，因为解封ip地址需要超过间隔时间                              | 稍后重试        |
| 400 | TRAFFICHUB.10060007 | Unblocking is not allowed because blocking ip address list is empty                                                  | 不允许解封, 因为封堵ip列表为空                                   | 刷新重试或者联系管理员 |
| 400 | TRAFFICHUB.10060008 | Unblocking is not allowed because ip address is not blocked                                                          | 不允许解封,因为IP {0} 未被封堵                                 | 刷新重试或者联系管理员 |
| 401 | TRAFFICHUB.10010001 | Auth failed                                                                                                          | 身份验证失败                                              | 申请权限        |
| 404 | TRAFFICHUB.10060004 | Tenant config is not found                                                                                           | 未找到租户配置                                             | 检查参数        |
   
