Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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

  • CFernandes Profile Picture
    8,295 Most Valuable Professional on at
    Re: 504 Bad Gateway on Send an Email (V2)

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

     

  • CFernandes Profile Picture
    8,295 Most Valuable Professional on at
    Re: 504 Bad Gateway on Send an Email (V2)

    @LKGITS 

     

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

  • LKGITS Profile Picture
    7 on at
    Re: 504 Bad Gateway on Send an Email (V2)

    @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,295 Most Valuable Professional on at
    Re: 504 Bad Gateway on Send an Email (V2)

    @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 Profile Picture
    8,295 Most Valuable Professional on at
    Re: m hereRe: 504 Bad Gateway on Send an Email (V2)

    @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,295 Most Valuable Professional on at
    Re: 504 Bad Gateway on Send an Email (V2)

    @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 Profile Picture
    7 on at
    m hereRe: 504 Bad Gateway on Send an Email (V2)

    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.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics