web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Powerautomate Sharepoi...
Power Automate
Answered

Powerautomate Sharepoint to fill PDF flow JSON error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello!

I am attempting to do a flow that pulls from "Lists" in sharepoint. You will see below that it will only pull information when a certain field is filled in the list (that is what the condition is for). "Get the file content" is to get the PDF template that needs to be filled which then routes to "Fill in PDF Form" thorugh Plumsail. Under that step, it requests the JSON in which I have input dynamic content from the sharepoint List. Whenever I run a test, it fails on the "Fill in PDF Form" step saying: "The value should be a valid JSON object or array". I have used this same JSON to do a PDF fill from a Microsoft form with no issue but it is not working from this, am I missing something that should be done for this to work?

Here is the entire flow:

GB4_0-1626815643926.png

This is the JSON information under "Fill in PDF Form":

GB4_1-1626815679136.pngGB4_2-1626815688222.png

And here is the error that I am receiving when I run a test:

GB4_3-1626815719913.png

Any help would be greatly appreciated! Thank you!

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    I usually use something like this to verify my JSON schema.

     

    Also, check if there are any special characters in your values which may need to be escaped?  You can have a look here.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I did verify the JSON and it is valid according to that website you shared, I looked for special characters but I'm not sure what to look for exactly. I tried putting the forward slash in front of each quotation mark but it still did not work and came out with the same error.

    I also now adjusted it so the condition is in the trigger itself and everything is out of the condition now, just FYI

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I figured out my issue, some of the referenced sharepoints in the JSON were to a contact which were too big for the field in the PDF to handle, thank you for your help!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard