Create PDF File in Sharepoint

  • N
    Najmi Faiz
    Asked on April 10, 2026 at 12:27 AM

    Hi, Im able to create a pdf file inside a sharepoint list and folder as screenshotted below;
    Create PDF File in Sharepoint Image 1 Screenshot 60
    Create PDF File in Sharepoint Image 2 Screenshot 71

    But when i try to open the file, it will show this error

    Create PDF File in Sharepoint Image 3 Screenshot 82

    why does this issue happens? I believe i have selected all the right dynamic content


    Here's my power automate flow for your reference;
    Create PDF File in Sharepoint Image 4 Screenshot 93

    Create PDF File in Sharepoint Image 5 Screenshot 104

  • Profile Image
    Podo: Support Specialist
    Replied on April 10, 2026 at 12:27 AM

    Hi,

    Thanks for sharing the details of your Power Automate flow and the issue with opening the PDF file created in your SharePoint folder. The error message "We can't open this file" typically indicates that the PDF file content might be corrupted or not properly generated.

    Based on your description and the flow setup where you use dynamic content to create the PDF file, here are some common reasons why this issue happens and how to troubleshoot it:

    • File Content Issue: The dynamic content used for the File Content field in the "Create file" action might not be the actual binary content of the PDF. Ensure that you are passing the correct file content output from the previous step that contains the PDF file data, not just metadata or a file URL.
    • Incorrect File Name or Extension: Verify that the file name ends with .pdf and does not contain invalid characters. Sometimes, incorrect naming can cause SharePoint or PDF readers to fail opening the file.
    • File Creation Timing: If the file is created before the PDF content is fully available or processed, it might result in an incomplete or corrupted file.
    • Encoding or Conversion Problems: If the PDF content is coming from a source that requires decoding or conversion, make sure this step is correctly handled before creating the file in SharePoint.

    To help you further, please double-check the dynamic content you are using for the File Content in your flow. It should be the actual file content output from the Jotform submission or any PDF generation step, not just a link or file name.

    If possible, try to download the created PDF file from SharePoint and open it with a different PDF reader to confirm if the issue is with the file itself or the SharePoint viewer.

    Let me know if you need guidance on verifying or adjusting your Power Automate flow steps.

    Give it a try and let us know how it goes.

Your Reply