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 / I've got error message...
Power Automate
Answered

I've got error message: 502 Bad Gateway just after months of successful runs

(0) ShareShare
ReportReport
Posted on by 8

Hello,

 

I've got an error message: 502 Gateway. I've been using these approval flows for months without a problem and then it suddenly gave an error to almost all runs. Just one run that gave a successful run was without attachment. However, in the past, it had been working fine with that so now I have no clue how to start solving it. Could you please give me some idea?

Capture.PNG
Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,851 Most Valuable Professional on at

    Hi @nuttaraj,

     

    Can you share more details about how you configured that Start and Wait for an Approval action? That might give us a clue.

     

    I have seen a thread where configuration/input of this has caused a similar issue:

    https://powerusers.microsoft.com/t5/General-Power-Automate/powerautomate-quot-start-and-wait-for-approval-quot-gives-a-502/td-p/1727691

     

    Secondly, I would suggest to double check the Approvals Administrator role of your environment. Just to make sure it is still in order.

    https://nishantrana.me/2021/11/18/fixed-badgateway-the-request-failed-error-code-502-error-message-badgateway-in-powerautomate-start-and-wait-for-an-approval/

    https://powerusers.microsoft.com/t5/Building-Flows/Approval-Error-502-BadGateway/td-p/918013

  • nuttaraj Profile Picture
    8 on at

    @Expiscornovus Thank you very much. I think I'll ask IT guy to check the Approvals Administrator role first. If that's not the cause, then I'll get back to you about the flow.

  • Verified answer
    Kent_Nguyen Profile Picture
    Microsoft Employee on at

    Could you try to grant the "Organization" read permission of "System Job" in Power Platform Admin Center security role to Approvals Administrator?

     

    BR,

    Kent

  • nuttaraj Profile Picture
    8 on at

    @Expiscornovus, @Kent_Nguyen
    After granting the read permission, it's working fine. 

     

    Thank you very much.

     

    Best regards,

    Nuttara

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 862

#2
Valantis Profile Picture

Valantis 738

#3
Haque Profile Picture

Haque 553

Last 30 days Overall leaderboard