Direkt zum Inhalt

UnsupportedDocumentException: Request has unsupported document format When sending in a pdf with more than one page.

1

I keep getting UnsupportedDocumentException: Request has unsupported document format When sending in a pdf with more than one page. if its one page everything works fine.

gefragt vor 3 Jahren523 Aufrufe
1 Antwort
1

The synchronous DetectText API supports only 1-page PDF documents no larger than 10MB (source). These limits are in place because the API is synchronous and there is an expectation that the result will be returned quickly. A multi-page PDF document takes longer to process and can only be done with the asynchronous StartDocumentTextDetection API.

AWS
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.