Skip to content

Errors

API error codes

Every API error uses the schema in REST API. The docs field links to the code's row on this page. A job that fails after it was accepted reports the same codes in its error object (GET /v1/jobs/{id}) and in the SSE failed event.

Code HTTP Meaning
invalid_request 400 The request is malformed: bad JSON, unknown option or profile, unknown query parameter. detail.fields lists field problems when available.
turnstile_required 401 This instance needs a Turnstile challenge for URL jobs; send turnstile_token.
turnstile_failed 403 The Turnstile token could not be verified.
unauthorized 401 An API key is required or the key is invalid.
forbidden 403 The caller may not access this job or feature (for example residential fetches for this key).
not_found 404 No such job, or it has expired. Job ids are not enumerable.
method_not_allowed 405 The method is not supported on this path.
job_not_ready 409 The job is not done (or not waiting for input); detail.state has its state.
input_too_large 413 The upload or fetched body exceeds the limit; detail has the limit.
unsupported_media_type 415 The detected type is an executable (detail.reason executable) or no converter on this instance handles it (no_converter); detail.mime is the detected type. Uploads get this before a job is created; a fetched URL body fails its job with it.
url_blocked 422 The URL failed the SSRF guard: disallowed scheme, userinfo, or a private, loopback, link-local, or metadata address.
platform_disabled 422 The host is disabled by this instance's platform policy.
experimental_disabled 422 Only an experimental converter handles this input, and experimental converters are turned off on this instance.
extra_required 422 The converter for this input needs an optional extra (for example ezmd[data] for Parquet) that this instance does not have; message names it.
sandbox_unavailable 422 The converter for this input must run in a sandbox on this instance (LibreOffice under bubblewrap, EZMD_REQUIRE_SANDBOX=1) and the sandbox cannot run here; see Self-hosting.
fetch_depth_exceeded 422 A converter asked for more nested fetches than allowed.
result_too_large 422 The conversion result exceeded EZMD_MAX_RESULT_BYTES.
rate_limited 429 A rate limit was hit; retry after Retry-After seconds.
conversion_failed 500 The converter failed; message is the converter's user-safe message.
internal_error 500 An unexpected server error; quote the request_id when reporting it.
not_implemented 501 The feature exists in the contract but is not built yet (for example format=docx).
fetch_failed 502 The URL could not be fetched.
queue_unavailable 503 The queue is down or the global active-job cap is reached; retry after Retry-After seconds.
turnstile_unavailable 503 The instance could not get a verdict from Turnstile siteverify (unreachable, or its secret was rejected). Not the visitor's fault; retry after Retry-After seconds. The operator sees the cause in the API log.
timeout 504 The conversion exceeded its time limit.

CLI exit codes

Code Meaning
0 Success.
1 Generic failure.
2 Bad arguments, missing file, or missing dependency: an optional extra the input needs (extra_required), whether no converter is available or the converter wrote a stub saying so.
3 Partial success: a usable result with an error-severity warning (the output is still written), or batch failures with --continue-on-error.
4 Fetch blocked by platform policy.
5 Input too large.
6 Unsupported type (unsupported_media_type).
130 Interrupted.

Warnings

Successful conversions can still carry warnings (for example extraction_empty or removed_hidden_elements). They are listed in the frontmatter warnings key, in the sidecar with details, in the CLI's stderr, and as SSE warning events. See Warning codes.