> ## Documentation Index
> Fetch the complete documentation index at: https://docs.api.rask.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# subtitles_invalid

> Subtitles invalid: HTTP 422 from the Rask API v3. What it means, what to do and which operations return it.

| Status | `retry` | `recommendation` |
| - | - | - |
| 422 | `none` | `fix_request` |

## What happened

Subtitles invalid. For example: The subtitles could not be parsed.

## What to do

Fix the SRT cues listed in errors\[]; source and target need equal cues and timings.

`fix_request`: change the request or its inputs; sent unchanged it fails again.

`none`: do not retry the request unchanged.

## Example

```json theme={null}
{
  "type": "https://docs.api.rask.ai/errors/subtitles_invalid",
  "title": "Subtitles invalid",
  "status": 422,
  "detail": "The subtitles could not be parsed.",
  "instance": "urn:uuid:7d5c0e9a-3f1b-4c2e-9a8d-6b4f2e1c0d93",
  "code": "subtitles_invalid",
  "retryable": false,
  "retry": "none",
  "recommendation": "fix_request",
  "hint": "Fix the SRT cues listed in errors[]; source and target need equal cues and timings.",
  "errors": [
    {
      "pointer": "/subtitles/source",
      "code": "speaker_labels_inconsistent",
      "detail": "Cue 4 has no speaker label."
    }
  ]
}
```

## Operations that return it

* [createProject](https://docs.api.rask.ai/operations/createProject.md)
* [importTranscript](https://docs.api.rask.ai/operations/importTranscript.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.