cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FoDelement
Level 8

Issue with an email with attachments

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

4 REPLIES 4
Dual Super User
Dual Super User

Re: Issue with an email with attachments

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!

Community Support Team
Community Support Team

Re: Issue with an email with attachments

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,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
FoDelement
Level 8

Re: Issue with an email with attachments

@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.

 

 

 

Community Support Team
Community Support Team

Re: Issue with an email with attachments

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-a...

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

 

Best Regards,

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (7,063)