Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Error executing the API - Populate Word Document flow

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I am trying to connect set up this flow using a word document. I can find the document (.docx) which is saved on a SharePoint site but it won't connect to the data and gives the error, 'Error executing the api '/api/templates/schema'. I can see people have had similar errors on here but can't work out how to resolve this.

 

Thanks,

 

Rachel

 
 
  • ChuckQ Profile Picture
    ChuckQ on at
    Re: Error executing the API - Populate Word Document flow

    You will get this error if you have ANY Rich Text controls in the .docx you select. Use plain text controls.

  • Verified answer
    v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: Error executing the API - Populate Word Document flow

     

    Hi @Anonymous ,

     

    Please check this discussion, it is mentioned here that the file is recommended to be stored in OneDrive for Business. If it is stored in SharePoint, there seem to be some problems.

    https://powerusers.microsoft.com/t5/Building-Flows/Word-Online-Business-Connector-Populate-a-Microsoft-Word/td-p/206836

    When selecting a file, please keep the file closed.

     

    In addition, I have a template here, you can create a word template based on this file. You can choose to store it in the SharePoint Library or OneDrive.

    Hope it helps.

     

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics