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.

已提問 1 年前檢視次數 298 次
1 個回答
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
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南