
# 错误码
| 状态码 | 错误码           | 错误信息                                                                                                         | 描述                     | 处理措施                      |
|:---|:---|:---|:---|:---|
| 400 | MSSI.00010001 | connector is not found                                                                                       | 连接器不存在                 | 请检查填写的连接器。                |
| 400 | MSSI.00010002 | icon not found                                                                                               | 图片资源不存在                | 请检查填写的图片资源。               |
| 400 | MSSI.00010003 | swagger data not found                                                                                       | swagger资源不存在           | 请检查填写的swagger资源。          |
| 400 | MSSI.00010004 | connector can not delete                                                                                     | 内置连接器无法删除              | 请正确选择要删除的连接器，内置连接器无法删除。   |
| 400 | MSSI.00010005 | connector was used in flow or template can not delete                                                        | 该连接器已在流中使用，请删除流后再进行此操作 | 请先删除使用该连接器的流。             |
| 400 | MSSI.00010006 | connector name can not be null                                                                               | 创建连接器，名称不可为空字符串        | 请填写连接器名称。                 |
| 400 | MSSI.00011001 | flow not found                                                                                               | 流不存在                   | 请检查填写的流。                  |
| 400 | MSSI.00011002 | flowConnector not found                                                                                      | 流对应的连接器找不到             | 请选择其他连接器。                 |
| 400 | MSSI.00011003 | flowRepository not found                                                                                     | 流对应的仓库找不到              | 请选择其他仓库。                  |
| 400 | MSSI.00011004 | duplicate flowName                                                                                           | 流名称重复                  | 请重命名重复的流名称。               |
| 400 | MSSI.00012001 | template not found                                                                                           | 模板不存在                  | 请检查填写的模板。                 |
| 400 | MSSI.00012002 | cooperation not found                                                                                        | 模板供应商不存在               | 请选择其他模板供应商。               |
| 400 | MSSI.00013001 | gateway not found                                                                                            | 网关不存在                  | 请选择其他网关。                  |
| 400 | MSSI.00014001 | share not found                                                                                              | 共享数据不存在                | 请选择其他共享数据。                |
| 400 | MSSI.00015001 | connect not found                                                                                            | 连接不存在                  | 请检查填写的连接。                 |
| 400 | MSSI.00015002 | connectionName repeat                                                                                        | 连接名称重复                 | 请更换重复的名称。                 |
| 400 | MSSI.00016001 | function not found                                                                                           | 函数找不到                  | 请检查填写的函数。                 |
| 400 | MSSI.00017001 | data format is incorrect                                                                                     | 数据格式不正确                | 请检查填写的数据格式。               |
| 400 | MSSI.00017002 | no permission                                                                                                | 无权限操作该资源               | 请添加操作该资源的权限。              |
| 400 | MSSI.00017003 | no certification                                                                                             | 无认证方式                  | 请添加认证方式。                  |
| 400 | MSSI.00017004 | batch operate apic failed                                                                                    | 批量操作APIC失败             | 请稍后重试，或者联系技术支持人员。         |
| 400 | MSSI.00017005 | operate swagger failed                                                                                       | 批量操作SWAGGER失败          | 请稍后重试，或者联系技术支持人员。         |
| 400 | MSSI.00017006 | to bean failed                                                                                               | JsonUtils              | 请检查JSON格式的合法性。            |
| 400 | MSSI.00017007 | is not a pic                                                                                                 | 导入不是图片文件               | 请导入图片文件。                  |
| 400 | MSSI.00017008 | is not a swagger                                                                                             | 导入文件不符合Swagger标准       | 请检查导入的文件是否符合Swagger标准。    |
| 400 | MSSI.00017010 | param is invalid                                                                                             | 连接正在使用，无法删除            | 请先停止正在使用的流程，再删除。          |
| 400 | MSSI.00017011 | flow is enable                                                                                               | 流正在使用，无法删除             | 请先停止正在使用的流，再删除。           |
| 400 | MSSI.00020001 | flow is not exist                                                                                            | 流程不存在                  | 请检查填写的流程。                 |
| 400 | MSSI.00020002 | connector is not exist                                                                                       | 连接器不存在                 | 请检查填写的连接器。                |
| 400 | MSSI.00020003 | connect is not exist                                                                                         | 连接不存在（认证连接）            | 请核对鉴权信息。                  |
| 400 | MSSI.00020005 | time_range is invalid, example:2020-11-10T00:00:00.000Zto2022-23-10T00:00:00.000Z                            | 无效的时间范围格式              | 请更改时间格式为统一UTC时区。          |
| 400 | MSSI.00020006 | decrypt database password error                                                                              | 数据库密码错误                | 请检查填写的数据库密码。              |
| 400 | MSSI.00020007 | trigger type is invalid.                                                                                     | 无效的触发器类型               | 请检查触发器类型是否符合规范。           |
| 400 | MSSI.00020008 | flow has no trigger step. Please check flow step config.                                                     | 不存在FLowStep            | 请检查FLowStep配置信息。          |
| 400 | MSSI.00020009 | connector is not exist or deploy_url is empty.                                                               | 连接器不存在或部署地址为空          | 请检查填写的连接器是否规范，或者是否填写部署地址。 |
| 400 | MSSI.00020011 | param is invalid.                                                                                            | 参数无效                   | 请检查填写的参数。                 |
| 400 | MSSI.00020012 | running history is not exist.                                                                                | 流运行历史不存在               | 请检查填写的流。                  |
| 400 | MSSI.00020015 | time_range exceeds 30 days.                                                                                  | 时间范围超过30天              | 请检查选择的时间区间                |
| 400 | MSSI.00020016 | connector release version not exits.                                                                         | 连接器发布版本不存在             | 请检查连接器版本                  |
| 400 | MSSI.00020017 | connector invoke record not exits.                                                                           | 连接器调用记录不存在             | 请检查填写的连接器                 |
| 400 | MSSI.00020018 | flow status is disable                                                                                       | 流被禁用                   | 请检查流的状态                   |
| 400 | MSSI.00020019 | action in not exist                                                                                          | 连接器执行动作不存在             | 请检查执行动作                   |
| 400 | MSSI.00020020 | action is not belong to connector                                                                            | 执行动作不属于连接器             | 请检查执行动作                   |
| 403 | MSSI.00020004 | forbidden operation. concat the project owner                                                                | 操作越权，禁止操作。 操作了其他租户的资源  | 请检查权限信息。                  |
| 500 | MSSI.00029999 | unknown error                                                                                                | 未知的异常，一般来说是系统内部超出预期的异常 | 系统错误，请联系技术支持人员。           |
| 500 | MSSI.00050001 | Internal Server Error                                                                                        | 未知的异常，一般来说是系统内部超出预期的异常 | 系统错误，请联系技术支持人员            |
| 500 | MSSI.00050002 | Failed to connection DataSource                                                                              | 连接数据源失败                | 请检查数据源连接信息                |
| 500 | MSSI.00050004 | Unsupported datasource type                                                                                  | 不支持的数据源类型              | 请检查数据源类型                  |
| 500 | MSSI.00050005 | MetaModel adapter is not found                                                                               | 元模型适配器未找到              | 请检查元模型适配器                 |
| 500 | MSSI.00050013 | Task not found                                                                                               | 采集任务未找到                | 请检查采集任务                   |
| 500 | MSSI.00050015 | MetaData adapter failed                                                                                      | 元数据采集适配器失败             | 请检查元模型适配器                 |
| 400 | MSSI.00050018 | Some params are invalid                                                                                      | 参数不合法                  | 请检查参数                     |
| 400 | MSSI.00050019 | Resource count over limit                                                                                    | 资源超限                   | 请检查资源配额                   |
| 404 | MSSI.00050021 | Resource not exist                                                                                           | 资源不存在                  | 请检查资源是否存在                 |
| 403 | MSSI.00050022 | No permission                                                                                                | 没有权限访问                 | 请检查权限                     |
| 500 | MSSI.00050024 | Schedule log aspect record schedule log failed                                                               | 审计日志记录失败               | 系统错误，请联系技术支持人员            |
| 400 | MSSI.00050025 | Unsupported adapter type                                                                                     | 不支持的适配器类型              | 请检查适配器类型                  |
| 403 | MSSI.00050027 | Taskcollector's parameter has modify failed, task maybe in the status of starting, executing and stopfailed. | 任务采集失败                 | 请检查采集任务                   |
   
