測定が見つかりません

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

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

この組織に測定<id>が見つかりません。測定が存在しないか、別の組織に属しているか、バックフィルの場合は有効になっているイベント条件がありません。この組織の測定一覧で識別子を確認し、バックフィルを行う前に、その測定の条件を少なくとも一つ有効にしてください。

フィールド#

レスポンス本文には、標準のメンバーであるtype、status、title、detailに加え、次のフィールドが含まれます。detailのテキストはこれらのフィールドから生成されるため、クライアント側で独自のテキストに置き換えて表示できます。

フィールド型
idstring

例#

json
{
  "detail": "Cannot find measurement <id> in this organization. It does not exist, belongs to another organization, or (for a backfill) has no enabled event condition. Check the id against this organization's measurements and enable one of its conditions before a backfill.",
  "id": "<id>",
  "type": "https://lingo.dev/docs/api/errors/measurement-not-found",
  "status": 404,
  "title": "Measurement not found"
}

このエラーを返すエンドポイント#

  • DELETE /v2/organizations/{orgId}/measurements/{measurementId}
  • DELETE /v2/organizations/{orgId}/measurements/{measurementId}/conditions/{eventType}
  • GET /v2/organizations/{orgId}/measurements/{measurementId}
  • GET /v2/organizations/{orgId}/measurements/{measurementId}/event-counts
  • PATCH /v2/organizations/{orgId}/measurements/{measurementId}
  • POST /v2/organizations/{orgId}/measurements/{measurementId}/backfill
  • PUT /v2/organizations/{orgId}/measurements/{measurementId}/conditions/{eventType}
  • PUT /v2/organizations/{orgId}/measurements/{measurementId}/enabled
  • PUT /v2/organizations/{orgId}/measurements/{measurementId}/settings