Source locale not covered
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.
| Field | Type |
|---|---|
sourceLocale | string |
coverage | string[] |
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