Problem: Send Email V2 errors with a Status 502 - Bad Gateway when there are attachments greater than 3MB
I’ve read a number of posts across different communities that identify the same issue I am experiencing. The issue appears to be down to the GRAPH API which is used by the “Send Email V2” flow action having an attachment size limit of 4MB.
Aside from the limit being too low for many business processes, I am finding that even when attachments do not exceed 4MB they aren’t getting through. In my tests, I find that anything above 3MB generates the errors seen. I have 3 PDF attachments totalling 3.21 MB on disk (3,371,008 bytes) yet this still fails to get through.
Questions:
1. Does anyone have a workaround for this issue that they can point me to?
2. Does the GRAPH API team have plans to increase this limit to something more appropriate to todays email environments?
Any new insights about these E-Mail-Attachments Size Limits?
This is not a solution for me. I need to send attachments to external vendors who do not have access to my SharePoint sites. Uploading attachments to a library is therefore not an option. Why is this limit so low?? This is a complete deal breaker. Just when I thought I had the (absurdly complicated) attachment issue resolved, my users hit this size limit. WHY?
Hey @Gunsmoke125
No problem! Were you able to resolve? If this question is resolved, please mark the response that helped you as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @Gunsmoke125
Sounds good. If it's necessary, then there's no way to work around it :).
Hope I helped and anything else, please let me know.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
Thanks for the suggestion @manuelstgomes. Your suggestion is great and I do use that approach for most of our file sharing flows, but this case does require that we send the attachments to several recipients. I’m pretty sure other people will see your suggestion and find it very useful.
Thanks @yashag2255 , that looks like it might work for me!
I’ll give it a try.
Hi @Gunsmoke125
I can answer the first question.
There's a workaround I use all the time to avoid these issues. I usually upload files to a SharePoint or a OneDrive and then just get a share link and send that in the emails.
There's a couple of advantages:
I've opted not to send files in emails at all, even if I'm sending emails from Outlook.
I don't know if this is a possibility, but it's a solution that has been working wonderfully for me.
If it doesn't, please let me know and we'll figure this out together.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
Hey @Gunsmoke125
You can probably check this one out:
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,079
Most Valuable Professional