
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.
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')
I have no errors in the flow. Data is first being uploaded from this list to a sharepoint file:
As you can see above, array valuable is called 'Report'. Then send an email:
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.
Any idea why this is happening and what the solution may be? Many Thanks!
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":
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.