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

MS Forms to "Generate document from Word template" Invalid Parameter with "long answer"

Community Beginner ,
Mar 21, 2024 Mar 21, 2024

Copy link to clipboard

Copied

I am trying to populate a Word document template from a Microsoft Forms response I am doing this using the "Generate document from MSFT Forms data and Word template, send via E-mail" flow in Power Automate which uses the  "Adobe PDF Services" connector.

 

All the template fields get filled-in fine if the form field is a single text field line, but if any field is a textarea... called "Long answer" in Forms, this results in an "Invalid Parameter" error.  

I cannot find any information on how to insert the relevant field in the json in such a way as it does not throw the error each time.

 

Has anyone else had this problem and can you suggest anything we could try?

 

TIA

 

Screenshot 2024-03-20 at 10.29.04.pngScreenshot 2024-03-20 at 10.28.38.png

 
TOPICS
Document Generation API , PDF Services API , Power Automate

Views

190

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
Community Beginner ,
Mar 21, 2024 Mar 21, 2024

Copy link to clipboard

Copied

We have tried the two ideas suggested here: by @Ben Vanderberg , i.e. remove quotes or add an initialize variable step. We still get the Invalid Parameter error.

If I test a form using the long answer fields but without line breaks in my response then the flow seems to work, it only breaks when a response contains linebreaks,  e.g. a list or a number of paragraphs.

 

 

Votes

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
Community Beginner ,
Mar 27, 2024 Mar 27, 2024

Copy link to clipboard

Copied

LATEST

Any ideas?  It should be possible to include a textarea as well as a single text field?

Votes

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
Resources