Skip to content
For AI agents: a documentation index is available at /llms.txt. Every docs page is also available as markdown: add .md to its URL. To connect, read /agents.md.

Errors

video_too_long

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 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.

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.

{
  "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."
}