Subtitles without cues
The API answers 422 Unprocessable Content with this problem. Its type is https://lingo.dev/docs/api/errors/vtt-subtitles-without-cues. See Errors and status codes for the shape every error shares.
Subtitle files must contain cues. sourceSubtitlesVtt cues=2, targetSubtitlesVtt cues=2.
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 |
|---|---|
sourceCues | integer |
targetCues | integer |
Example#
json
{
"detail": "Subtitle files must contain cues. sourceSubtitlesVtt cues=2, targetSubtitlesVtt cues=2.",
"sourceCues": 2,
"targetCues": 2,
"type": "https://lingo.dev/docs/api/errors/vtt-subtitles-without-cues",
"status": 422,
"title": "Subtitles without cues"
}Returned by#
POST /v2/engines/{engineId}/glossary-terms/extract-from-vtt