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 Platform Community / Forums / Power Automate / Attachments on email s...
Power Automate
Unanswered

Attachments on email sending through as invalid files

(0) ShareShare
ReportReport
Posted on by 7

Hi all,

 

So I'm trying to send multiple attachments on an email at the end of my flow. However, my attachments in the email sent out are being sent as invalid files with a file size of 1KB.

poweruser11_7-1614793298787.png

 

 

The attachments in questions are being fed to the flow through a sharepoint list: (I've circled my trigger for the flow, which starts when the box is changed to 'Yes')

 

poweruser11_0-1614792778943.png

I have no errors in the flow. Data is first being uploaded from this list to a sharepoint file:

 

poweruser11_1-1614792919830.png

poweruser11_2-1614792982452.png

poweruser11_3-1614793013660.png

As you can see above, array valuable is called 'Report'. Then send an email:

poweruser11_4-1614793064222.png

poweruser11_5-1614793087701.png

 

The above successfully uploads to SharePoint (I'm able to see the files when I check the folder and able to open them. File size is correct).

 

However, when I get the email, while all attachments are there, file size is 1KB.

 

poweruser11_6-1614793259835.png

Any idea why this is happening and what the solution may be? Many Thanks!

Categories:
I have the same question (0)
  • Verified answer
    v-yiwenxie-msft Profile Picture
    Microsoft Employee on at
    Re: Attachments on email sending through as invalid files

    Hi @poweruser11 

     

    The reason why your file size is 1 KB is that your "ContentBytes" in "Append to array variable" is filled with wrong dynamic content, it should be filled with the dynamic content "Attachment Content" from the action "Get attachment content":

    3.4-1.PNG

     

    If the problem still exists, please feel free to let me know.

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard