測定が見つかりません
APIは、404 Not Foundの応答としてこのエラーを返します。typeはhttps://lingo.dev/docs/api/errors/measurement-not-foundです。すべてのエラーに共通する構造については、エラーとステータスコードをご覧ください。
この組織に測定<id>が見つかりません。測定が存在しないか、別の組織に属しているか、バックフィルの場合は有効になっているイベント条件がありません。この組織の測定一覧で識別子を確認し、バックフィルを行う前に、その測定の条件を少なくとも一つ有効にしてください。
フィールド#
レスポンス本文には、標準のメンバーであるtype、status、title、detailに加え、次のフィールドが含まれます。detailのテキストはこれらのフィールドから生成されるため、クライアント側で独自のテキストに置き換えて表示できます。
| フィールド | 型 |
|---|---|
id | string |
例#
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-countsPATCH /v2/organizations/{orgId}/measurements/{measurementId}POST /v2/organizations/{orgId}/measurements/{measurementId}/backfillPUT /v2/organizations/{orgId}/measurements/{measurementId}/conditions/{eventType}PUT /v2/organizations/{orgId}/measurements/{measurementId}/enabledPUT /v2/organizations/{orgId}/measurements/{measurementId}/settings