Hi all,
I have a flow triggered from Powerapps, which creates:
a Team (Teams)
a Sharepoint item (data of the team)
several Sharepoint folders
online excel file in sharepoint
sends an e-mail with the excel link
Today I started receiving "FlowName.Run failed: error 502 bad gateway, message: the server did not receive response from an upstream server." (details in the attached picture)

However the flow run status is Success, and team is created as well as everything else...
What I´ve found though is that when I play the app (triggering the flow) from make.powerapps studio I get a powerapp runtime error on the flow triggering button/OnSelect:

If I resubmit the flow the error disappears but returns once I play the app and select the button...
Any ideas?
Thanks for your help