Saltar al contenido

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.

preguntada hace 3 años523 visualizaciones
1 Respuesta
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
respondido hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.