Skip to content

Docs

Error codes

Every non-2xx response is JSON with an error envelope, and is never billed — you pay only for HTTP 200.

Envelope

{ "error": { "code": "transcript_not_available", "message": "This video has no captions or auto-generated subtitles." } }

Codes

CodeHTTPMeaning
invalid_video_id400videoId is missing or not 11 characters.
unauthorized401API key missing, invalid, or revoked.
insufficient_credits402Balance below the call cost. Top up or upgrade.
video_private403The video is private.
video_not_found404The video does not exist or was removed.
video_unavailable410The video is unavailable in the requested context.
transcript_not_available422No captions or auto-generated subtitles for this video, or the requested language has no track.
rate_limited429Plan rate limit hit. See x-ratelimit-reset.
upstream_error502Upstream fetch failed. Safe to retry; never billed.
timeout504Upstream fetch timed out. Safe to retry; never billed.