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 Automate
Unanswered

Bad Gateway Error

(1) ShareShare
ReportReport
Posted on by 54
I have contacted Microsoft Support about this and received a big fat, time-wasting non-answer.
 
How do I determine why my Gateway times out intermittently?
 
{
  "error": {
    "code"504,
    "source""flow-apim-msmanaged-na-centralus-01.azure-apim.net",
    "clientRequestId""ed2ee928-d3df-4457-b765-99aeef1f1b2a",
    "message""BadGateway",
    "innerError": {
      "status"504,
      "message""The request to the on-premises data gateway has timed out.\r\nclientRequestId: ed2ee928-d3df-4457-b765-99aeef1f1b2a",
      "error": {
        "message""The request to the on-premises data gateway has timed out."
      },
      "source""filesystem-ncus.azconn-ncus-001.p.azurewebsites.net"
    }
  }
}
Categories:
I have the same question (0)
  • emtronics Profile Picture
    on at
    Hi
    I have the same issue happening for the last two days in a flow that so far had been working fine.
     
    When I manually test it, it works fine, although some times it takes several minutes (in my case is a flow that takes and attachement (200kB excel file) form an email and places it in a shared folder located on premises.
     
    But the scheduled execution has been failing for the last 2 days with that error message.
    Coincidentally I have another identical flow that also writes a .xlsx file to the same folder around the same hour everyday and this flow has not fail at all.
     
    I'll try incrementing somehow the time that it supposed to wait for the Create File action to be completed.

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
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard