Skip to main content
Participant
March 17, 2023
Question

Unable to build credential object with pdf service sdk

  • March 17, 2023
  • 1 reply
  • 368 views

I am using adobe acrobat pdf service sdk to extract pdf files into json and excel files. My application is perfectly working in my windows system.

But when I have deployed it into a linux system, it is not working. There the program is exiting when my program is going to create and build the credential object as below:

Credentials credentials = Credentials.serviceAccountCredentialsBuilder().fromFile(<pdfservices-api-credentials file path>).build(); 

Even it is not throwing any error, it immediately exiting from the method.

    This topic has been closed for replies.

    1 reply

    Raymond Camden
    Community Manager
    Community Manager
    March 20, 2023

    Could be a path issue, obviously Linux does / whereas Windows does \. Did you correct that?