Skip to content

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.

Common causes

  • Asking for analysis or a download of a video over 10 minutes.

What to do

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