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.

asked a year ago284 views
1 Answer
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
S_Moose
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions