Skip to content

file_too_large

413 File too large. Retry: Not as it is: change the request first. It can also end a job that has started, as the job’s error.code; failed jobs cost nothing.

When it happens

The file, or the files of a job together, are larger than the plan, test mode, the endpoint or the engine takes. detail names the limit; base64 refusals carry it as max_file_bytes.

What to do

Send larger files as uploads rather than base64 or POST /v1/convert, use a live key instead of a test key, or move to a plan that takes larger files.

Example

413 application/problem+json
{
"type": "https://formatjet.com/docs/errors/file_too_large",
"title": "File too large",
"status": 413,
"code": "file_too_large",
"detail": "…",
"request_id": "req_01JBXA3Q6P0R2S4T6V8W0X2Y4Z"
}

Endpoints