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 / Bad Gateway when tryin...
Power Automate
Unanswered

Bad Gateway when trying to connect to DevOps

(0) ShareShare
ReportReport
Posted on by

I get a Bad Gateway error when my flow tries to connect to DevOps. I already have a flow working fine when connecting to my Azure SQL database, but can't get any joy with connecting to DevOps. Can anyone help please? 

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @Advent7 ,

     

    Could you share more details of the error message and a screenshot of the Flow configuration?

    As far as I know, this kind of error occurs when Flow is executed. It seems that there is no such error when configuring the connection.

    Please try to recreate the connection, or clear the browser's cache and reconfigure the connection/Flow.

     

    Best Regards,

  • advent_7 Profile Picture
    12 on at

    {
      "error": {
        "code": 502,
        "source": "uk-001.azure-apim.net",
        "clientRequestId": "8b6bbea3-4cd2-43d1-9b34-a4cdd4d82453",
        "message": "BadGateway",
        "innerError": {
          "status": 502,
          "message": "An error occurred while sending the request.\r\nclientRequestId: 8b6bbea3-4cd2-43d1-9b34-a4cdd4d82453",
          "source": "vsts-uks.azconn-uks-01.p.azurewebsites.net"
        }
      }
    }

  • advent_7 Profile Picture
    12 on at

    I don't know how to upload a screenshot to this forum. Even "Photos" isn't very intuitive. Anyway, you're right. I don't get an error when I created the connection. Only when I run the flow. My other flows are working ok with my Office 365 stuff.  And I thought Gateways were only for on-premise connections? I'm probably wrong ! My DevOps is Azure DevOps.

  • advent_7 Profile Picture
    12 on at

    My DevOps Instance on Azure.pngError_Message_Flow_Bad Gateway.png

  • advent_7 Profile Picture
    12 on at

    Images now uploaded.  The "Photos" option took me to a completely different UI last time I clicked it ! Very strange! This time it took me to a familiary upload UI 🙂

  • Doris Profile Picture
    4 on at

    Hello,

     

    I have a smilar problem. The connection to Azure DevOps from Flow is established correctly, however when I try to use the connector in a (newly created or old) flow it gives me the following error: https://paste.pics/6OB7X . I tried deleting the collection and recreate it, deleting cookies and using incognito mode of my browser. All have the same result.

     

    Here is a screenshot from the connector: https://paste.pics/6OBAY

     

    Would be awesome if anyone could help me out! For instance, can the 'clientRequestId' in the error message be used to trace what is going wrong in your backend? Thanks a ton!

     

    Warm regards,

    Doris

  • ProgrammerWill Profile Picture
    Microsoft Employee on at

    I am experiencing the same problem with a flow connector triggered by Azure DevOps.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 382

#2
Valantis Profile Picture

Valantis 370

#3
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

Last 30 days Overall leaderboard