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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue with an email wi...
Power Automate
Unanswered

Issue with an email with attachments

(0) ShareShare
ReportReport
Posted on by 435

Hello All,

 

I have a Flow that has been working for months without any issue, but randomly it stopped working. 

 

1.jpg

 

Above is the email with the attachment array. (which remained unchanged for months)

 

Below is the new error that I am getting. 

 

 

2.jpg

 

If I remove the attachment array, the email works. 

 

Below is how the attachment array is created.

 

3.jpg

 

I am open to suggestions. 😞

 

Thanks,

 

 

 

 

EDIT: This may be a bug, because I just tested it with "Send Email" non V2 and it worked. 

 

4.jpg

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @FoDelement 

     

    Could be a bug. Can you please try wrapping the "Name" : "DisplayName" (in the quotes as I can see that it is not wrapped in quotes in the append to array variable action in your flow)

     

    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!

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @FoDelement ,

     

    I tested it on my side using the same configuration but cannot reproduce a similar issue.

    Image reference:

    33.PNG

    Please try to update the connection and see if the issue still exists for Send an email (V2) action.

     

    Best Regards,

  • FoDelement Profile Picture
    435 on at

    @v-bacao-msft  Thank you for assiting with this, I currently have over 10 flows that are failing because of this, and it's pretty important we get it working again.

     

     

    The attachments are pictures, and they are a total size of about 4 MBs. 

     

    Here is the flow
    1.jpg

    2.jpg

     

    I made a new flow, with the same steps and it fails. If I send the exact same email, without the attachments, it works fine. 

     

    It appears to be the attachments. 

     

    I just tested it again, this time with multiple attachments that are not pictures, and it failed.

     

    However, I tested it with a bunch of attachments leaving the total under 2 MB and it works. It appears a file size limit was implemented? So, if the attachments are a combined total of about 2 MB, it's failing now.

     

     

     

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @FoDelement ,

     

    Thanks for your feedback!

    Please check this similar thread:

    https://powerusers.microsoft.com/t5/I-Found-A-Bug/Error-code-500-bad-gateway-send-an-email-V2-with-attachments/m-p/328228/highlight/false#M4890

    We have reported this issue, if there are any updates, we will post back.

     

    Best Regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard