Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Python PDF Services API Error Timeout

Community Beginner ,
Mar 05, 2023 Mar 05, 2023

I'm facing an issue when extracting a pdf. It only has 5 pages in total and it gave me a timeout error as below. 

 

ERROR MESSAGE:

description =ERROR - Unable to extract content. Internal error: Processing timeout; requestTrackingId=ec3aebd4-c2a8-49dd-a9bd-0a7864a7f2bd; statusCode=500; errorCode=TIMEOUT

 

However, when I split the document into individual pages and hit the API for each page, the extraction works fine. So, I tried increasing the timeout config using the code below, but that does not seem to work. It is still giving me the same error.

 

 

client_config = ClientConfig.builder().with_connect_timeout(200000).with_read_timeout(600000).build()

 

 

Does anyone have any idea to resolve this?

 

672
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 19, 2024 Apr 19, 2024
LATEST

me too

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources