400 | INVALID_IDEMPOTENCY_KEY | Header missing or does not match ^[A-Za-z0-9._-]{8,128}$ | Send a valid key between 8 and 128 characters |
400 | INVALID_FILENAME | Missing filename, illegal path chars, >160 chars, or unsupported extension | Supply a clean filename with a supported media extension |
400 | INVALID_LANGUAGE | Language query value is not supported | Use auto or a supported ISO language code |
401 | UNAUTHORIZED | Missing, malformed, or revoked Bearer key | Verify HEARDRAFT_API_KEY or create a new key |
403 | FORBIDDEN | Active annual plan required or API disabled for workspace | Confirm active Starter Annual or Team Annual subscription |
404 | TASK_NOT_FOUND | Unknown task UUID, wrong workspace, or expired task | Verify task ID and owning workspace key |
409 | IDEMPOTENCY_CONFLICT | Idempotency-Key was already used with different file metadata | Generate a new Idempotency-Key for the new file |
409 | UPLOAD_IN_PROGRESS | Another request with the same key is still streaming | Wait briefly and retry with the same key |
411 | LENGTH_REQUIRED | Missing or non-numeric Content-Length header | Send exact payload byte length in Content-Length |
413 | INVALID_FILE_SIZE | Payload is empty or exceeds 100 MB | Compress or split the recording under 100 MB |
415 | UNSUPPORTED_MEDIA_TYPE | Content-Type is not audio/*, video/*, or application/octet-stream | Set an appropriate media MIME type |
429 | RATE_LIMITED | Exceeded 120 requests/minute per workspace | Slow polling cadence and retry with backoff |
503 | QUEUE_UNAVAILABLE / TASK_UNAVAILABLE | Transcription queue is temporarily paused or busy | Retry with backoff using the same Idempotency-Key |
200 (job failed) | TRANSCRIPTION_FAILED | Worker could not finish transcription (e.g., silent or corrupt media) | Inspect source audio track and resubmit with a fresh key |