Skip to main content
Participating Frequently
October 20, 2021
Question

raise SdkException("Request could not be completed. Possible cause attached!", sys.exc_info())

  • October 20, 2021
  • 1 reply
  • 3534 views

Hi team,

 

When I tested PDF Extract API whith a sample pdf file it was working fine, but occassionaly I am getting below mentioed exception for the same pdf file. What could be the reason for this? And how to handle such exceptions? Thank you!

 

EXCEPTION:

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(ProtocolError('Connection aborted.', timeout('The write operation timed out',)),), )

This topic has been closed for replies.

1 reply

Adobe Employee
October 21, 2021

Hi Ashish5C1E,

The error message "The write operation timed out" indicates that the upload is not completing. Since you mentioned that the issue is intermittent, it could be a combination of a large file size and your network quality. If you can share the request id in one of the responses where you receive this error we can look further. It would also help us to troubleshoot if you could share your original file either by posting here or sharing via email to extractapi@adobe.com.

Participating Frequently
October 26, 2021

Hi Chris, 

The pdf contains sensitive data and I can't share it. For the extraction I am using the below-mentioned python code, with that, I am unable to find the request-id. Can you please let me know how can I get the request-id? 

 

GIT - https://github.com/adobe/pdfservices-python-sdk-samples

 

Thank you!

Adobe Employee
October 26, 2021

Hi Ashish5C1E,

The request id should be included in the API response. If you don't have the original response, if you could share the request id the next time you see the error, we'll take a look. We won't be able to see the content, but we will be able to see if there are any errors within our pipeline.