exceeds_ner_window
- HTTP status
- 413 Content Too Large
What happened
text is over 16,000 UTF-16 code units, or the body is over 100,000 bytes. Use POST /v1/redact for longer texts.
What to do
Send longer texts to POST /v1/redact, or split the text.
Example
JSON
{
"error": "exceeds_ner_window",
"request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
"doc_url": "https://developers.komplai.dk/errors/exceeds_ner_window"
}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/detectFind personal data in a text