scanned_pages_not_supported
- HTTP-status
- 422 Unprocessable Content
Hvad skete der
A page has no text layer, for example a scan. No OCR runs. pages lists the pages; allowPagesWithoutText true processes the rest.
Hvad du kan gøre
Send allowPagesWithoutText true to process the other pages, or make the scanned pages readable first.
Eksempel
JSON
{
"error": "scanned_pages_not_supported",
"pages": [2],
"request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
"doc_url": "https://developers.komplai.dk/errors/scanned_pages_not_supported"
}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/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)