更新时间:2024-04-02 GMT+08:00
分享

查询实例异常信息

功能介绍

查询实例异常信息

调用方法

请参见如何调用API

URI

GET /v1/{project_id}/leagues/{league_id}/job-instances/{instance_id}/error-info

表1 路径参数

参数

是否必选

参数类型

描述

project_id

String

项目ID,最大长度32,由字母和数字组成

league_id

String

联盟ID,最大长度32,由字母和数字组成

instance_id

String

任务实例id,最大长度32,由字母和数字组成

请求参数

表2 请求Header参数

参数

是否必选

参数类型

描述

X-Auth-Token

String

用户Token。由一个或多个字母数字+-=符号组成。 通过调用接口获取用户Token接口获取。

X-Language

String

根据自己偏好的语言来获取不同语言的返回内容,zh-cn或者en_us

Content-Type

String

发送的实体的MIME类型

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

error_info

String

异常信息,最大长度1024

最小长度:0

最大长度:1024

请求示例

查询实例异常信息

get https://100.1.1.1:31000/v1/{project_id}/leagues/{league_id}/job-instances/{instance_id}/error-info

响应示例

状态码: 200

查询实例异常信息成功

{
  "error_info" : "通用异常,详情:tee get input encrypted model failed, xxx.ExecuteException: error happend(reason=run job failed, errMsg: ValueError: Calling `Model.fit` in graph mode is not supported when the `Model` instance was constructed with eager mode enabled. Please construct your `Model` instance in graph mode or call `Model.fit` with eager mode enabled.)"
}

状态码

状态码

描述

200

查询实例异常信息成功

401

操作无权限

500

内部服务器错误

分享:

    相关文档

    相关产品