測定結果が見つかりません

Moses Skodaエンジニア読了目安 1分

APIは、この問題が発生すると404 Not Foundを返します。typeはhttps://lingo.dev/docs/api/errors/measurement-result-not-foundです。すべてのエラーに共通する形式については、エラーとステータスコードをご覧ください。

この組織内では、測定<measurementId>によるイベント<eventId>の測定結果が見つかりません。このイベントに対してまだ測定が実行されていないか、イベントが別の組織に属しています。両方の識別子とイベントの時刻を結果一覧と照合してください。

フィールド#

レスポンス本文には、標準の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}