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 / BadGateway RUN A FLOW ...
Power Automate
Unanswered

BadGateway RUN A FLOW BUILT WITH POWER AUTOMATE FOR DESKTOP

(1) ShareShare
ReportReport
Posted on by 9

All my cloud flows to trigger desktop flows stop to work.

 

renanbarcellos_1-1658426204636.png

 

error message: 

{
  "error": {
    "code"502,
    "source""flow-apim-msmanaged-na-centralus-01.azure-apim.net",
    "clientRequestId""****************************",
    "message""BadGateway",
    "innerError": {
      "error": {
        "code""InternalServerError",
        "message""Http request failed with unhandled exception of type 'NullReferenceException' and message: 'Object reference not set to an instance of an object.'."
      }
    }
  }
}
 
Machines are showing the message Unable to load.

And connections are not working as expected:

renanbarcellos_3-1658426389282.png

 

Can someone help me?

Categories:
I have the same question (0)
  • OscarVasquez Profile Picture
    2 on at

    Hello, good afternoon, greetings from Medellín - Colombia.

     

    We have been experiencing the same failure for about 7 hours now. We believe this is a temporary platform glitch. But it is difficult to confirm.

    If someone has a solution or more information about this problem, it would be of great help.

  • nmadura Profile Picture
    4 on at

    I am seeing the same thing on a Teams "When Keywords are Mentioned" trigger

    {
     "statusCode": 502,
     "headers": {
     "Access-Control-Allow-Methods": "GET, PUT, PATCH, DELETE, POST",
     "Access-Control-Allow-Origin": "*",
     "Access-Control-Max-Age": "3600",
     "Access-Control-Expose-Headers": "*",
     "Date": "Thu, 21 Jul 2022 19:54:46 GMT",
     "Content-Length": "959",
     "Content-Type": "application/json"
     },
     "body": {
     "error": {
     "code": 502,
     "message": "Unable to parse response JObject:{\r\n \"responses\": [\r\n {\r\n \"id\": \"0\",\r\n \"status\": 404,\r\n \"headers\": {\r\n \"Cache-Control\": \"no-cache\",\r\n \"Content-Type\": \"application/json\"\r\n },\r\n \"body\": {\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The object was not found.\",\r\n \"innerError\": {\r\n \"date\": \"2022-07-21T19:54:46\",\r\n \"request-id\": \"899a0b9e-ab0d-4626-989d-33d5b02ea87f\",\r\n \"client-request-id\": \"899a0b9e-ab0d-4626-989d-33d5b02ea87f\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n}",
     "source": "flow-apim-msmanaged-na-northcentralus-01.azure-apim.net",
     "path": "choose[1]\\when[1]\\choose[2]\\when[1]",
     "policyId": "",
     "clientRequestId": "c5ddc4c7-e39c-42aa-9550-fba72050d4eb"
     }
     }
    }
  • nmadura Profile Picture
    4 on at

    I was reviewing a different post https://powerusers.microsoft.com/t5/General-Power-Automate/Flow-suddenly-stopped-triggering-with-502-and-404-Errors-Cloud/m-p/1682557#M97374 and I kid you not, the solution is to turn the flow off and then turn it back on

    giphy.gif

     

    Screenshot 2022-07-21 171606.jpg

  • renanbarcellos Profile Picture
    9 on at

    Hello @nmadura
    This solution didn't work for my case!! 😞 

  • Lawal Profile Picture
    2 on at

    I'm having same problem over here. any assistance please. 

    Screenshot 2023-08-04 073314.png
  • SamLed Profile Picture
    2,338 Moderator on at

    [Joke mode on]

    Have you ever try to take your microphone and ask to flows : "Please guys, take the right gateway !" 🤣

    [Joke mode off]

     

    Another topic is talking about same issue : Solved: Re: Flows stop triggering unexpectedly Bad gateway... - Power Platform Community (microsoft.com)

     

    Seems to be a temporary state probably due to maintenance. Try to stop every flow, wait few hours and start them. If it still doesn't work, contact support.

    ______________________________________________________________

    If I have answered your question, please Accept the post as solution.
    If you like my response, please Thumbs Up.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard