# Errors

> Every error is `application/problem+json` (RFC 9457) with a stable `code`. Find the code below and follow its `retry` rule. The same table is available as JSON: https://faraatarjomeh.com/api/v1/docs/errors.json.

## At a glance

- Branch on `code`, never on `detail` text.
- A code you do not know: use the rule for its HTTP status — `429` and `503` → `retry_later`; other `5xx` → `check_then_retry`; `409` → `refresh_then_retry`; other `4xx` → `do_not_retry`.
- Idempotency: `4xx` and `503` answers are not stored (the same `Idempotency-Key` can be sent again after a fix); `500`, `502`, `504` are stored and replayed.
- `needsUser: yes` means the account owner must act (top up, verify email, new key …). Tell them; do not loop.

## Retry rules

| `retry` | Meaning |
|---|---|
| `do_not_retry` | The same request fails again. Change what the error names first (ask the user if needsUser). Nothing was done, so after the fix the same Idempotency-Key may be reused. |
| `refresh_then_retry` | Read the resource again (GET), rebuild the request from the fresh state, then send it. Nothing was done by the failed request. |
| `retry_later` | Send the same request again with the same Idempotency-Key, after Retry-After seconds if sent, otherwise with exponential backoff (2s, 4s, 8s ... max 5 min). |
| `check_then_retry` | The outcome is unknown and this answer is stored under the Idempotency-Key (a resend with it replays the error). Check whether the work happened (list the jobs, or the ledger with ?jobId=). Only if it did not, send again with a NEW Idempotency-Key after a pause. |
| `wait` | Do not send anything. The job is already running; poll it or wait for its webhook. |

## Problem body

```json
{
  "type": "https://faraatarjomeh.com/api/v1/docs/errors#error-insufficient-credits",
  "title": "Payment Required",
  "status": 402,
  "detail": "Insufficient credits",
  "instance": "/api/v1/translate/start/3f1c2b7e-9a4d-4c1e-8f7a-2b9c4d5e6f70",
  "code": "INSUFFICIENT_CREDITS",
  "request_id": "5f0b8d2e-1c3a-4b7e-9d6f-0a1b2c3d4e5f",
  "balance": 12,
  "estimatedCost": 40
}
```

## Codes

