HI:
I work in VB.net and C# in Visual Studio (mainly 2022).
I downloaded the Adobe pdf samples and created private.key and pdfservices-api-credentials.json files. The authentication works fine in the ExportPDFToDocx sample project, even after I moved that project to a new Visual Studio solution.
When I create a new VB.net or C# project in a new solution, the authentication no longer works. The app just hangs at "Refreshing the session token". See log below. This happens in both VB.net and C# projects.
I suspect I am missing something basic. Do I need a new private key and json file for each project or solution?
Thanks.
Log:
2023-01-16 18:26:06,096 [1] INFO Adobe.PDFServicesSDK.core.service.ExportPDFService - Exporting a pdf to format docx from Local File source:exportPdfInput.pdf
2023-01-16 18:26:06,134 [1] DEBUG Adobe.PDFServicesSDK.core.auth.JwtAuthenticator - Session token has been expired. Required to refresh the token
2023-01-16 18:26:06,135 [1] DEBUG Adobe.PDFServicesSDK.core.auth.JwtAuthenticator - Refreshing the session token.
2023-01-16 18:34:17,170 [1] INFO Adobe.PDFServicesSDK.core.service.ExportPDFService - Exporting a pdf to format docx from Local File source:exportPdfInput.pdf
2023-01-16 18:34:17,211 [1] DEBUG Adobe.PDFServicesSDK.core.auth.JwtAuthenticator - Session token has been expired. Required to refresh the token
2023-01-16 18:34:17,211 [1] DEBUG Adobe.PDFServicesSDK.core.auth.JwtAuthenticator - Refreshing the session token.
2023-01-16 18:36:13,920 [1] INFO Adobe.PDFServicesSDK.core.service.ExportPDFService - Exporting a pdf to format docx from Local File source:exportPdfInput.pdf
2023-01-16 18:36:13,960 [1] DEBUG Adobe.PDFServicesSDK.core.auth.JwtAuthenticator - Session token has been expired. Required to refresh the token
2023-01-16 18:36:13,960 [1] DEBUG Adobe.PDFServicesSDK.core.auth.JwtAuthenticator - Refreshing the session token.
2023-01-16 18:43:31,193 [1] INFO Adobe.PDFServicesSDK.core.service.ExportPDFService - Exporting a pdf to format docx from Local File source:exportPdfInput.pdf
2023-01-16 18:43:31,231 [1] DEBUG Adobe.PDFServicesSDK.core.auth.JwtAuthenticator - Session token has been expired. Required to refresh the token
2023-01-16 18:43:31,231 [1] DEBUG Adobe.PDFServicesSDK.core.auth.JwtAuthenticator - Refreshing the session token.