Copy link to clipboard
Copied
Hello,
I'm trying to extract the content of a PDF using the Adobe API (I used the python code offered by Adobe), but I get this error message:
INFO:adobe.pdfservices.operation.internal.pdf_services_helper:Started uploading asset
ERROR:root:Exception encountered while executing operation: description =Exception in fetching access token, requestTrackingId=(<class 'adobe.pdfservices.operation.exception.exceptions.SdkException'>, SdkException('Request could not be completed. Possible cause attached !', (<class 'requests.exceptions.SSLError'>, SSLError(MaxRetryError("HTTPSConnectionPool(host='pdf-services-ue1.adobe.io', port=443): Max retries exceeded with url: /token ( Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)')))")), <traceback object at 0x000001F91A4C5180>)), <traceback object at 0x000001F91A4C7F40>)
Can anyone explain to me the reason for the problem and how to solve it?
Thanks in advance.
Copy link to clipboard
Copied
I tried using curl (rather than python) following the steps described here, but on the first request I got the following error:
curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.
I would like to manually add the API certificate to the list of allowed certificates, where can I find it?
Copy link to clipboard
Copied
I've got no clue - I've never needed to worry about SSL certs when using Node or Python with the APIs.
Copy link to clipboard
Copied
I'm getting similar SSL error as well when trying to upload pptx file using the example python script
adobe.pdfservices.operation.exception.exceptions.SdkException: description =Request could not be completed. Possible cause attached!, requestTrackingId=(<class 'requests.exceptions.SSLError'>, SSLError(MaxRetryError("HTTPSConnectionPool(host='dcplatformstorageservice-prod-us-east-1.s3-accelerate.amazonaws.com', port=443): Max retr
ies exceeded with url: /
Copy link to clipboard
Copied
I got the same error in Python and Node.js example from Adobe. Any solution?
Copy link to clipboard
Copied
If you switch from the SDK to a direct REST API call, does it work?
Copy link to clipboard
Copied
Please turn off your internet security, somethinglike, kaspersky. It will work.