| code | HTTP | retry | needs user | meaning and action |
|---|---|---|---|---|
| <a id="error-invalid-api-key"></a>`INVALID_API_KEY` | 401 | `do_not_retry` | yes | The API key is missing, malformed, revoked, or unknown. Check the key and send it as `Authorization: Bearer fara_sk_...`. |
| <a id="error-api-key-expired"></a>`API_KEY_EXPIRED` | 401 | `do_not_retry` | yes | The API key has passed its expiry date. Create a new key on the website. |
| <a id="error-account-disabled"></a>`ACCOUNT_DISABLED` | 403 | `do_not_retry` | yes | The account that owns this key is disabled. |
| <a id="error-api-key-route-not-allowed"></a>`API_KEY_ROUTE_NOT_ALLOWED` | 403 | `do_not_retry` | no | This endpoint is not available with an API key (for example login, password, buying Fara, or key management). Use the website for it. |
| <a id="error-connection-not-allowed"></a>`CONNECTION_NOT_ALLOWED` | 403 | `do_not_retry` | no | A key from a connected AI assistant cannot change account settings, webhooks, or delete anything. Use the website for it. |
| <a id="error-insufficient-scope"></a>`INSUFFICIENT_SCOPE` | 403 | `do_not_retry` | yes | The key does not have the scope this request needs. The problem body has `requiredScope` (`read` or `write`). |
| <a id="error-api-disabled"></a>`API_DISABLED` | 403 | `retry_later` (≥ 10 min) | no | API access is switched off right now. Try again later. |
| <a id="error-email-not-verified"></a>`EMAIL_NOT_VERIFIED` | 403 | `do_not_retry` | yes | The account email is not verified yet. Verify it on the website first. |
| <a id="error-rate-limited"></a>`RATE_LIMITED` | 429 | `retry_later` | no | Too many requests. Wait for the number of seconds in `Retry-After`, then retry. |
| <a id="error-invalid-idempotency-key"></a>`INVALID_IDEMPOTENCY_KEY` | 400 | `do_not_retry` | no | `Idempotency-Key` must be 1-255 visible ASCII characters. A UUID is a good choice. |
| <a id="error-idempotency-key-in-use"></a>`IDEMPOTENCY_KEY_IN_USE` | 409 | `retry_later` | no | A request with this `Idempotency-Key` is still running. Wait for `Retry-After` and send it again to get the stored answer. |
| <a id="error-idempotency-key-reused"></a>`IDEMPOTENCY_KEY_REUSED` | 422 | `do_not_retry` | no | This `Idempotency-Key` was already used for a different request. Use a new key for a new request. |
| <a id="error-idempotency-key-already-used"></a>`IDEMPOTENCY_KEY_ALREADY_USED` | 409 | `do_not_retry` | no | This `Idempotency-Key` was already used and its answer (a file, or a very large body) cannot be replayed. `originalStatus` has the first answer's status. Use a new key to run the request again. |
| <a id="error-invalid-cursor"></a>`INVALID_CURSOR` | 400 | `do_not_retry` | no | `startingAfter` is not a valid cursor. Use an `id` or `nextCursor` from a previous page. |
| <a id="error-invalid-limit"></a>`INVALID_LIMIT` | 400 | `do_not_retry` | no | `limit` must be a whole number from 1 to 100. |
| <a id="error-feature-not-enabled"></a>`FEATURE_NOT_ENABLED` | 403 | `do_not_retry` | yes | This feature is in early access and is not turned on for your account. Ask us to turn it on; sending the request again will not help. |
| <a id="error-spend-limit-reached"></a>`SPEND_LIMIT_REACHED` | 402 | `do_not_retry` | yes | This API key has reached the spend limit its owner set for the period (`spendLimit`, `spent` and `required` are in the body). The account may still have Fara: the owner raises the limit on the website (`limitsUrl` in the body), or the period rolls over (UTC day or month). |
| <a id="error-invalid-audio-url"></a>`INVALID_AUDIO_URL` | 400 | `do_not_retry` | no | `audioUrl` is not a public https URL (no user name or password, at most 4096 characters, not a private address). |
| <a id="error-invalid-file-url"></a>`INVALID_FILE_URL` | 400 | `do_not_retry` | no | `fileUrl` is not a public https URL (no user name or password, at most 4096 characters, not a private address). |
| <a id="error-file-url-fetch-failed"></a>`FILE_URL_FETCH_FAILED` | 422 | `do_not_retry` | no | We could not download `fileUrl`: the host answered with an error, redirected more than 3 times, sent an empty file, or the download stopped. Nothing was created or charged. Check the link and send the request again. |
| <a id="error-audio-url-fetch-failed"></a>`AUDIO_URL_FETCH_FAILED` | 422 | `retry_later` | no | We could not download `audioUrl`: the host answered with an error, redirected more than 3 times, sent an empty file, or the download stopped. Nothing was created or charged. Check the link (a presigned link may have expired) and send the request again. |
| <a id="error-invalid-max-fara"></a>`INVALID_MAX_FARA` | 400 | `do_not_retry` | no | `maxFara` must be a number of Fara of 0 or more (0 is valid when the price is 0). Send a number such as `12`, or leave it out. |
| <a id="error-price-changed"></a>`PRICE_CHANGED` | 409 | `refresh_then_retry` | yes | The price of the tool is now above the `maxFara` you sent. `faraCharged` in the body is the new price. Nothing was held or charged. Show the new price to the user; if they agree, send the request again with a `maxFara` at or above it. |
| <a id="error-bad-chunk"></a>`BAD_CHUNK` | 400 | `do_not_retry` | no | The chunk index is outside the upload, or the chunk is not the right length for its index (every chunk is `chunkSize` bytes except the last, which is the rest). `expectedBytes` gives the right length when the index is valid. |
| <a id="error-chunk-digest-mismatch"></a>`CHUNK_DIGEST_MISMATCH` | 422 | `retry_later` | no | The chunk's bytes do not match its `Content-Digest` header, so it was not stored. Send the same chunk again. |
| <a id="error-upload-not-found"></a>`UPLOAD_NOT_FOUND` | 404 | `do_not_retry` | no | No upload with this `uploadId` on this account (or it was cancelled). |
| <a id="error-upload-expired"></a>`UPLOAD_EXPIRED` | 410 | `do_not_retry` | no | The upload passed its `expiresAt` (24 hours after it started) and its chunks were deleted. Start a new upload. |
| <a id="error-upload-incomplete"></a>`UPLOAD_INCOMPLETE` | 409 | `refresh_then_retry` | no | A job was created from an upload that is missing chunks. `missing` lists the missing indexes (`missingCount` how many). Send them, then create the job again. |
| <a id="error-upload-already-used"></a>`UPLOAD_ALREADY_USED` | 409 | `do_not_retry` | no | This upload already made a job (`jobId` in the body). One upload makes one job. A resend with the first request's `Idempotency-Key` gets the first answer instead. |
| <a id="error-upload-checksum-mismatch"></a>`UPLOAD_CHECKSUM_MISMATCH` | 422 | `do_not_retry` | no | The joined file does not match the `sha256` sent when the upload started. Nothing was created or charged. Upload the file again. |
| <a id="error-upload-limit-reached"></a>`UPLOAD_LIMIT_REACHED` | 409 | `do_not_retry` | no | The account has the most uploads in progress allowed (`maxOpenUploads`). Create a job from one, or cancel one, first. |
| <a id="error-invalid-translation-options"></a>`INVALID_TRANSLATION_OPTIONS` | 400 | `do_not_retry` | no | `translationMode` must be `standard` or `economy`. `keepLayout`, `summary`, `noSummary` and `translateImages` must be true or false. |
| <a id="error-translation-mode-unavailable"></a>`TRANSLATION_MODE_UNAVAILABLE` | 400 | `do_not_retry` | no | The economy translation mode is not available for this account. Use `standard`. |
| <a id="error-economy-needs-text-layer"></a>`ECONOMY_NEEDS_TEXT_LAYER` | 400 | `do_not_retry` | no | The economy mode needs a PDF with a text layer. Scanned files need `standard`. |
| <a id="error-economy-unavailable"></a>`ECONOMY_UNAVAILABLE` | 503 | `retry_later` | no | The economy mode is not available right now. Retry after the `Retry-After` seconds, or use `standard`. |
| <a id="error-invalid-target-language"></a>`INVALID_TARGET_LANGUAGE` | 400 | `do_not_retry` | no | `targetLanguage` must be one of `fa`, `en`, `ar`, `de`, `fr`, `es`, `ru`, `tr`, `zh`. |
| <a id="error-tool-needs-persian-translation"></a>`TOOL_NEEDS_PERSIAN_TRANSLATION` | 409 | `refresh_then_retry` | no | This tool (summary, slides, mind map, LinkedIn posts, podcast, audiobook) writes Persian, so it works only on a translation into Persian. |
| <a id="error-target-language-needs-persian-source"></a>`TARGET_LANGUAGE_NEEDS_PERSIAN_SOURCE` | 400 | `do_not_retry` | no | A `targetLanguage` other than `fa` is accepted only for a document the analysis found to be in Persian (`sourceLanguageNotice: "persian"`). |
| <a id="error-translation-mode-switch-not-allowed"></a>`TRANSLATION_MODE_SWITCH_NOT_ALLOWED` | 400 | `do_not_retry` | no | Only a failed economy job whose failure came from our side can be switched to `standard` on retry. |
| <a id="error-translation-mode-switch-conflict"></a>`TRANSLATION_MODE_SWITCH_CONFLICT` | 409 | `refresh_then_retry` | no | The job changed while the switch was starting. Refresh the job and try again. |
| <a id="error-translation-mode-unreadable"></a>`TRANSLATION_MODE_UNREADABLE` | 503 | `retry_later` | no | The translation mode of the job could not be read or saved. Try again later. |
| <a id="error-images-choice-closed"></a>`IMAGES_CHOICE_CLOSED` | 409 | `refresh_then_retry` | no | No choice on the pictures is open for this job: it is not `images_waiting`, or another choice was already made. Sending the same choice again answers the stored result. |
| <a id="error-content-format-invalid"></a>`CONTENT_FORMAT_INVALID` | 400 | `do_not_retry` | no | `content` does not match `format`: `json` needs an object or array, `markdown` and `html` a string, `strings` a string or an array of strings. |
| <a id="error-content-too-large"></a>`CONTENT_TOO_LARGE` | 413 | `do_not_retry` | no | Too much text in one request (more than 20,000 strings or 1,000,000 characters). Split the content into several requests; translation memory keeps the terms the same across them. |
| <a id="error-job-not-finished"></a>`JOB_NOT_FINISHED` | 409 | `do_not_retry` | no | Only a finished job (completed, failed or cancelled) can be deleted. Cancel it first, or wait for it to finish. |
| <a id="error-meeting-not-running"></a>`MEETING_NOT_RUNNING` | 409 | `refresh_then_retry` | no | The meeting stopped (failed or cancelled) while the names were being saved. Nothing was renamed. |
| <a id="error-speaker-quote-not-found"></a>`SPEAKER_QUOTE_NOT_FOUND` | 422 | `do_not_retry` | no | A `quote` in the speakers list is not in this meeting's transcript. `index` says which entry. Copy the words from the transcript (`GET /api/v1/meetings/jobs/{id}/transcript`). Nothing was renamed. |
| <a id="error-speaker-quote-ambiguous"></a>`SPEAKER_QUOTE_AMBIGUOUS` | 422 | `do_not_retry` | no | The same words were said by more than one person. `candidates` lists who said them and when (`speakerId`, `startSeconds`). Send a longer quote, or `atSeconds` near the right one. Nothing was renamed. |
| <a id="error-speaker-quote-conflict"></a>`SPEAKER_QUOTE_CONFLICT` | 422 | `do_not_retry` | no | Two entries disagree: a quote belongs to a different speaker than the `speakerId` sent with it, or two entries give one speaker different names. `index` says which entry. Nothing was renamed. |
| <a id="error-meeting-not-finished"></a>`MEETING_NOT_FINISHED` | 409 | `wait` | no | This meeting tool needs a completed meeting. Wait for `meeting.completed` (or poll the job) and send the request again. |
| <a id="error-meeting-has-no-minutes"></a>`MEETING_HAS_NO_MINUTES` | 409 | `do_not_retry` | no | The meeting was made with `output: transcript`, so it has no minutes to summarise. Make minutes first with POST /api/v1/meetings/jobs/{id}/documents (early access). |
| <a id="error-transcript-not-ready"></a>`TRANSCRIPT_NOT_READY` | 409 | `wait` | no | The meeting has no timed transcript to work from yet (for speaker names: wait until the job's `stage` is past `transcribing`). |
| <a id="error-minutes-not-ready"></a>`MINUTES_NOT_READY` | 409 | `wait` | no | The meeting has no minutes to work from yet. |
| <a id="error-document-not-ready"></a>`DOCUMENT_NOT_READY` | 409 | `wait` | no | The document is still being made (or failed); check its `state`. |
| <a id="error-document-limit-reached"></a>`DOCUMENT_LIMIT_REACHED` | 409 | `do_not_retry` | no | The meeting already has the most extra documents it can keep (50). |
| <a id="error-instruction-not-applicable"></a>`INSTRUCTION_NOT_APPLICABLE` | 422 | `do_not_retry` | yes | The revision could not be made from that instruction. Reported on the job (`minutesRevision.error`) with a message to show the user; nothing is charged. |
| <a id="error-feature-disabled"></a>`FEATURE_DISABLED` | 404 | `retry_later` (≥ 10 min) | no | This tool is switched off right now. Video and meeting endpoints answer 404, and so does the translation price call (GET /api/v1/translate/{jobId}/tools/price) while price-first is off; audio, text to speech, transcription, and proofreading answer 503 with the same code. Try again later. |
| <a id="error-insufficient-credits"></a>`INSUFFICIENT_CREDITS` | 402 | `do_not_retry` | yes | Not enough Fara for this request. The problem body may include `balance`, `estimatedCost`, `cost`, or `required`, and (for API keys) `shortfall` and `topUpUrl`: give the user `topUpUrl`, where they add Fara on the website (an API key cannot buy Fara), then try again. |
| <a id="error-chargeback-liability-outstanding"></a>`CHARGEBACK_LIABILITY_OUTSTANDING` | 402 | `do_not_retry` | yes | A payment on this account was reversed and is not settled yet, so no new Fara can be held. Contact support. |
| <a id="error-spend-lock-busy"></a>`SPEND_LOCK_BUSY` | 503 | `retry_later` | no | A connected AI assistant's spending is being checked by another request right now. Retry after `Retry-After` seconds. |
| <a id="error-credit-reservation-unavailable"></a>`CREDIT_RESERVATION_UNAVAILABLE` | 503 | `retry_later` | no | Fara could not be held right now for a temporary reason. Your balance is fine. Retry after `Retry-After` seconds. |
| <a id="error-hold-not-found"></a>`HOLD_NOT_FOUND` | 409 | `do_not_retry` | no | The Fara held for this job is gone, so the job cannot go on. For approve calls the job is cancelled. Create a new job. |
| <a id="error-invalid-pdf"></a>`INVALID_PDF` | 400 | `do_not_retry` | no | The file is not a valid PDF. |
| <a id="error-invalid-page-range"></a>`INVALID_PAGE_RANGE` | 400 | `do_not_retry` | no | The page range is not valid: the numbers are not whole, the first page is after the last, a side is missing, or the range covers the whole file (translate the whole file instead). With `chapters`, the list is empty or names a chapter that does not exist. |
| <a id="error-page-range-out-of-bounds"></a>`PAGE_RANGE_OUT_OF_BOUNDS` | 400 | `do_not_retry` | no | A page in the range is outside the file. Pages run from 1 to the page count. |
| <a id="error-page-range-not-contiguous"></a>`PAGE_RANGE_NOT_CONTIGUOUS` | 400 | `do_not_retry` | no | The chapters picked are not next to each other. Pick one run of chapters. |
| <a id="error-page-range-parent-is-part"></a>`PAGE_RANGE_PARENT_IS_PART` | 409 | `do_not_retry` | no | This job is already a part of a file. Start the part range from the whole file. |
| <a id="error-page-range-source-gone"></a>`PAGE_RANGE_SOURCE_GONE` | 410 | `do_not_retry` | no | The original file is no longer stored. Upload the file again. |
| <a id="error-page-range-unavailable"></a>`PAGE_RANGE_UNAVAILABLE` | 422 | `do_not_retry` | no | The pages could not be cut from the file, or the page count is not known. The whole file is not used instead. Change the range, or upload the file again. |
| <a id="error-page-range-empty"></a>`PAGE_RANGE_EMPTY` | 422 | `do_not_retry` | no | No readable text was found on the pages in the range. Translation has not started. Try another range. |
| <a id="error-page-range-busy"></a>`PAGE_RANGE_BUSY` | 409 | `retry_later` | no | The same page range is still being prepared by another request. Retry the same call after a few seconds; it then returns the part. |
| <a id="error-job-not-ready"></a>`JOB_NOT_READY` | 409 | `wait` | no | The job is not analysed yet (or is not in a state that allows this call). Wait until its status is `analyzed`, `completed` or `completed_partial`, then retry. |
| <a id="error-unsupported-file-type"></a>`UNSUPPORTED_FILE_TYPE` | 415 | `do_not_retry` | no | The file is not a PDF, a Word `.docx` or an EPUB file that we accept. An old Word `.doc` file is not accepted: save it as `.docx` or as PDF. Nothing was stored or charged. |
| <a id="error-document-protected"></a>`DOCUMENT_PROTECTED` | 422 | `do_not_retry` | no | The Word or EPUB file has a password or a publisher lock, and we cannot read it. Send a copy without the lock. Nothing was stored or charged. |
| <a id="error-invalid-document"></a>`INVALID_DOCUMENT` | 422 | `do_not_retry` | no | The Word or EPUB file could not be opened. If it opens on your computer, save it as a PDF and send the PDF. Nothing was stored or charged. |
| <a id="error-document-conversion-incomplete"></a>`DOCUMENT_CONVERSION_INCOMPLETE` | 422 | `do_not_retry` | no | We could not read every text part or picture of the Word or EPUB file, so we refused it rather than lose content. Save it as a PDF and send the PDF. Nothing was stored or charged. |
| <a id="error-document-conversion-failed"></a>`DOCUMENT_CONVERSION_FAILED` | 422 | `do_not_retry` | no | We could not prepare the Word or EPUB file. Save it as a PDF and send the PDF. Nothing was stored or charged. |
| <a id="error-too-many-pages"></a>`TOO_MANY_PAGES` | 422 | `do_not_retry` | no | The PDF has more than 1,000 pages. Books this long cannot be translated yet. `details.pageCount` and `details.maxPages` give the numbers. Nothing was stored or charged. |
| <a id="error-extraction-empty-or-scanned"></a>`EXTRACTION_EMPTY_OR_SCANNED` | 400 | `do_not_retry` | yes | No readable text was found and the file could not be accepted for reading from page images. |
| <a id="error-extraction-capacity-exceeded"></a>`EXTRACTION_CAPACITY_EXCEEDED` | 503 | `retry_later` | no | Too many documents are being read right now. Retry after `Retry-After` seconds. |
| <a id="error-extractor-resource-exhausted"></a>`EXTRACTOR_RESOURCE_EXHAUSTED` | 503 | `retry_later` | no | The document reader ran out of resources on this file. Retry later, or try a smaller file. |
| <a id="error-extractor-runtime-dependency"></a>`EXTRACTOR_RUNTIME_DEPENDENCY` | 503 | `retry_later` | no | The document reader is not fully available right now. Retry later. |
| <a id="error-extraction-timeout"></a>`EXTRACTION_TIMEOUT` | 504 | `check_then_retry` | no | Reading the document took too long. Retry later, or try a smaller file. |
| <a id="error-free-preview-unavailable"></a>`FREE_PREVIEW_UNAVAILABLE` | 403 | `do_not_retry` | no | The free first pages are switched off right now, or this job is the rest of a book that already had them. Start without `freePreview`. |
| <a id="error-free-preview-already-used"></a>`FREE_PREVIEW_ALREADY_USED` | 403 | `do_not_retry` | no | This account (or its phone number or email) already used its free first pages. Start without `freePreview`. |
| <a id="error-not-a-free-preview"></a>`NOT_A_FREE_PREVIEW` | 400 | `do_not_retry` | no | Only a job started with `freePreview` has a rest to translate. |
| <a id="error-preview-not-finished"></a>`PREVIEW_NOT_FINISHED` | 409 | `refresh_then_retry` | no | The free first pages are still being translated. Wait for the job to complete, then ask again. |
| <a id="error-preview-covered-whole-document"></a>`PREVIEW_COVERED_WHOLE_DOCUMENT` | 409 | `refresh_then_retry` | no | The document has no more pages than the free part, so nothing is left to translate. |
| <a id="error-preview-source-gone"></a>`PREVIEW_SOURCE_GONE` | 410 | `do_not_retry` | no | The original file of the preview is no longer stored. Upload the PDF again to translate it all. |
| <a id="error-invalid-execution-mode"></a>`INVALID_EXECUTION_MODE` | 400 | `do_not_retry` | no | `executionMode` must be `economy_batch` or `realtime` (or left out). Nothing was started. |
| <a id="error-translation-not-configured"></a>`TRANSLATION_NOT_CONFIGURED` | 503 | `retry_later` | no | Translation is not available right now. Try again later. |
| <a id="error-already-queued-or-processing"></a>`ALREADY_QUEUED_OR_PROCESSING` | 409 | `wait` | no | The job is already queued or running. |
| <a id="error-resend-in-progress"></a>`RESEND_IN_PROGRESS` | 409 | `wait` | no | A section retry is still running for this job. Try again when it finishes. |
| <a id="error-run-just-ended"></a>`RUN_JUST_ENDED` | 409 | `refresh_then_retry` | no | The running job finished while recovery was starting. Call recover again. |
| <a id="error-cancel-not-persisted"></a>`CANCEL_NOT_PERSISTED` | 503 | `retry_later` | no | The cancel could not be saved. Nothing changed. Try again. |
| <a id="error-admin-review-required"></a>`ADMIN_REVIEW_REQUIRED` | 423 | `do_not_retry` | yes | The job is locked while our team looks at it. No more retries are possible from your side. |
| <a id="error-retry-limit-reached"></a>`RETRY_LIMIT_REACHED` | 423 | `do_not_retry` | yes | The one free retry for this job was already used. |
| <a id="error-retry-state-persist-failed"></a>`RETRY_STATE_PERSIST_FAILED` | 503 | `retry_later` | no | The retry could not be recorded, so it was not started. Try again. |
| <a id="error-stale-revision"></a>`STALE_REVISION` | 409 | `refresh_then_retry` | no | The translation changed since you read it. Read it again and send the new `revision`. |
| <a id="error-job-busy"></a>`JOB_BUSY` | 409 | `retry_later` | no | Another change to this job is running. Try again in a moment. |
| <a id="error-job-lease-lost"></a>`JOB_LEASE_LOST` | 409 | `refresh_then_retry` | no | Another change to this job took over while this one ran. Read the job again before retrying. |
| <a id="error-degraded-retry-in-progress"></a>`DEGRADED_RETRY_IN_PROGRESS` | 409 | `wait` | no | A section retry for this job is already running. |
| <a id="error-degraded-retry-conflict"></a>`DEGRADED_RETRY_CONFLICT` | 409 | `refresh_then_retry` | no | The job changed while the section retry started. Read the job again before retrying. |
| <a id="error-legacy-pipeline-removed"></a>`LEGACY_PIPELINE_REMOVED` | 410 | `do_not_retry` | no | This older job cannot re-translate single sections. Upload the document again for a fresh translation. |
| <a id="error-media-too-long"></a>`MEDIA_TOO_LONG` | 400 | `do_not_retry` | yes | The video or audio is longer than this tool allows. |
| <a id="error-song-dubbing-unavailable"></a>`SONG_DUBBING_UNAVAILABLE` | 409 | `refresh_then_retry` | no | Singing songs in Persian (`songDubbing: true`) is not offered right now. Send the request again without `songDubbing`. |
| <a id="error-audio-source-too-long"></a>`AUDIO_SOURCE_TOO_LONG` | 400 | `do_not_retry` | yes | The audio file is longer than transcription allows. |
| <a id="error-service-busy"></a>`SERVICE_BUSY` | 503 | `do_not_retry` | no | The work could not be queued right now. The job is marked failed and its held Fara is released. Do not repeat the call; create a new job later. |
| <a id="error-file-too-large"></a>`FILE_TOO_LARGE` | 400 | `do_not_retry` | no | The file is larger than this endpoint allows (PDF 100 MB; recordings sent in one request 200 MB; recordings sent as a chunked upload 1 GB). Nothing was stored. `maxBytes` gives the limit for chunked uploads. |
| <a id="error-unsupported-video-file"></a>`UNSUPPORTED_VIDEO_FILE` | 400 | `do_not_retry` | yes | The uploaded file is not a video we can read, or its length could not be read. Send an MP4, MOV, MKV, WebM or AVI file that has a sound track. |
| <a id="error-youtube-unavailable"></a>`YOUTUBE_UNAVAILABLE` | 503 | `retry_later` (≥ 10 min) | no | YouTube is refusing our server right now. This is not a problem with your link, and it will not clear in a few minutes. Try again much later. |
| <a id="error-duplicate-job"></a>`DUPLICATE_JOB` | 409 | `wait` | no | An audio job for this translation is already running. `audioJobId` points to it. |
| <a id="error-source-audio-not-found"></a>`SOURCE_AUDIO_NOT_FOUND` | 409 | `do_not_retry` | no | The original audio is no longer stored, so the job cannot be retried. Create a new job. |
| <a id="error-pronunciation-generated-after-approval"></a>`PRONUNCIATION_GENERATED_AFTER_APPROVAL` | 422 | `do_not_retry` | no | Pronunciation text cannot be edited. It is made after you approve the review. |
| <a id="error-review-version-required"></a>`REVIEW_VERSION_REQUIRED` | 428 | `do_not_retry` | no | Review edits need an `If-Match` header with the job's current `reviewVersion`. |
| <a id="error-invalid-review-version"></a>`INVALID_REVIEW_VERSION` | 400 | `do_not_retry` | no | `If-Match` must be a whole number, bare (`3`) or quoted (`"3"`). |
| <a id="error-review-version-conflict"></a>`REVIEW_VERSION_CONFLICT` | 409 | `refresh_then_retry` | no | The review changed since you read it. `currentVersion` has the new version. Read the job again, then retry. |
| <a id="error-invalid-webhook-url"></a>`INVALID_WEBHOOK_URL` | 400 | `do_not_retry` | no | The webhook URL must be a valid public https URL with no user name or password. |
| <a id="error-webhook-host-unresolved"></a>`WEBHOOK_HOST_UNRESOLVED` | 400 | `do_not_retry` | no | The webhook host name does not resolve. |
| <a id="error-webhook-host-not-public"></a>`WEBHOOK_HOST_NOT_PUBLIC` | 400 | `do_not_retry` | no | The webhook host resolves to a private or local address. |
| <a id="error-invalid-events"></a>`INVALID_EVENTS` | 400 | `do_not_retry` | no | `events` must be a non-empty list of known event types, or `["*"]` for all. |
| <a id="error-invalid-enabled"></a>`INVALID_ENABLED` | 400 | `do_not_retry` | no | `enabled` must be true or false. |
| <a id="error-webhook-endpoint-limit-reached"></a>`WEBHOOK_ENDPOINT_LIMIT_REACHED` | 409 | `do_not_retry` | no | The account has the most webhook endpoints allowed. Delete one first. |
| <a id="error-bad-request"></a>`BAD_REQUEST` | 400 | `do_not_retry` | no | The request is not valid. `detail` says what is wrong. |
| <a id="error-unauthorized"></a>`UNAUTHORIZED` | 401 | `do_not_retry` | no | Authentication is required. |
| <a id="error-forbidden"></a>`FORBIDDEN` | 403 | `do_not_retry` | no | You cannot access this resource (for example, a job owned by another account). |
| <a id="error-not-found"></a>`NOT_FOUND` | 404 | `do_not_retry` | no | The resource does not exist, or it is not yours. |
| <a id="error-method-not-allowed"></a>`METHOD_NOT_ALLOWED` | 405 | `do_not_retry` | no | This HTTP method is not supported here. |
| <a id="error-conflict"></a>`CONFLICT` | 409 | `refresh_then_retry` | no | The request conflicts with the current state of the resource. Read it again and retry. |
| <a id="error-gone"></a>`GONE` | 410 | `do_not_retry` | no | The resource is no longer available. |
| <a id="error-precondition-failed"></a>`PRECONDITION_FAILED` | 412 | `do_not_retry` | no | A request precondition did not hold. |
| <a id="error-payload-too-large"></a>`PAYLOAD_TOO_LARGE` | 413 | `do_not_retry` | no | A text field is too long. The body may include `maxChars`. (An uploaded file over the size limit answers 400 `BAD_REQUEST` instead.) |
| <a id="error-unsupported-media-type"></a>`UNSUPPORTED_MEDIA_TYPE` | 415 | `do_not_retry` | no | The request body type is not supported. |
| <a id="error-unprocessable-content"></a>`UNPROCESSABLE_CONTENT` | 422 | `do_not_retry` | no | The request is well formed but cannot be processed. |
| <a id="error-locked"></a>`LOCKED` | 423 | `retry_later` | no | The resource is locked. |
| <a id="error-precondition-required"></a>`PRECONDITION_REQUIRED` | 428 | `do_not_retry` | no | The request needs a precondition header such as `If-Match`. |
| <a id="error-internal-error"></a>`INTERNAL_ERROR` | 500 | `check_then_retry` | no | Something failed on our side. Retry later and include `request_id` if you contact support. |
| <a id="error-upstream-error"></a>`UPSTREAM_ERROR` | 502 | `check_then_retry` | no | A service we depend on answered with an error. Retry later. |
| <a id="error-service-unavailable"></a>`SERVICE_UNAVAILABLE` | 503 | `retry_later` | no | The service is busy or briefly unavailable. Retry after `Retry-After` if it is sent. |
| <a id="error-upstream-timeout"></a>`UPSTREAM_TIMEOUT` | 504 | `check_then_retry` | no | A service we depend on took too long. Retry later. |
