Measurements not offered

What the MeasurementsNotOffered error (422 Unprocessable Content) means, the fields it carries, and the endpoints that return it.

The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/measurements-not-offered. See Errors and status codes for the shape every error shares.

Cannot run <id> in this check: they are not custom measurements of this organization, or none of their enabled conditions covers a target locale of the check. Choose measurements offered for these locales, or leave measurementIds out to run every offered one.

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
idsstring[]

Example #

JSON
{
  "detail": "Cannot run <id> in this check: they are not custom measurements of this organization, or none of their enabled conditions covers a target locale of the check. Choose measurements offered for these locales, or leave measurementIds out to run every offered one.",
  "ids": [
    "<id>"
  ],
  "type": "https://lingo.dev/docs/api/errors/measurements-not-offered",
  "status": 422,
  "title": "Measurements not offered"
}