API reference

Errors

Every error is an RFC 9457 problem document with a stable code. Branch on the code; the wording may change.

The shape

Errors come as application/problem+json with type, title, status, code, detail and request_id. type links to the code's row below. Quote the request_id — also sent as X-Request-Id — if you ask us about a request. See RFC 9457.

Codes

Counted means the request used one of your month's requests.

CodeStatusMeaningCounted
bad_request400The request is malformed, e.g. not multipart/form-data.Yes
unauthorized401No API key was sent.No
invalid_api_key401The key is malformed or unknown.No
key_revoked401The key was revoked. Create a new one in the dashboard.No
account_suspended403The account is suspended.No
not_found404No such endpoint.No
method_not_allowed405Wrong method, e.g. GET on /v1/check. The Allow header says which.No
length_required411The Content-Length header is missing.No
file_too_large413The file is over 50 MB.No
unsupported_file_type415The file is not .xlsx, .docx or .pptx.Yes
missing_file422No multipart field named file.Yes
empty_file422The file has no bytes.Yes
archive_too_large422The file expands to more than 250 MB unpacked.Yes
too_many_entries422The archive holds too many parts to be a real document.Yes
encrypted_package422Password-protected. /v1/check answers unsupported instead.Yes
legacy_binary_format422A pre-2007 file with a new extension. /v1/check answers unsupported.Yes
empty_package422The archive holds no parts. /v1/check answers unsupported.Yes
container_unreadable422There is no Office package inside to recover.Yes
openxml_validation_failed422The repaired file still failed validation, so none was returned.Yes
rate_limited429Too many requests this minute. Wait for Retry-After.No
quota_exceeded429This month's quota is used up. Retry-After is the reset.No
daily_limit429A daily limit was reached. Try again tomorrow.No
internal_error500Something failed on our side. Retry; quote the request_id if it persists.No
upstream_unavailable502The repair service is unavailable. Retry shortly.No
validator_unavailable503The validation engine is down, so repaired files are withheld. Retry shortly.No
at_capacity503The service is busy. Wait for Retry-After.No
upstream_timeout504The file took too long to process. Retry once.No