未找到测量结果

Moses Skoda工程师预计阅读 1 分钟

API 会以 404 Not Found 状态返回此错误详情。其 type 为 https://lingo.dev/docs/api/errors/measurement-result-not-found。所有错误的通用结构,请参阅错误和状态码。

在当前组织中,找不到测量 <measurementId> 针对事件 <eventId> 的结果。该测量尚未针对该事件运行,或该事件属于其他组织。请对照结果列表核对这两个 ID 和事件时间。

字段#

除标准成员 type、status、title 和 detail 外,响应体还包含以下字段。detail 文本根据这些字段生成,客户端也可以改为显示自定义文本。

字段类型
eventIdstring
measurementIdstring

示例#

json
{
  "detail": "Cannot find what measurement <measurementId> answered for event <eventId> in this organization. It has not run on that event yet, or the event belongs to another organization. Check both ids and the event time against the results list.",
  "eventId": "<eventId>",
  "measurementId": "<measurementId>",
  "type": "https://lingo.dev/docs/api/errors/measurement-result-not-found",
  "status": 404,
  "title": "Measurement result not found"
}

返回此错误的端点#

  • GET /v2/organizations/{orgId}/events/{eventId}/measurements/{measurementId}