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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow - populate word t...
Power Automate
Unanswered

Flow - populate word template not working - Error executing the api '/api/templates/schema'

(0) ShareShare
ReportReport
Posted on by

I have created a word template (as .docx) with a single plain text control. 

 

I have saved this in OneDrive. But when I try to use the word connector to update the text control, the following error occurs in the flow step: 

 

2019-12-09 10_27_40-FSD - Template.docx - Word.png2019-12-09 10_27_26-Edit your flow _ Microsoft Power Automate.png

Categories:
I have the same question (0)
  • Krishna92 Profile Picture
    Microsoft Employee on at

    @james-matson 

     

    I think you have not selected the right template when creating the word document.

    Please check the thread below for reference regarding the same issue and let me know if that helps.

     

    https://powerusers.microsoft.com/t5/Connecting-To-Data/FLOW-Populate-Word-Template-Error-executing-the-api-api/td-p/308385

     

    If this information helps you, please hit the like button and mark the solution as resolved, so that it will help other users in future.

  • JamesM Profile Picture
    271 on at

    I am using the Developer tab to create the property - is that not correct? See below. It's plain text.

     

    2019-12-09 13_40_55-FSD - Template.docx - Word.png

  • Krishna92 Profile Picture
    Microsoft Employee on at

    @JamesM 

     

    That's the right way to achieve the scenario not sure where it is failing.

    Could you please try removing the Word action card and re-add it again to check if that helps.

     

  • v-bacao-msft Profile Picture
    on at

     

    Hi @james-matson ,

     

    Did you encounter this error while configuring Populate a Microsoft Word template action?

    When configuring the required parameters of this action, please configure it through the drop-down option or File browse. It is not recommended to manually enter the parameter values.

    Also, please refer to this similar thread and see if it helps:

    https://powerusers.microsoft.com/t5/Building-Flows/Error-Populating-a-word-template/m-p/416304#M47927

     

    Best Regards,

  • JamesM Profile Picture
    271 on at

    Hi all, removing and re-adding the action solved this issue. The flow ran successfully, but when I check the template, the plain text control value remains unchanged. No errors were encountered. Perhaps I'm not understanding how to do this properly? The flow even correctly makes a new copy of the document in OneDrive for Business, but the copied file also remains unchanged (text value is still the template default). 

     

    2019-12-10 09_16_01-Run History _ Microsoft Power Automate.png

  • v-bacao-msft Profile Picture
    on at

     

    Hi @JamesM ,

     

    Here is no need to configure the Get file content action, you just need to configure Create file action using the Microsoft Word Document output by Populate a Microsoft Word template.

     

    Best Regards,

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard