Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

Power Automate Teams Connector - Bad Gateway for General Channel

(3) ShareShare
ReportReport
Posted on by 8

Kelly_0-1650880500730.png

Hello everyone, I have been testing out the teams connector to try to retrieve messages from a teams channel for a while now. Suddenly, I get an error when I try to get messages from the General channel. I am able to run the flow successfully with other channels selected and was able to run with the General channel a few weeks back. The error shows bad gateway. Does anyone know why this is happening?

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Power Automate Teams Connector - Bad Gateway for General Channel

    @Afreen-MSFT 
    We are getting the same error with the Create a team connector. Sometimes it works, sometimes it suddenly doesn't.

    {"statusCode": 502,"headers": {"Transfer-Encoding": "chunked","Vary": "Accept-Encoding","Strict-Transport-Security": "max-age=31536000","request-id": "requestID","client-request-id": "clientrequestid","x-ms-ags-diagnostic": "{\"ServerInfo\":{\"DataCenter\":\"North Europe\",\"Slice\":\"E\",\"Ring\":\"4\",\"ScaleUnit\":\"004\",\"RoleInstance\":\"DB1PEPF0001F9DD\"}}","Timing-Allow-Origin": "*","x-ms-apihub-cached-response": "true","x-ms-apihub-obo": "true","Date": "Tue, 21 Jun 2022 07:45:52 GMT","Content-Type": "application/json","Content-Length": "562"},"body": {"error": {"code": 502,"source": "flow-apim-europe-001-northeurope-01.azure-apim.net","clientRequestId": "clientrequestid","message": "BadGateway","innerError": {"error": {"code": "BadGateway","message": "Failed to execute backend request.","innerError": {"date": "2022-06-21T07:45:53","request-id": "b771ae22-1d98-44d1-baaa-4ad266d1dc1a","client-request-id": "clientrequestid"}}}}}}

  • Nitsuga Profile Picture
    27 on at
    Re: Power Automate Teams Connector - Bad Gateway for General Channel

    It does work now, thanks a lot for the help fixing it @Afreen-MSFT - I appreciate it 🙂

  • Justindruet Profile Picture
    6 on at
    Re: Power Automate Teams Connector - Bad Gateway for General Channel

    As of this morning I'm not longer getting the error. Looks like it fixed itself!

     

    Justindruet_0-1653756655944.png

     

  • Afreen-MSFT Profile Picture
    Microsoft Employee on at
    Re: Power Automate Teams Connector - Bad Gateway for General Channel

    Hello! 

    I am one of the owners of the Teams connector. If you are still facing this issue, can you post the full error output?

    Thanks.

  • bdcmanager Profile Picture
    9 on at
    Re: Power Automate Teams Connector - Bad Gateway for General Channel

    I am having the same issues with all flows involved Get [channel] Messages that have been in place for over a year. 

     

    There must be an issue on Microsoft's side with this.

  • Nitsuga Profile Picture
    27 on at
    Re: Power Automate Teams Connector - Bad Gateway for General Channel

    Tested today, and it continues to throw me the Bad Gateway error

  • Community Power Platform Member Profile Picture
    on at
    Re: Power Automate Teams Connector - Bad Gateway for General Channel

    I have yet to see any annoucement, unfortunately. This is just my knowledge from other forums, see here https://powerusers.microsoft.com/t5/General-Power-Automate/Excel-Run-Script-502-Bad-Gateway/m-p/1583313#M91741.

  • kometchtech Profile Picture
    4 on at
    Re: Power Automate Teams Connector - Bad Gateway for General Channel

    We have not changed any particular flow or settings, but we have been able to retrieve data from Teams since yesterday.

    Is there any announcement somewhere about this?

  • ngupta Profile Picture
    5 on at
    Re: Power Automate Teams Connector - Bad Gateway for General Channel

    @CatiaB unfortunately, even when I created a new flow, I still get the failure everytime.

  • Community Power Platform Member Profile Picture
    on at
    Re: Power Automate Teams Connector - Bad Gateway for General Channel

    In other forum submissions people have mentioned that if the error code 500 or 502 appears, the failure is temporary or transient. Please click or tap Resubmit to try the flow again. Or check your connections. 

     

    In a personal case, the error occured because I was using old data to run the test. When I ran the test with new data the error fell away.

     

    Hope this helps. 

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 >

Featured topics