use_job
- HTTP status
- 413 Content Too Large
What happened
The run cannot finish within the 300 seconds a synchronous call may take. estimatedSeconds is komplai's estimate from its measured speeds, with an empty queue; holdSeconds is the limit. Nothing was processed or charged. Send the same body as a text job (POST /v1/redact/jobs), or this call with Prefer: respond-async.
What to do
Send the same body as a text job (POST /v1/redact/jobs), or this call with the header Prefer: respond-async.
Example
JSON
{
"error": "use_job",
"estimatedSeconds": 540,
"holdSeconds": 300,
"request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
"doc_url": "https://developers.komplai.dk/errors/use_job"
}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/redactPseudonymise a text - POST
/v1/redact/filePseudonymise the text of a PDF or Word file (beta)