Copy link to clipboard
Copied
Hello!
I am a newbie here. I am trying to run the example as shown in the link below:
Python | Quickstarts | PDF Extract API | Adobe PDF Services
I went through all the steps mentioned above but when trying to execute the code, it fails with the below error message. I looked at the credentials.json file that was downloaded and there is no mention of private key there. Should I be setting a default value for this private key? If not, where would I find the private key?
Appreciate any help you can on this.
Copy link to clipboard
Copied
Same problem here. I believe there is supposed to be a private.key file in the samples but I can't find it anywhere in the downloaded zip file.
Copy link to clipboard
Copied
Private keys are no longer used. You can see that just the client id and secret are:
credentials = Credentials.service_principal_credentials_builder()
.with_client_id(os.getenv('PDF_SERVICES_CLIENT_ID'))
.with_client_secret(os.getenv('PDF_SERVICES_CLIENT_SECRET'))