Skip to main content
Participant
February 20, 2023
Question

Trouble getting started

  • February 20, 2023
  • 0 replies
  • 194 views

I am so confused by the credentiation aspect of using Adobe Extract API I scarcely know where to begin.  I have a project and under Service Account (JWT) I can find ClientID, ClientSecret, Technical Account ID, Technical Account Email, Organization ID.  I can plug these values into my extract_txt_from_pdf.py in attempt to run the sample code to try and use python to access Adobe Extract API.  That file, of course, calls for a private key - more specifically a path to a private.key.txt file.  I can find no private key on my console.  When I click "generate public/private keypair" I do get a private key via a config file that inlcudes a private.key.txt file, and also includes a certificate_pub.crt file.  I have no idea what to do with the latter.  When I try to use the private key from the config file, (using the path to that file in extract_txt_from_pdf running the code throws this error:

 

"OSError: [Errno 22] Invalid argument: 'c:\\Users\\stand\\PDFExtractAPI\\<PDFExtractAPI/private.key>'"

This topic has been closed for replies.