cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vaibhav1989
Frequent Visitor

504 Bad Gateway on Send an Email (V2)

Hi,

 

I have a flow which sends an email based on checking few conditions. It was working fine till today morning. Suddenly now it is failing without any changes in the flow and giving below error on Send an Email (V2) step.

 

{"statusCode":504,"headers":{"Pragma":"no-cache","x-ms-datasourceerror":"True","x-ms-request-id":"90b1c640-f1ed-4db7-9472-c02bea1178d2","Strict-Transport-Security":"max-age=31536000; includeSubDomains","X-Content-Type-Options":"nosniff","X-Frame-Options":"DENY","Timing-Allow-Origin":"*","x-ms-apihub-cached-response":"true","Cache-Control":"no-store, no-cache","Date":"Thu, 01 Oct 2020 05:53:23 GMT","Set-Cookie":"ARRAffinity=75eb715df977f9cc8747c6e93018236935309083a7acad6cd06cb0ebad592e80;Path=/;HttpOnly;Domain=office365-ci.azconn-ci.p.azurewebsites.net","Content-Length":"484","Content-Type":"application/json","Expires":"-1"},"body":{"error":{"code":504,"source":"india-001.azure-apim.net","clientRequestId":"90b1c640-f1ed-4db7-9472-c02bea1178d2","message":"BadGateway","innerError":{"status":504,"message":"Request failed. Try again later.\r\nclientRequestId: 90b1c640-f1ed-4db7-9472-c02bea1178d2","error":{"message":"Request failed. Try again later."},"source":"office365-ci.azconn-ci.p.azurewebsites.net"}}}}

 

Can you please suggest what could be the issue here.

I have checked and found that one of the connection was showing as invalid connection. I have fixed the same but still when I tried a test run of the flow it failed with the same error.

 

Best Regards,

Vaibhav

7 REPLIES 7
LKGITS
New Member

The same problem also occurs here.

This morning our flows suddenly had errors.
I deleted all connections, logged out and logged in again and created the connections again.

When I select the connections in the flows the error comes back.

There seems to be a problem with the connections at the moment.

CFernandes
Super User
Super User

@Vaibhav1989 

 

Hey Mate,

 

The 504 Gateway Timeout error is an HTTP status code that means that one server did not receive a timely response from another server. The errors are usually Temporary,  Try to resubmit the Flow and see if you get the same error.

 

If the problem persist then try to update the connection of the corresponding action or re-create the connection, and then re-submit the Flow.

 

On a side note, the emails sent my Power Automate are arriving with delays today, so may be something is wrong from Microsoft's end.

 

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!

 

 

 

 

@LKGITS You are right... Seems to be something wrong with Office 365, email service or connections with Microsoft. I had approximately 20 minutes delay...

CFernandes
Super User
Super User

@Vaibhav1989  @LKGITS 

 

I got an update from Microsoft, There is an active incident with Exchange right now that is impacting email. 

 

CFernandes_0-1601539532807.png

 

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!

@CFernandes 

We have just received a message that there are problems with the exchange online service.
I think we have to wait until the problem is solved.

@LKGITS 

 

Yep... We all have to Wait. The problem is  also updated on the Office 365 Service Health dashboard. 

@LKGITS @Vaibhav1989 

 

This has been resolved.. 

 

CFernandes_0-1601925729177.png

 

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!

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,091)