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

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard