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

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Word Online connector reads image as text (Base64 issue)

(0) ShareShare
ReportReport
Posted on by 20

Hi everyone,

I’m trying to insert an image dynamically into a Word template using Power Automate.

I used “Get file content using path” and then converted it with base64(body('Get_file_content_using_path')), but the Word Online connector keeps reading it as text/plain instead of an actual image.

 

I tried using $content-type: "image/png" and $content with the base64 output, but still get the same error:

 

“The request entity’s media type ‘text/plain’ is not supported.”

 

How can I make Word Online recognize my image as an actual image (not text)?

Is there a working example of the correct dynamicFileSchema format for this?

 

 

I have the same question (0)
  • Tomac Profile Picture
    2,768 Moderator on at
    Word Online connector reads image as text (Base64 issue)
    Duplicate thread, see this thread for discussion of the issue
  • Suggested answer
    developerAJ Profile Picture
    4,100 on at
    Word Online connector reads image as text (Base64 issue)
     
    you are missing the json structure you need to provide curly braces outside
     

    Please let us know if the issue still exists. If it has been resolved, kindly close the thread by accepting the solution

     

    If this solution helped you resolve your issue, kindly mark it as accepted — it makes it easier for others to find and also closes the discussion. If you found it useful, a Like ❤️ would be greatly appreciated!

    🏷️ Please tag me @developerAJ if you still have any queries or issue persists.

    🤝 Let’s connect on LinkedIn 

    📘 Explore more on my articles

    🐱‍💻 Github Link

  • developerAJ Profile Picture
    4,100 on at
    Word Online connector reads image as text (Base64 issue)
    Please close both the threads or tag me if solution does not work
     
    formula in my pic you dont need to change binary output of getfile content is itself supported
    {
            "-1435433579""@body('Get_file_content')"
    }
     
     
  • CU13101239-0 Profile Picture
    20 on at
    Word Online connector reads image as text (Base64 issue)
    it is not valid json
  • developerAJ Profile Picture
    4,100 on at
    Word Online connector reads image as text (Base64 issue)
    click on peek code and send it 
     
    this is something you are getting at your end only. there could be something you are doing.
     
    Try deleting action and readd the code if it still does not work click peekcode by using threedots of contol. than you see code copy paste here
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

Last 30 days Overall leaderboard