processing_complexity_exceeded
- HTTP-status
- 413 Content Too Large
Hvad skete der
The text needs more work than its length allows: more candidate matches or matched characters than the per-character bounds in /v1/access, coreference matching work beyond its per-character bound (for example one name nested inside itself thousands of times), or more time for the organisation rules than their limit, which grows with the text and the number of rules. The bounds grow with the text, so splitting it rarely helps. Nothing partial is returned.
Hvad du kan gøre
Check the text for long repetitive patterns, or ask your organisation's administrator to simplify its rules. Splitting the text rarely helps.
Et tekstjob kan også ende med denne kode. Koden står så i feltet error i jobbets status.
Eksempel
{
"error": "processing_complexity_exceeded",
"request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
"doc_url": "https://developers.komplai.dk/errors/processing_complexity_exceeded"
}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)