file_too_complex
- HTTP status
- 413 Content Too Large
What happened
Reading the file took more than 120 seconds or more resources than allowed (memory, ZIP entries, XML size or depth).
What to do
Split the file, or send its text to POST /v1/redact or as a text job.
Example
JSON
{
"error": "file_too_complex",
"request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
"doc_url": "https://developers.komplai.dk/errors/file_too_complex"
}Every response carries a Request-Id header, and an error body repeats it as request_id. Quote it when you ask komplai about a call.
Endpoints that can return it
- POST
/v1/redact/filePseudonymise the text of a PDF or Word file (beta) - POST
/v1/redact/file/jobsSubmit a PDF or Word file as a text job (beta)