
# 错误码
当您调用API时，如果遇到"APIGW"开头的错误码，请参见[API网关错误码](https://support.huaweicloud.com/devg-apisign/api-sign-errorcode.html)进行处理。
| 类型    | 状态码 | 错误码          | 错误信息                                                                                                        | 描述                                                      | 处理措施                                                                 |
|:---|:---|:---|:---|:---|:---|
| 访问方式  | 500 | CAE.01500101 | Remote creates access failed.                                                                               | 访问方式创建失败                                                | 需要联系技术支持工程师，检查报错具体内容。                                                |
| 访问方式  | 500 | CAE.01500102 | Remote updates access failed.                                                                               | 访问方式更新失败                                                | 需要联系技术支持工程师，检查报错具体内容。                                                |
| 访问方式  | 500 | CAE.01500103 | Remote deletes access failed.                                                                               | 访问方式删除失败                                                | 需要联系技术支持工程师，检查报错具体内容。                                                |
| 访问方式  | 500 | CAE.01500104 | Delete ip group failed.                                                                                     | 删除ip地址组失败                                               | 需要联系技术支持工程师，检查依赖服务是否正常。                                              |
| 访问方式  | 500 | CAE.01500107 | ELB service connect failed.                                                                                 | 访问ELB连接失败                                               | 需要联系技术支持工程师，检查依赖服务是否正常。                                              |
| 组件    | 500 | CAE.01500201 | Update component status failed.                                                                             | 更新组件状态失败                                                | 重试，组件状态展示正常。若有异常，联系技术支持工程师。                                          |
| 组件    | 500 | CAE.01500202 | Execute component action failed.                                                                            | 操作组件失败                                                  | 联系技术支持工程师，检查组件基本信息。                                                  |
| 组件    | 500 | CAE.01500203 | Get component config failed.                                                                                | 获取组件配置失败                                                | 联系技术支持工程师，一般为报文解析异常                                                  |
| 组件    | 500 | CAE.01500204 | Get component event failed.                                                                                 | 获取组件事件失败                                                | 联系技术支持工程师，检查依赖服务是否正常。                                                |
| 组件    | 400 | CAE.01500206 | The component name is invalid.                                                                              | 组件名称非法                                                  | 根据要求修改组件名称。                                                          |
| 组件    | 400 | CAE.01500205 | The input component name already exists in the application.                                                 | 当前应用存在同名组件                                              | 同一应用不能存在同名组件，根据要求修改组件名称。                                             |
| 组件    | 400 | CAE.01500211 | Data type of imported configuration variable is not string.                                                 | 下发组件配置类型非法                                              | 根据要求修改组件配置类型。                                                        |
| 组件    | 400 | CAE.01500208 | Component not exist.                                                                                        | 组件不存在                                                   | 确认操作组件是否正确，根据要求修改组件ID。                                               |
| 组件    | 400 | CAE.01500207 | Component instance is exist.                                                                                | 组件实例有残留                                                 | 删除组件实例失败，联系技术支持工程师。                                                  |
| 应用    | 400 | CAE.01500212 | There are components under application, delete operation is forbidden.                                      | 当前应用存在组件，禁止删除应用                                         | 需删除所有组件才能删除应用。                                                       |
| 应用    | 404 | CAE.01500213 | App not exist.                                                                                              | 应用不存在                                                   | 确认操作应用是否正确，联系技术支持工程师。                                                |
| 环境    | 400 | CAE.01500303 | Engine with basic not found.                                                                                | 环境基础信息未找到                                               | 联系技术支持工程师。                                                           |
| 环境    | 500 | CAE.01500301 | Engine status is unavailable.                                                                               | 环境状态不可用                                                 | 联系技术支持工程师。                                                           |
| 环境    | 400 | CAE.01500311 | Engine is already exist.                                                                                    | 环境已存在                                                   | 联系技术支持工程师。                                                           |
| 环境    | 500 | CAE.01500302 | Create engine failed.                                                                                       | 创建环境失败                                                  | 联系技术支持工程师。                                                           |
| 环境    | 500 | CAE.01500401 | Create environment failed.                                                                                  | 创建环境失败                                                  | 联系技术支持工程师。                                                           |
| 环境    | 500 | CAE.01500402 | Delete environment failed.                                                                                  | 删除环境失败                                                  | 联系技术支持工程师。                                                           |
| 环境    | 500 | CAE.01500403 | Env is deleting.                                                                                            | 环境正在被删除                                                 | 等待环境删除完成。                                                            |
| 环境    | 500 | CAE.01500404 | Environment not found.                                                                                      | 环境不存在                                                   | 查询环境是否存在。                                                            |
| 环境    | 400 | CAE.01500405 | The environment has unbound cloud storage resource.                                                         | 环境存在未绑定的云存储资源                                           | 联系技术支持工程师。                                                           |
| 环境    | 400 | CAE.01500406 | There are applications under environment, delete operation is forbidden.                                    | 环境下存在应用，不允许删除环境。                                        | 删除应用后再删除环境。                                                          |
| 环境    | 400 | CAE.01500407 | The environment cannot be deleted because the event notice rule still exists.                               | 环境存在事件通知规则。                                             | 删除事件通知规则后重试。                                                         |
| 环境    | 400 | CAE.01500408 | Environment cannot be deleted, as there are un-deleted network configurations in system settings.           | 环境下系统设置中存在系统网络配置，不允许删除环境。                               | 删除系统设置下的系统网络配置，再删除环境。                                                |
| 环境    | 400 | CAE.01500409 | VPC id is inconsistent with the vpc id of environment.                                                      | vpc ingress/egress配置的vpc id和环境选择的vpc id不一致。不允许创建系统网络配置。 | 在CAE概览界面查看环境所在VPC（虚拟私有云），选择一致的VPC再创建系统网络配置。                          |
| 环境    | 400 | CAE.01500410 | VPC ingress can not be deleted, as some components is using vpc access.                                     | 系统网络配置下的"VPC访问CAE环境"不允许删除，因为还有组件在使用。                    | 确认组件是否还需要继续使用，如果需要则不允许删除，如果不需要则在组件配置中删除后重试。                          |
| 环境    | 400 | CAE.01500411 | Current environment is too old, can not retry, you can delete the environment and create a new environment. | 创建环境时报错：当前环境版本过低，不允许重试。请删除环境后重新创建新环境。                   | 删除环境后重新创建。                                                           |
| 环境    | 500 | CAE.01500412 | Get embedded cidrs failed.                                                                                  | 创建"CAE环境访问VPC"配置，获取内置网段失败。                              | 联系技术支持工程师。                                                           |
| 环境    | 400 | CAE.01500413 | The environment cannot be deleted because it still has sub environments.                                    | 环境不能删除，因为还有其他子环境未删除。                                    | 删除子环境后再删除当前环境。                                                       |
| 任务    | 500 | CAE.01500501 | Retry job failed.                                                                                           | 重试任务失败                                                  | 查看任务状态，任务状态失败或者超时方可重试。                                               |
| 云存储   | 500 | CAE.01500601 | Creates volume failed.                                                                                      | 创建磁盘挂载失败                                                | 联系技术支持工程师。                                                           |
| 云存储   | 500 | CAE.01500602 | Deletes volume failed.                                                                                      | 删除磁盘挂载失败                                                | 联系技术支持工程师。                                                           |
| 云存储   | 400 | CAE.01500603 | Conflicts with another volume or log path under component.                                                  | 与同组件下云存储配置路径或日志采集路径冲突。                                  | 检查云存储配置路径或日志采集路径，修改冲突路径。                                             |
| 云存储   | 400 | CAE.01500604 | AK SK is invalid.                                                                                           | ak sk无效                                                 | 刷新页面重试。若仍然有异常，联系技术支持工程师。                                             |
| 配额    | 400 | CAE.01500712 | Quota is insufficient.                                                                                      | 配额不足                                                    | 联系技术支持工程师添加配额。                                                       |
| 配额    | 500 | CAE.01500701 | Increase used failed.                                                                                       | 配额使用量增加修改失败                                             | 联系技术支持工程师。                                                           |
| 配额    | 500 | CAE.01500702 | Decrease used failed.                                                                                       | 配额使用量减少修改失败                                             | 联系技术支持工程师。                                                           |
| 配额    | 500 | CAE.01500703 | Get quota failed.                                                                                           | 获取配额失败                                                  | 联系技术支持工程师。                                                           |
| 委托    | 500 | CAE.01500801 | Service domain error, get service token failed.                                                             | 获取服务token失败                                             | 联系技术支持工程师，检查服务依赖服务及配置项。                                              |
| 委托    | 500 | CAE.01500802 | Switch token error, check iam service status.                                                               | 转换token失败                                               | 重试，仍然失败则联系技术支持工程师，检查服务依赖服务及配置项。                                      |
| 委托    | 500 | CAE.01500803 | Grant agency roles error, check iam service status or iam strategy.                                         | 授权失败                                                    | 联系技术支持工程师，检查服务依赖服务及配置项。                                              |
| 委托    | 500 | CAE.01500804 | Create or update agency failed, check if iam is ok.                                                         | 创建或更新委托时失败                                              | 联系技术支持工程师，检查服务依赖服务IAM及相关配置项。                                         |
| 委托    | 401 | CAE.01500805 | Get token by agency failed, agency is not exist.                                                            | 项目里缺少委托或角色                                              | 联系技术支持工程师，检查IAM中委托及角色。                                               |
| 委托    | 401 | CAE.01500806 | Not a domain user, or no security administrator role.                                                       | 账号权限不足                                                  | 检查当前IAM账号权限。                                                         |
| 委托    | 403 | CAE.01500807 | Roles in the agency for cae not enough, please re-create cae agency.                                        | CAE的委托中缺少部分服务访问权限                                       | 检查CAE相关委托中是否包含所有服务访问权限，可通过删除委托重建解决。                                  |
| 资源租户  | 500 | CAE.01500901 | Get resource tenant token failed, check if iam is ok.                                                       | 获取资源租户token失败                                           | 联系技术支持工程师，检查服务依赖服务及配置项。                                              |
| 计费    | 500 | CAE.01501001 | List bills error,raw data fails to be aggregated or the charging process is abnormal.                       | 获取账单失败                                                  | 联系技术支持工程师。                                                           |
| 账号冻结  | 401 | CAE.01501101 | User is restricted, can not execute create operation.                                                       | 此账号因余额不足受限，请检查账号状态                                      | 账号充值后解冻。                                                             |
| 账号冻结  | 401 | CAE.01501102 | User is suspended, can not execute any operation, except view.                                              | 此账号被冻结，请检查账号状态                                          | 联系技术支持工程师。                                                           |
| 域名、证书 | 400 | CAE.01501201 | The domain has already existed.                                                                             | 域名配置冲突                                                  | 配置了重复的域名，检查该域名是否已经配置。                                                |
| 域名、证书 | 500 | CAE.01501203 | Delete zone failed, check dns service status or component config.                                           | 域名正在被组件使用，不能删除                                          | 检查已有组件，查看是否有组件正在使用该域名。                                               |
| 域名、证书 | 500 | CAE.01501205 | Create tls certificate failed in k8s.                                                                       | 证书创建失败                                                  | 联系技术支持工程师，检查服务依赖服务及配置项。                                              |
| 域名、证书 | 500 | CAE.01501206 | Update tls certificate failed in k8s.                                                                       | 证书更新失败                                                  | 联系技术支持工程师，检查服务依赖服务及配置项。                                              |
| 域名、证书 | 500 | CAE.01501207 | Delete tls certificate failed, check cluster status or component config.                                    | 证书删除失败                                                  | 联系技术支持工程师，检查服务依赖服务及配置项。                                              |
| 域名、证书 | 400 | CAE.01501208 | The certificate format is invalid or the certificate private key does not match.                            | 操作证书时请求体错误                                              | 检查操作证书的请求体是否与api规则内容一致                                               |
| 资源    | 404 | CAE.01501301 | Resource not exist.                                                                                         | 请求的资源不存在                                                | 确认该资源是否仍然存在                                                          |
| 资源    | 400 | CAE.01501302 | Resource already exist.                                                                                     | 资源已存在。                                                  | 确认是否已创建过同一资源。                                                        |
| 资源    | 400 | CAE.01500006 | Resource already exists.                                                                                    | 资源已存在。                                                  | 确认是否已创建过同一资源。该错误码只在调用创建监控系统配置接口时返回。                                  |
| 配置    | 400 | CAE.01501401 | The component access configuration parameter is not valid, please check your parameter.                     | 访问方式配置有错误，可能的原因有 端口数字超过限制、端口冲突                          | 修改端口至\[1,65535\]范围，且检查可能涉及的配置（cae的组件占用的端口、所使用的独享型elb的监听器），保证端口占用不冲突。 |
| 配置    | 400 | CAE.01501404 | The path of access configuration is invalid.                                                                | 不符合url的正则规则                                             | 应在访问方式配置项里填写符合url正则规则的路径。                                            |
| 配置    | 400 | CAE.01501402 | The input port will result in port conflict.                                                                | 所选elb的端口已被占用                                            | 使用其他端口，如果使用的是独享型ELB，可检查该端口对应监听器使用情况，删除该监听器后，组件即可正常使用该端口。             |
| 配置    | 400 | CAE.01501403 | The port of ingress rule conflicts.                                                                         | 七层访问方式策略冲突                                              | 修改域名、端口、elb、url中的任意一项，使【域名+监听端口+elb+url】不完全相同。                       |
| 配置    | 400 | CAE.01501405 | There is no monitor system config under environment, please create first.                                   | 创建性能管理配置，未配置系统设置-监控系统。                                  | 先配置在系统设置-监控系统配置监控系统，再创建组件性能管理配置。                                     |
| 权限    | 403 | CAE.01501700 | Not authorized for create.                                                                                  | 缺少权限                                                    | 添加对应权限，联系技术支持工程师。                                                    |
| 权限    | 403 | CAE.01501701 | Not real name authorized.                                                                                   | 认证失败                                                    | 联系技术支持工程师。                                                           |
| 参数    | 400 | CAE.01501800 | The project in request url and the user token is not matched.                                               | url中project id与当前用户token不匹配                             | 检查url中project id或当前token是否正确。                                        |
| 参数    | 400 | CAE.01501801 | The input time should be at least 2 mins later than now and within one year.                                | 输入的时间应至少比现在晚2分钟，且在一年内。                                  | 请将输入时间修改为至少比现在晚2分钟，且在一年内。                                            |
| 参数    | 400 | CAE.01501802 | Timer rule conflicts with scaling rule.                                                                     | 启停规则与生效范围内组件弹性伸缩策略冲突。                                   | 解决同一组件启停规则与弹性伸缩策略冲突，关闭其中一个。                                          |
| 参数    | 400 | CAE.01501803 | Scaling rule conflicts with timer rule.                                                                     | 组件弹性策略与作用于该组件的启停策略冲突。                                   | 解决同一组件启停规则与弹性伸缩策略冲突，关闭其中一个。                                          |
| 参数    | 400 | CAE.01501804 | Scaling rule unique param duplicate.                                                                        | 伸缩策略中时间配置冲突                                             | 检查伸缩策略中配置的时间策略。                                                      |
| 参数    | 400 | CAE.01501805 | VPC cidr conflict with embedded cidrs.                                                                      | vpc网段与CAE环境内置网段冲突                                       | 联系技术支持工程师。                                                           |
| 参数    | 400 | CAE.01501806 | Monitor system agent version is invalid.                                                                    | 监控系统探针版本无效                                              | 填写有效的监控系统探针版本。                                                       |
| 参数    | 400 | CAE.01500108 | Cannot modify health check protocol, please switch off first.                                               | 修改访问方式-健康检查协议失败                                         | 先关闭访问方式-健康检查后配置需切换的健康检查协议。                                           |
| 事件通知  | 400 | CAE.01501901 | The maximum number of noticeRules is 50.                                                                    | 事件通知规则上限50条                                             | 联系技术支持工程师。                                                           |
| 事件通知  | 403 | CAE.01501902 | Your account does not have the SMN permission.                                                              | 账号无SMN权限                                                | 联系账号管理员配置权限。                                                         |
| DEW凭据 | 400 | CAE.01502000 | The maximum number of DEW secrets is 20.                                                                    | DEW凭据上线20条                                              | 联系技术支持工程师。                                                           |
| DEW凭据 | 400 | CAE.01502001 | There are components using the secret.                                                                      | 有组件正在使用此凭据                                              | 请取消组件的相应的配置后重试。                                                      |
| DEW凭据 | 403 | CAE.01502002 | You do not have permissions to get secret info, please check your current agency roles.                     | 当前没有权限获取DEW凭据信息，请检查您当前账号下的权限                            | 请增加DEW服务相应权限后再次重试。                                                   |
| 集群    | 500 | CAE.01502101 | The cluster cannot be operated in the current state.                                                        | CAE底层集群无法操作                                             | 联系技术支持工程师。                                                           |
   
