Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Bad Gateway Error

(1) ShareShare
ReportReport
Posted on by 37
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"
    }
  }
}
  • emtronics Profile Picture
    on at
    Bad Gateway Error
    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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,695 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow