VideoToText API

Errors

The error envelope and status codes.

Errors return a stable JSON envelope:

{ "error": { "code": "invalid_request", "message": "Provide exactly one of `storagePath` or `url`." } }

Codes

HTTPcodeWhen
401unauthorizedMissing, malformed, invalid, or revoked API key.
402payment_requiredNot enough minutes to start the job.
403forbiddenNot permitted.
404not_foundNo such transcription (or not yours).
409conflictConflicting state.
422invalid_requestInvalid body, bad URL, or both/neither ingest modes given.
429rate_limitedRate limit or concurrency limit exceeded.
500internal_errorSomething went wrong on our side.

Always branch on the code field rather than the human-readable message, which may change.

On this page