Conflicting subtitle pairs

Moses SkodaEngineer1 min read

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

VTT pair contains conflicting entries for the same source text and target locale: "<text>" → pt-BR

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
pairsobject[]
pairs[].textstring
pairs[].targetLocalestring

Example#

json
{
  "detail": "VTT pair contains conflicting entries for the same source text and target locale: \"<text>\" → pt-BR",
  "pairs": [
    {
      "text": "<text>",
      "targetLocale": "pt-BR"
    }
  ],
  "type": "https://lingo.dev/docs/api/errors/vtt-pairs-repeated",
  "status": 422,
  "title": "Conflicting subtitle pairs"
}

Returned by#

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