Passer au contenu

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.

demandé il y a 3 ans523 vues
1 réponse
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
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.