Built-in measurement read-only

Moses SkodaEngineer1 min read

The API answers 409 Conflict with this problem. Its type is https://lingo.dev/docs/api/errors/built-in-measurement-read-only. See Errors and status codes for the shape every error shares.

Cannot change, delete or pick event types for built-in measurement <id>. Built-in measurements are shared by every organization and run on the event types Lingo.dev sets. Turn it on or off and choose its locales through its settings instead.

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.

FieldType
idstring

Example#

json
{
  "detail": "Cannot change, delete or pick event types for built-in measurement <id>. Built-in measurements are shared by every organization and run on the event types Lingo.dev sets. Turn it on or off and choose its locales through its settings instead.",
  "id": "<id>",
  "type": "https://lingo.dev/docs/api/errors/built-in-measurement-read-only",
  "status": 409,
  "title": "Built-in measurement read-only"
}

Returned by#

  • DELETE /v2/organizations/{orgId}/measurements/{measurementId}
  • DELETE /v2/organizations/{orgId}/measurements/{measurementId}/conditions/{eventType}
  • PATCH /v2/organizations/{orgId}/measurements/{measurementId}
  • PUT /v2/organizations/{orgId}/measurements/{measurementId}/conditions/{eventType}