
# 错误码
当您调用API时，如果遇到"APIGW"开头的错误码，请参见[API网关错误码](https://support.huaweicloud.com/devg-apisign/api-sign-errorcode.html)进行处理。
更多服务错误码请参见[API错误中心](https://apierrorcenter.developer.huaweicloud.com/apierrorcenter)。
| 状态码 | 错误码              | 错误信息                                                                                                          | 描述                                   | 处理措施                         |
|:---|:---|:---|:---|:---|
| 400 | IoTEdge.00000005 | The request parameter is invalid.                                                                             | 请求参数不合法。                             | 请排查请求参数是否符合华为云文档要求。          |
| 400 | IoTEdge.00000006 | The request format is invalid.                                                                                | 请求格式不合法。                             | 请排查该请求的请求格式是否正确。             |
| 400 | IoTEdge.00000012 | Failed to invoke the third-party system. error_code=%s,error_msg=%s                                           | 请确认http请求参数，方法是否正确。                  | 请确认http请求参数，方法是否正确。          |
| 400 | IoTEdge.02100026 | resource is not exist.                                                                                        | 资源不存在。                               | 请购买资源后重试。                    |
| 400 | IoTEdge.02100029 | resource status is freeze.                                                                                    | 资源已冻结。                               | 请解除资源冻结后重试。                  |
| 400 | IoTEdge.02100201 | The edge module does not existed.                                                                             | 边缘模块不存在。                             | 请排查请求中的参数是否携带正确。             |
| 400 | IoTEdge.02100205 | The module has already been binded.                                                                           | 该边缘节点已绑定。                            | 请排查请求中的参数是否携带正确。             |
| 400 | IoTEdge.02100210 | The app has been installed.                                                                                   | 该应用已安装。                              | 请排查请求是否正确。                   |
| 400 | IoTEdge.02100211 | The app does not support this node's architecture.                                                            | 该应用不支持此边缘节点的架构。                      | 请选择与边缘节点架构相匹配的应用进行重试。        |
| 400 | IoTEdge.02100217 | Deployment types do not match.                                                                                | 部署类型不匹配。                             | 请选择与原应用部署类型相同的版本后再尝试。        |
| 400 | IoTEdge.02100301 | The edge node has already existed.                                                                            | 边缘节点已存在。                             | 请尝试更换其他名称进行重试。               |
| 400 | IoTEdge.02100303 | Failed to create edge node from IEF.                                                                          | 通过IEF创建边缘节点失败。                       | 请联系IEF云服务工程师分析解决。            |
| 400 | IoTEdge.02100304 | The edge node contains sub devices.                                                                           | 边缘节点包含子设备。                           | 请删除该边缘节点的子设备后进行重试。           |
| 400 | IoTEdge.02100307 | Failed to delete edge node from IEF.                                                                          | 通过IEF删除边缘节点失败。                       | 请联系IEF云服务工程师分析解决。            |
| 400 | IoTEdge.02100308 | The current number of edge nodes reaches the upper limit.                                                     | IEF当前部署的边缘节点数量达到上限。                  | 请删除无用的节点后进行重试。               |
| 400 | IoTEdge.02100316 | The resource package has been used.                                                                           | 该资源包已被使用。                            | 请尝试更换其他资源包进行重试。              |
| 400 | IoTEdge.02100318 | The resource package of this type has already existed.                                                        | 该类型的资源包已存在。                          | 请尝试其他类型的资源包。                 |
| 400 | IoTEdge.02100319 | The edge node does not running.                                                                               | 该边缘节点尚未运行。                           | 请安装边缘节点后重试。                  |
| 400 | IoTEdge.02100321 | The agent or hub version is incompatible with the daemon.                                                     | agent或hub的版本与daemon不兼容。              | 请先升级agent和hub后再尝试。           |
| 400 | IoTEdge.02100601 | The app has already existed.                                                                                  | 应用已存在。                               | 请尝试更换其他名称进行重试。               |
| 400 | IoTEdge.02100603 | The app contains software package version.                                                                    | 该应用下面存在应用软件包版本。                      | 请删除所有该应用的应用软件包版本后重试。         |
| 400 | IoTEdge.02100608 | The app does not existed.                                                                                     | 应用不存在。                               | 请排查请求中的参数是否携带正确。             |
| 400 | IoTEdge.02100609 | The app software package version has already existed.                                                         | 应用软件包版本已存在。                          | 请尝试更换其他名称进行重试。               |
| 400 | IoTEdge.02101311 | The arch does not support.                                                                                    | 架构不支持。                               | 请排查架构类型是否与文档中的保持一致。          |
| 400 | IoTEdge.02101312 | The edge node deploy type does not support.                                                                   | 边缘节点部署类型不支持。                         | 请排查节点部署类型是否与文档中的保持一致。        |
| 400 | IoTEdge.02101502 | The device protocol does not match.                                                                           | 设备协议不匹配。                             | 请排查请求参数是否符合华为云文档要求。          |
| 400 | IoTEdge.02101507 | The number of sub devices reaches the upper limit.                                                            | 子设备数量达到上限。                           | 请删除多余的子设备后进行重试。              |
| 400 | IoTEdge.02101509 | The device config service is null or empty.                                                                   | 设备配置服务为空。                            | 请排查请求中的参数是否携带正确。             |
| 400 | IoTEdge.02101510 | The device connect type is illegal.                                                                           | 设备连接类型不合法。                           | 请排查请求参数是否符合华为云文档要求。          |
| 400 | IoTEdge.02101702 | The external entity has already existed in this edge node.                                                    | 外部实体已存在。                             | 请尝试更换其他名称进行重试。               |
| 400 | IoTEdge.02101704 | The external entity connection info is incomplete.                                                            | 外部实体的连接信息不完整。                        | 请排查请求中参数是否符合华为云文档要求。         |
| 400 | IoTEdge.02101705 | The external entity protocol type is not supported.                                                           | 外部实体的协议类型不支持。                        | 请排查协议类型是否与文档中的保持一致。          |
| 400 | IoTEdge.02101812 | The template is not existed.                                                                                  | 模板不存在                                | 请添加模板后进行重试。                  |
| 400 | IoTEdge.02102401 | The schedule has already existed.                                                                             | 调度计划已存在。                             | 请删除调度计划后进行重试。                |
| 400 | IoTEdge.02102402 | The schedule is not existed.                                                                                  | 调度计划不存在。                             | 请创建调度计划后进行重试。                |
| 400 | IoTEdge.02102403 | The schedule.daily can\`t be empty when schedule.cycleType is daily.                                          | 调度计划循环类型为daily时，daily参数不能为空。         | 请填写完整参数后进行重试。                |
| 400 | IoTEdge.02102404 | The device control has already existed.                                                                       | 该设备属性控制已存在。                          | 请释放该设备属性控制设置后重试。             |
| 400 | IoTEdge.02102405 | The device control is not existed.                                                                            | 该设备属性控制不存在。                          | 请执行该设备属性控制设置后重试。             |
| 400 | IoTEdge.02102406 | The request is invalid, %s.                                                                                   | 请求参数不合法。                             | 请参考接口文档检查请求参数。               |
| 400 | IoTEdge.03004005 | The NA name is already used.                                                                                  | 北向NA的名称已被使用。                         | 请尝试更换其他名称进行重试。               |
| 400 | IoTEdge.03004006 | The auth detail of NA is illegal.                                                                             | 北向NA的鉴权信息不合法。                        | 请排查请求是否正确。                   |
| 400 | IoTEdge.03004007 | The access detail of NA is illegal.                                                                           | 北向NA的接入信息不合法。                        | 请排查请求是否正确。                   |
| 400 | IoTEdge.03005002 | Batch upload IA configs failed.                                                                               | 批量上传IA配置项失败。                         | 请排查请求是否正确。                   |
| 400 | IoTEdge.03005003 | The number of IA configs reaches the upper limit.                                                             | IA配置项数量达到上限。                         | 请删除无用的配置项后进行重试。              |
| 401 | IoTEdge.00000002 | The request is unauthorized.                                                                                  | 鉴权失败。                                | 请排查请求中的鉴权参数是否携带正确。           |
| 403 | IoTEdge.00000003 | Operation not allowed. User not found by IAM token or the authorized user has not subscribed IoTEdge service. | 没有找到IAMToken所对应的用户信息或该用户没有订阅IoT边缘服务。 | 请排查IAMToken所在用户是否订阅了IoT边缘服务。 |
| 403 | IoTEdge.00000004 | The account is frozen.                                                                                        | 账户已被冻结。                              | 联系账户负责人进行解冻。                 |
| 403 | IoTEdge.00000009 | Refresh access token failed.                                                                                  | 刷新token失败。                           | 请排查请求中的refreshToken是否正确。     |
| 403 | IoTEdge.00000010 | Invalid access token.                                                                                         | 非法token。                             | 请排查请求中的token是否正常。            |
| 403 | IoTEdge.02100203 | The system module does not allow to operate.                                                                  | 该边缘模块为系统模块，禁止操作。                     | 请排查请求是否正确。                   |
| 403 | IoTEdge.02100216 | Operation not allowed. The process module does not allow to install in advanced node.                         | 高级版边缘节点不支持以进程方式部署的边缘模块。              | 请选择标准版边缘节点进行重试。              |
| 403 | IoTEdge.02100602 | The system app can not be operated.                                                                           | 系统应用不允许操作。                           | 系统应用不允许操作。                   |
| 403 | IoTEdge.02100605 | The app software package version has already published.                                                       | 应用软件包版本已发布，禁止操作。                     | 请下线该应用软件包版本后进行重试。            |
| 403 | IoTEdge.02100606 | The app software package version has not publish yet.                                                         | 应用软件包版本尚未发布，禁止部署。                    | 请发布该应用软件包版本后进行重试。            |
| 403 | IoTEdge.02100607 | The app software package version has instances.                                                               | 该应用软件包版本存在部署，禁止删除。                   | 请卸载对应的部署实例后进行重试。             |
| 403 | IoTEdge.02100614 | The app software package version has already off shelf.                                                       | 应用软件包版本已下线，禁止操作。                     | 请发布应用软件包版本后进行重试。             |
| 403 | IoTEdge.02101504 | The node status of the device is DELETING.                                                                    | 设备所属边缘节点处于删除中，禁止操作。                  | 请检查边缘节点状态后进行重试。              |
| 403 | IoTEdge.02101505 | The device does not belong to this edge node.                                                                 | 该设备不属于此边缘节点，禁止操作。                    | 请排查请求中的参数是否携带正确。             |
| 403 | IoTEdge.02101701 | The number of external entities for this node reaches the upper limit.                                        | 边缘节点的外部实体数量达到上限。                     | 请删除多余的外部实体后进行重试。             |
| 403 | IoTEdge.03004003 | The number of NAs reaches the upper limit.                                                                    | 北向NA数量达到上限。                          | 请删除无用的NA后进行重试。               |
| 403 | IoTEdge.03004004 | The number of edge nodes authorized to access the NA nodes reaches the upper limit.                           | 授权访问NA的节点数达到上限。                      | 请对无用的节点取消授权后进行重试。            |
| 404 | IoTEdge.02100305 | The edge node does not existed.                                                                               | 边缘节点不存在。                             | 请检查边缘节点ID携带是否正确。             |
| 404 | IoTEdge.02100604 | The app software package version does not existed.                                                            | 应用软件包版本不存在。                          | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.02100801 | The edge app version does not existed.                                                                        | 边缘应用软件包版本不存在。                        | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.02101503 | The parent device does not existed.                                                                           | 父设备不存在。                              | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.02101506 | The device does not existed.                                                                                  | 设备不存在。                               | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.02101703 | The external entity does not existed.                                                                         | 外部实体不存在。                             | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.03004001 | The NA does not existed.                                                                                      | 北向NA不存在。                             | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.03005001 | The IA config does not existed.                                                                               | IA配置项不存在。                            | 请排查请求中的参数是否携带正确。             |
| 405 | IoTEdge.00000007 | Method not allowed.                                                                                           | http请求中的请求方法不正确。                     | 请排查请求方法是否与文档中的保持一致。          |
| 408 | IoTEdge.00000008 | The request is timeout.                                                                                       | 请求超时。                                | 请联系华为工程师分析解决。                |
| 500 | IoTEdge.00000001 | Internal server error.                                                                                        | 服务器内部错误。                             | 请联系华为工程师分析解决。                |
| 400 | IoTEdge.00000005 | The request parameter is invalid.                                                                             | 请求参数不合法。                             | 请排查请求参数是否符合华为云文档要求。          |
| 400 | IoTEdge.00000006 | The request format is invalid.                                                                                | 请求格式不合法。                             | 请排查该请求的请求格式是否正确。             |
| 400 | IoTEdge.02100026 | resource is not exist.                                                                                        | 资源不存在。                               | 请购买资源后重试。                    |
| 400 | IoTEdge.02100029 | resource status is freeze.                                                                                    | 资源已冻结。                               | 请解除资源冻结后重试。                  |
| 400 | IoTEdge.02100201 | The edge module does not existed.                                                                             | 边缘模块不存在。                             | 请排查请求中的参数是否携带正确。             |
| 400 | IoTEdge.02100205 | The module has already been binded.                                                                           | 该边缘节点已绑定。                            | 请排查请求中的参数是否携带正确。             |
| 400 | IoTEdge.02100210 | The app has been installed.                                                                                   | 该应用已安装。                              | 请排查请求是否正确。                   |
| 400 | IoTEdge.02100211 | The app does not support this node's arch.                                                                    | 该应用不支持此边缘节点的架构。                      | 请选择与边缘节点架构相匹配的应用进行重试。        |
| 400 | IoTEdge.02100301 | The edge node has already existed.                                                                            | 边缘节点已存在。                             | 请尝试更换其他名称进行重试。               |
| 400 | IoTEdge.02100303 | Failed to create edge node from IEF.                                                                          | 通过IEF创建边缘节点失败。                       | 请联系IEF云服务工程师分析解决。            |
| 400 | IoTEdge.02100304 | The edge node contains sub devices.                                                                           | 边缘节点包含子设备。                           | 请删除该边缘节点的子设备后进行重试。           |
| 400 | IoTEdge.02100307 | Failed to delete edge node from IEF.                                                                          | 通过IEF删除边缘节点失败。                       | 请联系IEF云服务工程师分析解决。            |
| 400 | IoTEdge.02100308 | The current number of edge nodes reaches the upper limit.                                                     | IEF当前部署的边缘节点数量达到上限。                  | 请删除无用的节点后进行重试。               |
| 400 | IoTEdge.02100316 | The resource package has been used.                                                                           | 该资源包已被使用。                            | 请尝试更换其他资源包进行重试。              |
| 400 | IoTEdge.02100318 | The resource package of this type has already existed.                                                        | 该类型的资源包已存在。                          | 请尝试其他类型的资源包。                 |
| 400 | IoTEdge.02100319 | The edge node does not running.                                                                               | 该边缘节点尚未运行。                           | 请安装边缘节点后重试。                  |
| 400 | IoTEdge.02100601 | The app has already existed.                                                                                  | 应用已存在。                               | 请尝试更换其他名称进行重试。               |
| 400 | IoTEdge.02100603 | The app contains software package version.                                                                    | 该应用下面存在应用软件包版本。                      | 请删除所有该应用的应用软件包版本后重试。         |
| 400 | IoTEdge.02100608 | The app does not existed.                                                                                     | 应用不存在。                               | 请排查请求中的参数是否携带正确。             |
| 400 | IoTEdge.02100609 | The app software package version has already existed.                                                         | 应用软件包版本已存在。                          | 请尝试更换其他名称进行重试。               |
| 400 | IoTEdge.02101311 | The arch does not support.                                                                                    | 架构不支持。                               | 请排查架构类型是否与文档中的保持一致。          |
| 400 | IoTEdge.02101312 | The edge node deploy type does not support.                                                                   | 边缘节点部署类型不支持。                         | 请排查节点部署类型是否与文档中的保持一致。        |
| 400 | IoTEdge.02101502 | The device protocol does not match.                                                                           | 设备协议不匹配。                             | 请排查请求参数是否符合华为云文档要求。          |
| 400 | IoTEdge.02101507 | The number of sub devices reaches the upper limit.                                                            | 子设备数量达到上限。                           | 请删除多余的子设备后进行重试。              |
| 400 | IoTEdge.02101509 | The device config service is null or empty.                                                                   | 设备配置服务为空。                            | 请排查请求中的参数是否携带正确。             |
| 400 | IoTEdge.02101510 | The device connect type is illegal.                                                                           | 设备连接类型不合法。                           | 请排查请求参数是否符合华为云文档要求。          |
| 400 | IoTEdge.02101702 | The external entity has already existed in this edge node.                                                    | 外部实体已存在。                             | 请尝试更换其他名称进行重试。               |
| 400 | IoTEdge.02101704 | The external entity connection info is incomplete.                                                            | 外部实体的连接信息不完整。                        | 请排查请求中参数是否符合华为云文档要求。         |
| 400 | IoTEdge.02101705 | The external entity protocol type is not supported.                                                           | 外部实体的协议类型不支持。                        | 请排查协议类型是否与文档中的保持一致。          |
| 400 | IoTEdge.03004005 | The NA name is already used.                                                                                  | 北向NA的名称已被使用。                         | 请尝试更换其他名称进行重试。               |
| 400 | IoTEdge.03004006 | The auth detail of NA is illegal.                                                                             | 北向NA的鉴权信息不合法。                        | 请排查请求是否正确。                   |
| 400 | IoTEdge.03004007 | The access detail of NA is illegal.                                                                           | 北向NA的接入信息不合法。                        | 请排查请求是否正确。                   |
| 400 | IoTEdge.03005002 | Batch upload IA configs failed.                                                                               | 批量上传IA配置项失败。                         | 请排查请求是否正确。                   |
| 400 | IoTEdge.03005003 | The number of IA configs reaches the upper limit.                                                             | IA配置项数量达到上限。                         | 请删除无用的配置项后进行重试。              |
| 401 | IoTEdge.00000002 | The request is unauthorized.                                                                                  | 鉴权失败。                                | 请排查请求中的鉴权参数是否携带正确。           |
| 403 | IoTEdge.00000003 | Operation not allowed. User not found by IAM token or the authorized user has not subscribed IoTEdge service. | 没有找到IAMToken所对应的用户信息或该用户没有订阅IoT边缘服务。 | 请排查IAMToken所在用户是否订阅了IoT边缘服务。 |
| 403 | IoTEdge.00000004 | The account is frozen.                                                                                        | 账户已被冻结。                              | 联系账户负责人进行解冻。                 |
| 403 | IoTEdge.00000009 | Refresh access token failed.                                                                                  | 刷新token失败。                           | 请排查请求中的refreshToken是否正确。     |
| 403 | IoTEdge.00000010 | Invalid access token.                                                                                         | 非法token。                             | 请排查请求中的token是否正常。            |
| 403 | IoTEdge.02100203 | The system module does not allow to operate.                                                                  | 该边缘模块为系统模块，禁止操作。                     | 请排查请求是否正确。                   |
| 403 | IoTEdge.02100216 | Operation not allowed. The process module does not allow to install in advanced node.                         | 高级版边缘节点不支持以进程方式部署的边缘模块。              | 请选择标准版边缘节点进行重试。              |
| 403 | IoTEdge.02100602 | The system app can not be operated.                                                                           | 系统应用不允许操作。                           | 系统应用不允许操作。                   |
| 403 | IoTEdge.02100605 | The app software package version has already published.                                                       | 应用软件包版本已发布，禁止操作。                     | 请下线该应用软件包版本后进行重试。            |
| 403 | IoTEdge.02100606 | The app software package version has not publish yet.                                                         | 应用软件包版本尚未发布，禁止部署。                    | 请发布该应用软件包版本后进行重试。            |
| 403 | IoTEdge.02100607 | The app software package version has instances.                                                               | 该应用软件包版本存在部署，禁止删除。                   | 请卸载对应的部署实例后进行重试。             |
| 403 | IoTEdge.02100614 | The app software package version has already off shelf.                                                       | 应用软件包版本已下线，禁止操作。                     | 请发布应用软件包版本后进行重试。             |
| 403 | IoTEdge.02101504 | The node status of the device is DELETING.                                                                    | 设备所属边缘节点处于删除中，禁止操作。                  | 请检查边缘节点状态后进行重试。              |
| 403 | IoTEdge.02101505 | The device does not belong to this edge node.                                                                 | 该设备不属于此边缘节点，禁止操作。                    | 请排查请求中的参数是否携带正确。             |
| 403 | IoTEdge.02101701 | The number of external entities for this node reaches the upper limit.                                        | 边缘节点的外部实体数量达到上限。                     | 请删除多余的外部实体后进行重试。             |
| 403 | IoTEdge.03004003 | The number of NAs reaches the upper limit.                                                                    | 北向NA数量达到上限。                          | 请删除无用的NA后进行重试。               |
| 403 | IoTEdge.03004004 | The number of edge nodes authorized to access the NA nodes reaches the upper limit.                           | 授权访问NA的节点数达到上限。                      | 请对无用的节点取消授权后进行重试。            |
| 404 | IoTEdge.02100305 | The edge node does not existed.                                                                               | 边缘节点不存在。                             | 请检查边缘节点ID携带是否正确。             |
| 404 | IoTEdge.02100604 | The app software package version does not existed.                                                            | 应用软件包版本不存在。                          | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.02100801 | The edge app version does not existed.                                                                        | 边缘应用软件包版本不存在。                        | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.02101503 | The parent device does not existed.                                                                           | 父设备不存在。                              | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.02101506 | The device does not existed.                                                                                  | 设备不存在。                               | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.02101703 | The external entity does not existed.                                                                         | 外部实体不存在。                             | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.03004001 | The NA does not existed.                                                                                      | 北向NA不存在。                             | 请排查请求中的参数是否携带正确。             |
| 404 | IoTEdge.03005001 | The IA config does not existed.                                                                               | IA配置项不存在。                            | 请排查请求中的参数是否携带正确。             |
| 405 | IoTEdge.00000007 | Method not allowed.                                                                                           | http请求中的请求方法不正确。                     | 请排查请求方法是否与文档中的保持一致。          |
| 408 | IoTEdge.00000008 | The request is timeout.                                                                                       | 请求超时。                                | 请联系华为工程师分析解决。                |
| 500 | IoTEdge.00000001 | Internal server error.                                                                                        | 服务器内部错误。                             | 请联系华为工程师分析解决。                |
   
