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 Apps / Error for 'Populate a ...
Power Apps
Unanswered

Error for 'Populate a Microsoft Word Template'

(0) ShareShare
ReportReport
Posted on by 8

HGBH_0-1662568511423.png

got an error when I tried putting a word template into my flow. 

the error is :

The dynamic operation request to API 'wordonlinebusiness' operation 'GetFileSchema' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "There was an error opening the selected file. Please check the file and try again. clientRequestId: cf1a97fd-ecdf-4f01-9598-599ea03a79d5", "error": { "message": "There was an error opening the selected file. Please check the file and try again." }, "source": "wordonlinebusiness-eus2.azconn-eus2-002.p.azurewebsites.net" }

When i copied this error in google it said that the file needs plain text and not rich text. but when i look at the file it has plain text.

I also made sure to go into the file itself to see if i had access to it, and i actually do. 

 

Categories:
I have the same question (0)
  • AhmedSalih Profile Picture
    6,680 Moderator on at

    Hello, @HGBH, make sure that your Word document is closed before you run the flow. 

  • HGBH Profile Picture
    8 on at

    Hey, @AhmedSalih, I actually made sure the word document is close. and that is not the reason. i wish it was that simple.

  • SBax Profile Picture
    1,348 on at

    I have seen this issue before, I suspect it's around the type of content control you have in word.

     

    Do you have plain text controls or rich text controls containing plain text?

     

    Another think to check is that you haven't renamed or removed a control in word, and not updated that in your power automate

     

    You could check this by reselecting your word template in the populate word template step, save, then if there is a schema issue, your flow will error on saving 

  • HGBH Profile Picture
    8 on at

    @SBax tried this and i still get the same error. but thanks for suggesting it.

  • SBax Profile Picture
    1,348 on at

    Can you add a compose action, an add the fields you are passing in to that compose, then share the outputs please? 

  • Jacques1 Profile Picture
    33 on at

    Same issue here. Maybe related to organizational IP restrictions? IP address configuration - Power Automate | Microsoft Docs

  • Jacques1 Profile Picture
    33 on at

    I quickly created a simple document with one plain text control and that works. So no IP restrictions in my case. Now going to recreate the more complex template that currently results in the error. 

  • Jacques1 Profile Picture
    33 on at

    My issue is solved! Caused by a mailto: hyperlink.

  • HGBH Profile Picture
    8 on at

    the issue was resolved by just changing the connection. which was weird but it worked

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard