Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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

  • rymacdow Profile Picture
    Microsoft Employee on at
    Re: The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

    @dynamiacs  customizations to organizations can cause incompatibilities with the approvals solution.  502's can have many different causes and would require looking at your specific failures. Can you create a support case so we can look into your specific requests

  • dynamiacs Profile Picture
    63 on at
    Re: The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

    So the problem is already still alive...

     

    try the settings with the permission for approval Admin . -> doesn´t work.

     

    Flow Approval is on version 2.0.4.8 and still tells me installation failed and the workflow with approval steps runs into 502 bad gateway...

     

    Need help

  • CP-23071600-0 Profile Picture
    on at
    Re: The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

    Correct, a Message Center notification was sent to admins of affected tenants with ID MC679085.

  • RyanTan Profile Picture
    12 on at
    Re: The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

    Does this update notification flows automatically to all admins? If the update is crucial and will affect major user, I think a proper notification to admins by Microsoft should be done.

  • dsecpa Profile Picture
    2 on at
    Re: The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

    Unfortunately this doesn't fix the error for everyone.  My environment has the rights set correctly and still has the 502 error.

  • CP-23071600-0 Profile Picture
    on at
    Re: The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

    Thanks, just to provide an update here: The product team has released a package that is updating the privilege.

    Update the "Microsoft Flow Approvals" package to the latest version (2.0.4.7 or later) in the environment (please note that these actions need to be performed by an administrator):
    1. Go to Power Platform Admin Center (admin.powerplatform.microsoft.com)
    2. Select Environments
    3. Select the environment in which the error occurs
    4. Select "Dynamics 365 apps" (under Resources)
    5. Look for the "Microsoft Flow Approvals" solution.  Its status should state "Update available".  Click the "Update available" link for this solution.
    6. Check "I agree to the terms of service" 
    7. Click "Update".
  • Melinda Profile Picture
    Microsoft Employee on at
    Re: The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

    @Soloadmin77 I had to open the table in Legacy View to see the item. So, if you go to Environments > Your Environment > Settings > Security Roles it gives you the option to go to legacy. Within Legacy, perform the same steps and you should see the System Job Role. 

     

    Melinda_0-1695817099761.png

     

  • dev_paige Profile Picture
    4 on at
    Re: The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

    Not everyone is able to get an administrator to fix things like this. Microsoft, please fix this bug ASAP. It has been an issue for years and hasn't been fixed. 

  • leojar79 Profile Picture
    3 on at
    Re: The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

    Me funcionó gracias, saludos desde Colombia

  • ethan37 Profile Picture
    9 on at
    Re: The request failed. Error code: '502'. Error Message: 'BadGateway'. On Start and wait for Approval.

    I just stumbled across this same Bad Gateway error. Does Microsoft have a timeline for solving this issue? Note, most users do not have the admin access to make the temporary changes noted above.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow