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 / The request failed. Er...
Power Automate
Answered

The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

(1) ShareShare
ReportReport
Posted on by 24

Hi everyone,

We have recently(2 months) started using D365 CE and all of our flows have been working perfectly since then.
Two days ago we installed Dynamics Marketing and we are now getting a Bad Gateway error on our start and wait for approval flows since then?
I don't really get how installing Marketing broke the approvals?


I have tried the following without any success:
Rebuilt the flow
Saved it as something else

Created a brand new simple approval flow with a manual trigger

Please note Approvals are working fine in all other environments. Is there anything i am missing?
Any Kind of help is appreciated!

 

Thank you

Categories:
I have the same question (0)
  • Sutherland Profile Picture
    Microsoft Employee on at

    Have you finished new Marketing environment dataverse database provision as below official doc mentioned?
    Please share more issue details if you have set up environment db and you already found approval entity under your environment entity table.

    https://docs.microsoft.com/en-us/power-automate/get-started-approvals#permissions-to-create-a-dataverse-database 
    https://support.microsoft.com/en-us/topic/power-automate-approvals-provisioning-overview-and-troubleshooting-2306313a-49fa-efde-c716-a34c573ec942 

    Johnnyg_0-1622984487535.png

     

     

  • Verified answer
    kakis Profile Picture
    24 on at

    Hi, thanks for the reply! 
    it was none of the above! Microsoft support reached out to me and helped!

     

    the solution was adding the read permission on the Approvals Administrator role for the System Job in the customizations tab. After doing that we no longer get the bad gateway error on approvals! 🤷🏻‍♂️ 

  • IngoKlug Profile Picture
    7 on at

    Is there any Link to a description / video how to do that?
    I am lost in Power Platform Admin Center - found the Approval Administrator, but where do I find the System Job or the customization tab? (Please excuse grammar or other mistakes - I am German). 
    502 - Bad Gateway / Power Automate Approval does not work.

  • MarceloSarmento Profile Picture
    7 on at

    This really did the trick for me. Worked right away.

     

    @IngoKlug  here is some documentation on how to do it:

    Configure user security in an environment - Power Platform | Microsoft Docs

     

    MarceloSarmento_1-1631152248621.png

     

  • IngoKlug Profile Picture
    7 on at

    THX - that‘s it!

  • Kestenholz Profile Picture
    38 on at

    Solved it for me to!

  • bhawuks88 Profile Picture
    23 on at

    I tried all the method in the solution still facing the 502 bad gateway error 

    Please assist urgently

  • Soloadmin77 Profile Picture
    19 on at

    Same here, Issue started yesterday. Cant seem to fix it

  • Soloadmin77 Profile Picture
    19 on at

    Were you able to fix it ?

     

  • RyanTan Profile Picture
    12 on at

    Deleted my flow because i tot my flow has some issue. Turns out it's a bug from microsoft?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 456

#3
11manish Profile Picture

11manish 352

Last 30 days Overall leaderboard