Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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.

 

  • kapfranos Profile Picture
    3 on at
    Re: The image is not of type PNG or JPG. Please provide an image of type PNG or JPG. HELP

    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. 

  • davidboti Profile Picture
    42 on at
    Re: The image is not of type PNG or JPG. Please provide an image of type PNG or JPG. HELP

    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

  • v-xiaochen-msft Profile Picture
    on at
    Re: The image is not of type PNG or JPG. Please provide an image of type PNG or JPG. HELP

    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

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492