Source locale not covered

What the PairsSourceLocaleNotCovered 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/pairs-source-locale-not-covered. See Errors and status codes for the shape every error shares.

Cannot save the pairs. Their source locale "pt-BR" is not one the engine's default glossary covers (<coverage>). Use one of those locales, or add this one to the glossary's source coverage.

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
sourceLocalestring
coveragestring[]
owner"glossary" | "engine"

Example #

json
{
  "detail": "Cannot save the pairs. Their source locale \"pt-BR\" is not one the engine's default glossary covers (<coverage>). Use one of those locales, or add this one to the glossary's source coverage.",
  "sourceLocale": "pt-BR",
  "coverage": [
    "<coverage>"
  ],
  "owner": "glossary",
  "type": "https://lingo.dev/docs/api/errors/pairs-source-locale-not-covered",
  "status": 422,
  "title": "Source locale not covered"
}

Returned by #

  • POST /v2/engines/{engineId}/glossary-terms/extract-from-vtt