cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kelly
Regular Visitor

Power Automate Teams Connector - Bad Gateway for General Channel

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?

 

20 REPLIES 20
Nitsuga
Frequent Visitor

Same here, I can no longer run a flow that relied on a "Get Messages" command. It was automated to be done every 24 hours, and has started failing 4 days ago.

Kelly
Regular Visitor

Did you manage to find a resolution or a workaround for this? I have to get the flow up but seems like other threads have mentioned that we have to wait it out....

Nitsuga
Frequent Visitor

I have not found any solutions or workarounds unfortunately

mosbySE
Frequent Visitor

I was able to created a PA flow utilizing the Get Messages action.  It worked fine.  Have you tried re-adding the action? 

mosbySE_0-1650990496813.png

 

Nitsuga
Frequent Visitor

I just created a new one that only has this command, and I still get the same error:

Nitsuga_0-1650991369660.png

 

mosbySE
Frequent Visitor

What does the raw input look like? 

mosbySE_0-1650993005017.png

 

I have the same error, here's mine. I changed the retry policy to none to stop it from hanging forever without failing

 

Justindruet_0-1651430423408.png

 

 

 

I also tried getting the team and channel IDs dynamically, same error

 

Justindruet_1-1651430759948.png

 

ngupta
Frequent Visitor

I've been getting the same error - it was working fine for a year and then suddenly stopped working

kometchtech
Regular Visitor

I have not been working properly for the last week as well.

CatiaB
Frequent Visitor

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. 

ngupta
Frequent Visitor

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

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?

CatiaB
Frequent Visitor

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/1583....

Nitsuga
Frequent Visitor

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

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.

Afreen-MSFT
Microsoft
Microsoft

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.

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

 

Justindruet_0-1653756655944.png

 

Nitsuga
Frequent Visitor

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (3,390)