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 / 504 Bad Gateway on Sen...
Power Automate
Unanswered

504 Bad Gateway on Send an Email (V2)

(1) ShareShare
ReportReport
Posted on by 5

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

Categories:
I have the same question (0)
  • LKGITS Profile Picture
    7 on at

    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 Profile Picture
    8,504 Most Valuable Professional on at

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

     

     

     

     

  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    @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 Profile Picture
    8,504 Most Valuable Professional on at

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

  • LKGITS Profile Picture
    7 on at

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

  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    @LKGITS 

     

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

  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

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

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard