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 Automate / The image is not of ty...
Power Automate
Unanswered

The image is not of type PNG or JPG. Please provide an image of type PNG or JPG. HELP

(0) ShareShare
ReportReport
Posted on by

Hi everyone, 

 

I am trying to create a flow where it starts with an MS form submission, then the responses get populated to a Microsoft Word template in Sharepoint, where it is created a copy of this document, converted to pdf, and sent to the user.

 

flow.PNG

 

In the word doc template, I have text and image fields where I need the user to upload pictures when filling out the form. The issue is that every time I run the flow, I get the message "The image is not of type PNG or JPG. Please provide an image of type PNG or JPG.".

issue1.PNG

081d681d-a2f3-4133-ab3b-a7d6e8e5f8df.png

Any idea how can I make it work?

 

Thank you.

 

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @raq3-- ,

     

    In fact, the attachment column returned by the form is not the file content itself.

    Please take a look at this post.

    Grab and send files from MS Forms through Outlook - Power Platform Community (microsoft.com)

     

    Best Regards,

    Wearsky

  • davidboti Profile Picture
    42 on at

    Hello in the end you have managed to solve that problem because I have the same problem as you, if so I would appreciate it if you told me how. Thank you

  • kapfranos Profile Picture
    3 on at

    I found a solution in this post that worked for my use case (generating a poster with image from information in an MS form) - https://powerusers.microsoft.com/t5/Building-Flows/Embedding-Image-from-MS-Forms-uploaded-image-to-Word-Document/td-p/1488943 

     

    You'll first need to run a compose function before the Parse JSON action, run a test, copy the output from the compose and use that as the 'Generate from sample' in the Parse JSON. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard