cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FoDelement
Continued Contributor
Continued Contributor

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

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
Community Support
Community Support

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.

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

 

 

 

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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,133)