Recently we were getting the below error for one of our Flows.
BadGateway. The request failed. Error code: ‘502’. Error Message: ‘BadGateway’.

Everything seemed right.
Finally, found (thanks to the forum) that the fix was to update the Approvals Administrator security role.
Provide – Read Access to System Job inside Customization tab.
Before –

After –

This time our flow worked smoothly.

Hope it helps..
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

3 thoughts on “Fixed – BadGateway. The request failed. Error code: ‘502’. Error Message: ‘BadGateway’ in PowerAutomate – Start and wait for an approval”