Measurement not found
The API answers 404 Not Found with this problem. Its type is https://lingo.dev/docs/api/errors/measurement-not-found. See Errors and status codes for the shape every error shares.
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.
Fields#
Besides the standard type, status, title and detail members, the body carries these fields. The detail text is built from them, so a client can show its own text instead.
| Field | Type |
|---|---|
id | string |
Example#
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"
}Returned by#
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