cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ops_geo
Helper I
Helper I

PDF file from email is giving an error message when opened

Hello,

 

I have a flow that is working, however, it seems that the PDF files that are sent via email are giving this error when opened:

ops_geo_0-1669670685544.png

 

My flow is supposed to send the email attachment received in shared mailbox to the staff it is meant for, as well as create a folder in SharePoint where the PDF file is auto-saved. Everything works fine, however, when I or the staff go into the actual SharePoint folder to open the PDF file, we get the above error. Same thing when the staff opens the attachment they receive.

 

I am not sure what is causing the error since I can open the PDF file just fine when I open the PDF file directly from the shared mailbox inbox.

 

Here is my current flow set up:

 

ops_geo_1-1669671103598.png

 

 

ops_geo_3-1669671260885.png

 

File Content: triggerBody()?['PDFFileContent']

 

ops_geo_4-1669671344816.png

 

 

ops_geo_5-1669671489273.png

Attachment content: triggerBody()?['PDFFileContent']

 

If someone could please help me solve this issue, I would really appreciate that, thank you!

 

0 REPLIES 0

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,347)