# `video_too_long`

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

The video is over the 10-minute cap that analysis and downloads share.

## Status

HTTP `422`, title `Video too long`. One of the [the request itself](https://www.shortsintel.com/docs/reference/errors#the-request-itself) errors. Branch on `code`, never on the status or the prose.

Retryable: no. Every body carries this as `retryable: false`, beside `action` and `remedy`: the same request will fail again until the request changes or a person acts.

## Common causes

- Asking for analysis or a download of a video over 10 minutes.
- Asking for the transcript of a YouTube video over 10 minutes with no caption track.

## What to do

Action: Pick a video under `max_duration_seconds`; this one will never qualify.

The video is over the 10-minute analysis cap (`max_duration_seconds`). A fact about the video: nothing was charged for it, and retrying will not change it.

## Example

The body arrives as `application/problem+json`, with `retryable` and the `remedy` above. Most responses add `detail` about the occurrence, and some add fields of their own.

```json
{
  "type": "https://www.shortsintel.com/docs/reference/errors/video_too_long",
  "title": "Video too long",
  "status": 422,
  "code": "video_too_long",
  "retryable": false,
  "action": "Pick a video under `max_duration_seconds`; this one will never qualify.",
  "remedy": "The video is over the 10-minute analysis cap (`max_duration_seconds`). A fact about the video: nothing was charged for it, and retrying will not change it."
}
```

## Related

- [Analysis](https://www.shortsintel.com/docs/concepts/analysis)
- [Every error code](https://www.shortsintel.com/docs/reference/errors)

[Previous feature_unavailable](https://www.shortsintel.com/docs/reference/errors/feature_unavailable)[Next not_analysable](https://www.shortsintel.com/docs/reference/errors/not_analysable)
