• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

PDF Creation times out/hangs

New Here ,
Jun 13, 2024 Jun 13, 2024

Copy link to clipboard

Copied

Hello, I am having trouble creating a PDF from a word document. When this method is called:

   public FileRef CreatePDF(FileRef sourceFileRef)

   {

       CreatePDFOperation createPDFOperation = CreatePDFOperation.CreateNew();

       createPDFOperation.SetInput(sourceFileRef);

       return createPDFOperation.Execute(_executionContext);

   }

It hangs on the last line (createPDFOperation.Execute), and the operation times out. The executionContext has the correct credentials, and I am able to merge PDFs with the same credentials. As for the sourceFileRef, I am able to write the bytes to a file locally, so the data seems fine. I have attached the test file I am trying to convert.

It may be worth mentioning that this method is located in a common package in a .net project, and hangs when I call it from a web app, but succeeds when I call it from an Azure function. 

Any advice would be appreciated, thanks!

TOPICS
PDF Services API

Views

77

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources