Errors
Errors are JSON in the problem details format:
{"type": "/guide/errors#stream_running", "title": "Conflict", "status": 409, "code": "stream_running",
"detail": "Settings can be changed only while the stream is not running.", "request_id": "req_6f1c..."}
Program against code; detail is for people and may change. Quote request_id when you contact support.
| HTTP | code | Meaning / what to do |
|---|---|---|
| 400 | invalid_cursor |
starting_after is not one of your streams |
| 400 | invalid_idempotency_key |
Up to 64 letters, digits, - _ : . |
| 401 | unauthorized |
Missing, unknown or revoked key, or the account is disabled |
| 403 | insufficient_scope |
The key lacks the scope this call needs |
| 403 | trial_exhausted |
The trial minutes are used up: ask for a paid plan |
| 403 | monthly_cap_reached |
This month's language-minutes are used up |
| 403 | concurrency_limit |
Too many streams running at once on this account |
| 403 | service_busy |
The service reached its daily capacity; try later |
| 403 | playback_forbidden |
Viewer link missing, wrong or expired (signed playback) |
| 404 | not_found |
No such object in your account (other accounts' objects also answer 404) |
| 404 | not_available |
The file is not ready yet (e.g. subtitles before the stream ended) |
| 409 | stream_running |
Stop the stream first |
| 409 | push_source |
/start is only for LiveKit sources; push streams start when video arrives |
| 409 | idempotency_conflict |
The same Idempotency-Key was used with a different body |
| 409 | too_many_streams / too_many_webhooks |
Clean up old ones first |
| 413 | payload_too_large |
Request bodies are limited to 64 KB |
| 422 | invalid_request |
See errors[]: {"field": "...", "message": "..."} |
| 422 | invalid_restream_url / invalid_livekit_url / invalid_webhook_url |
Wrong scheme, or a private/local address |
| 422 | invalid_events |
Unknown webhook event name |
| 429 | rate_limited |
Slow down; see Retry-After |
| 500 | server_error |
Our fault; safe to retry with the same Idempotency-Key |
When the encoder is refused at connection time (wrong key, limit reached), it simply cannot connect; the reason also arrives as
a usage.cap_reached webhook where it applies.