use_job
- HTTP-status
- 413 Content Too Large
Hvad skete der
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.
Hvad du kan gøre
Send the same body as a text job (POST /v1/redact/jobs), or this call with the header Prefer: respond-async.
Eksempel
JSON
{
"error": "use_job",
"estimatedSeconds": 540,
"holdSeconds": 300,
"request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
"doc_url": "https://developers.komplai.dk/errors/use_job"
}Hvert svar har headeren Request-Id, og en fejl gentager den som request_id. Oplys den, når du spørger komplai om et kald.
Endpoints, der kan returnere den
- POST
/v1/redactPseudonymise a text - POST
/v1/redact/filePseudonymise the text of a PDF or Word file (beta)