Skip to main content
Participant
July 31, 2023
Question

Invalid Parameter Error - Generate document from Word Template

  • July 31, 2023
  • 1 reply
  • 752 views

I am building a power automate flow to take information submitted in a power app and create a pdf that can be sent for signatures. I keep getting Invalid Parameter errors when I get to the "Generate document from Word template" action. I have converted practically all my JSON to strings. After I parse the JSON in the flow, it all looks fine (see screenshot below). I use a compose action before the "Generate document from Word template" action because if I manually build the merge data, my nested data is not available.

 

I am not finding much of this error so I'm not sure where to look to find where it is failing. Any help would be greatly appreciated.

 

    This topic has been closed for replies.

    1 reply

    Participant
    September 1, 2023

    I had the same error, the issue ended up being in my JSON file. In my case, I had double quotes around an array but I imagine a number of formatting issues can cause this error. If you can post your entire JSON file I can take a look for you.