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

PDF extraction fails with ConnectionError

New Here ,
Jan 24, 2025 Jan 24, 2025

Copy link to clipboard

Copied

I am getting Adobe services exception while running the Python SDK of Adobe PDF Extract API Service for extraction. Here is the error message:

 

raise SdkException("Request could not be completed. Possible cause attached!", sys.exc_info())
adobe.pdfservices.operation.exception.exceptions.SdkException: description =Request could not be completed. Possible cause attached!, requestTrackingId=(<class 'requests.exceptions.ConnectionError'>, ConnectionError(MaxRetryError("HTTPSConnectionPool(host='pdf-services-ue1.adobe.io', port=443): Max retries exceeded with url: /operation/extractpdf/b7134ad5-9876-43ed-a842-3462e804bcc8/status (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fcbf44019d0>: Failed to establish a new connection: [Errno 22] Invalid argument'))")), <traceback object at 0x7fccaaacd340>)

 

The error is reproducible. Two of the pdf files are somewhat large ~272 and 284 pages (about 9 MB each). i would appreciate any suggestion for what to fix or how to troubleshoot. I am new to this API and have processed several other pdf files without any issue. In fact, in this batch job of 28 files, things are progressing just fine for several minutes before the exception is raised. Also, in other jobs I have worked with files with around 350 pages and have had no problem.

 

 

 

Views

43

Translate

Translate

Report

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
no replies

Have something to add?

Join the conversation
Resources