parserkit errors are JSON with a stable code, a message and a request id, 33 codes in all. Failed jobs cost nothing; 600 requests a minute per key. $0.02 a page, 50 pages free ($1 credit).

Errors and limits

Files can be up to 100 MB and 250 pages a job. This page covers the error shape, every code, what a failed job returns, how to retry without paying twice, and each rate limit.

Updated

Error shape

Every error returns JSON shaped like { "error": { "code", "message", "request_id", ... } }. Branch your code on code, because message is written for people. Every response also carries a Request-Id header matching request_id; quote it when you report a problem. Some codes add extra fields: issues on 400s, version, limit or inbox_ids on 409s, upload_id, bytes and sha256 on an upload 409, and billing_url on 402.

GET/v1/jobsA request without a keycurl
curl https://api.parserkit.com/v1/jobs
401 UnauthorizedLive response, Nov 7, 2026
request-id: a5690ccb387e911f
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "send your API key as 'Authorization: Bearer pkit_live_...'",
    "request_id": "a5690ccb387e911f"
  }
}

A 405 response includes an Allow header. Both 429 and 503 responses include a Retry-After header.

Error codes

The API has 31 error codes, plus 2 codes (SOURCE_CHANGED and BUDGET_EXHAUSTED) that only appear on failed jobs, making 33 in all. The Failed job column marks the codes a job can fail with after acceptance.

Error codes
CodeStatusFailed jobWhen
INVALID_REQUEST400NoThe body or query is wrong. issues lists each problem with its path.
INVALID_SCHEMA400NoA custom schema or field rule breaks the schema rules. issues names the path.
UNAUTHORIZED401NoNo key, or a key that is unknown or revoked.
INSUFFICIENT_CREDIT402YesYour balance does not cover the job. Carries required_micros, available_micros and billing_url.
FORBIDDEN403NoA files link with a bad signature, or an action only the dashboard may take.
PLAN_REQUIRED403NoCreating or changing inboxes, and the vault, need Pro.
HTTPS_REQUIRED403NoThe request came over plain http. Rotate the key you sent.
NOT_FOUND404NoNo such route or resource, or a file that no longer exists.
SOURCE_NOT_FOUND404YesThe upload_id has no file yet, or a failed job could not fetch its source (422).
JOB_NOT_FOUND404NoNo job with that id on this account.
METHOD_NOT_ALLOWED405NoWrong method. Allow lists the right ones.
REQUEST_TIMEOUT408NoThe request body stalled. Send it again.
IDEMPOTENCY_CONFLICT409NoThe Idempotency-Key was used for a different request in the last 24 hours.
CONFLICT409NoA stale schema version, a taken inbox address, an account limit, or an upload that is still arriving.
UPLOAD_ALREADY_RECEIVED409NoThe upload already has its file. Carries upload_id, bytes and sha256.
UPLOAD_EXPIRED410NoThe upload link expired. Create a new upload.
FILE_TOO_LARGE413YesOver 25 MB as multipart, 100 MB by URL or upload, or past the text or table-cell limit.
UNSUPPORTED_FORMAT415YesThe file type is not supported.
PASSWORD_REQUIRED422YesThe document is password-protected. Send password or use the vault.
TOO_MANY_PAGES422YesThe document has more pages than the job allows.
CORRUPT_FILE422YesThe file is damaged or is not a readable document.
LLM_REFUSED422YesThe model refused to read the document.
RATE_LIMITED429YesA rate limit or daily cap. Wait for Retry-After.
BUSY429NoCapacity for accounts without a payment is full. Try again shortly.
CONTENT_REFUSALS429YesToo many refused documents today. New jobs resume at 00:00 UTC.
INTERNAL500YesSomething went wrong on our side.
NOT_IMPLEMENTED501NoA feature that is not available yet.
LLM_UNAVAILABLE502YesThe extraction model was unavailable. Try again shortly.
OCR_UNAVAILABLE502YesText recognition was unavailable. Try again shortly.
CONTAINER_UNAVAILABLE503YesNo parsing capacity was free, or a result can't be read right now. Retry-After says when.
TIMEOUT504YesThe job ran out of time.
SOURCE_CHANGED409YesThe uploaded file changed after the job started.
BUDGET_EXHAUSTED422YesThe document needed more processing than its page budget allows.

Failed jobs

A job can fail after the API accepts it. Its status becomes failed, error holds a fixed code and message, and cost_usd is 0. If your request waited for the job, the API responds with the matching HTTP status and the job object in the body.

POST/v1/parseA job that failscurl
curl https://api.parserkit.com/v1/parse -H "Authorization: Bearer $PARSERKIT_API_KEY" -F file=@statement-locked.pdf -F preset=bank_statement
422 Unprocessable ContentLive response, Nov 7, 2026
request-id: a5690cf47a7465dd
{
  "error": {
    "code": "PASSWORD_REQUIRED",
    "message": "The document is password-protected. Send its password or save it in the vault.",
    "request_id": "a5690cf47a7465dd"
  },
  "job": {
    "id": "job_xsv1pqyrteusylx8tgnc",
    "status": "failed",
    "preset": "bank_statement",
    "file": {
      "name": "statement-locked.pdf",
      "bytes": 32174,
      "kind": null
    },
    "pages": null,
    "cost_usd": 0,
    "error": {
      "code": "PASSWORD_REQUIRED",
      "message": "The document is password-protected. Send its password or save it in the vault."
    }
  }
}

The job envelope is trimmed. A failed job costs 0.

This request sent a password-protected PDF without a password and got 422 PASSWORD_REQUIRED with the job in the body. If you poll with ?wait=0 or use a webhook, you see the same error object on the job.

Retry safely

Retry 429, 502, 503 and 504 responses after Retry-After or a short wait. Fix your request before you retry any other 4xx error. An INTERNAL (500) error is our fault; retrying once is fine, and you should report the request_id if it repeats.

Send an Idempotency-Key header on POST /v1/parse so a retry cannot create a second job. Sending the same key returns the same job for 24 hours. Sending the same key on a different request returns 409 IDEMPOTENCY_CONFLICT.

POST/v1/parseRetry with an Idempotency-Keycurl
curl https://api.parserkit.com/v1/parse \
  -H "Authorization: Bearer $PARSERKIT_API_KEY" \
  -H "Idempotency-Key: receipt-10482" \
  -F file=@receipt-lindqvist.jpg \
  -F preset=receipt

curl https://api.parserkit.com/v1/parse \
  -H "Authorization: Bearer $PARSERKIT_API_KEY" \
  -H "Idempotency-Key: receipt-10482" \
  -F file=@receipt-lindqvist.jpg \
  -F preset=invoice
200 OKFirst call, and the same call againLive response, Nov 7, 2026
request-id: a5690cbf7afc1e26
{
  "id": "job_iqvgm0mxduotdq9igyl9",
  "status": "succeeded",
  "cost_usd": 0
}
409 ConflictSame key, different presetLive response, Nov 7, 2026
request-id: a5690ccacf1fd3a8
{
  "error": {
    "code": "IDEMPOTENCY_CONFLICT",
    "message": "this Idempotency-Key was used for a different request in the last 24 hours",
    "request_id": "a5690ccacf1fd3a8"
  }
}

Bodies are trimmed. Sending the first request again returned the same job.

Try it on a sample

An exact duplicate of a file you already parsed with the same file, preset and options also comes back free, with duplicate naming the first job.

Rate limits

Rate limits apply per API key, account, host, inbox or IP address.

Rate limits
WhatLimitCounted per
API requests600 a minuteKey
MCP tool callsAbout 300 a minuteKey
Running jobs8 by defaultKey
Running jobs2, or 12 once the account added creditAccount
New jobs5,000 a UTC dayKey
Upload bytes20 GiB a UTC day per key, 50 GiB per accountKey and account
Schema drafts from a sample30 a UTC dayAccount
file_url fetches60 a minute, retried later instead of failedAccount and host
Webhook attempts60 a minuteAccount and host
Inbound mail120 a minuteInbox and sender
Failed sign-ins30 a minuteIP address

Daily caps reset at 00:00 UTC, and their Retry-After header can be up to 86,400 seconds. Failing work slows down: 30 failed jobs in the past hour, or failed processing spend over today and yesterday above $0.50 and above 25% of charges, returns 429 RATE_LIMITED. 50 documents refused by the model in a UTC day return 429 CONTENT_REFUSALS until midnight UTC. Accounts without a payment share capacity; when it is full, new jobs return 429 BUSY with Retry-After.

File and job limits

These limits cover file sizes, page counts, archive depth, content volume, run time and retention. A file over a limit is refused with FILE_TOO_LARGE or TOO_MANY_PAGES, at no cost.

File and job limits
LimitValue
Multipart file25 MB
file_url and /v1/uploads100 MB
Pages a job250
Email message25 MiB
ZIP2 levels deep, 200 entries, 500 MB unpacked
Text a job300,000 words
Table cells a job2,000,000
Job run time10 minutes
?wait=0 to 60 seconds, default 60
Idempotency-Key replay24 hours
Upload linkPUT within 1 hour, parse within 20 hours, 100 open links
Output linksAt least 1 hour
Results and files7 days, 90 days on Pro
Pages for text filesDOCX, HTML and email: 1 page per 3,000 characters. XLSX and CSV: 1 page per 50 rows.

Questions

Do failed jobs cost money?

No. A failed job has cost_usd set to 0, and an exact duplicate of a job you already ran is also free.

Which errors should I retry?

Retry 429, 502, 503 and 504 after Retry-After or a short wait. Fix the request before retrying other 4xx errors.

How do I retry without creating two jobs?

Send the same Idempotency-Key header on POST /v1/parse. It returns the same job for 24 hours.

What is the largest file I can send?

You can send up to 25 MB as multipart, 100 MB by file_url or /v1/uploads, and up to 250 pages a job.

How many jobs can run at once?

A key runs up to 8 jobs at once by default. An account can run 2 jobs at once until it adds credit, then 12.

NextPython

Your first $1 is free, 50 pages with every check and export.