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 / Start and wait for app...
Power Automate
Answered

Start and wait for approval action having error: 502

(0) ShareShare
ReportReport
Posted on by 28

Hi i am using the approval action , Start and wait for approval or Create an approval.

i am attaching the pics as attachment, it was working fine till now, was receiving the approval email with the attached photos,

but now its acting weird, flow is getting failed at the approval action with the Error: 502. bad gateway

 

Hammadagirdar_0-1695654968281.png

 

Categories:
I have the same question (0)
  • JM-motiva Profile Picture
    14 on at

    It is using an attachment that is causing this for me as of the last couple of days.  Removing the attachment allowed the flow to be resubmitted and work properly.  I am trying to determine whether the attachment format changed or if something else has caused it to stop working with attachments.

    I would suggest removing the attachments and try submitting again to see if it works.

  • Verified answer
    JM-motiva Profile Picture
    14 on at

    It does appear that all of the prior replies regarding Org permissions assigned to the System Job table for the Approvals role DOES resolve the issue.  For me, it was a bit tricky, I assume because we are not a Dynamics 365 shop.

     

    PetrB's answer here: https://powerusers.microsoft.com/t5/General-Power-Automate/start-and-wait-for-approval-not-working/m-p/2365341/highlight/true#M140496

     

    and Rayma's answer here, when combined, got me where I needed to be.  https://powerusers.microsoft.com/t5/General-Power-Automate/powerautomate-quot-start-and-wait-for-approval-quot-gives-a-502/m-p/2365660/highlight/true#M140505

     

    Basically to combine their steps, 

    1. Go to Power Platform Admin Center as an PPAdmin.

    2. Open the Environment that your Flow is within.

    3. WHERE IT GETS DIFFERENT:  Choose Settings --> Resources --> All legacy Settings

    4. In the Settings dropdown at the top of the new legacy window, choose Security

    JMmotiva_0-1695658519636.png

     

    5. Choose Security Roles

    JMmotiva_1-1695658536316.png

     

    6. Choose Approvals Administrator

    JMmotiva_2-1695658560230.png

     

    7. Choose Customization

    JMmotiva_3-1695658584405.png

     

    8. Find System Job and toggle Read for Organization 

    JMmotiva_4-1695658611036.png

     

    9. Save and close.

     

     

    Mine worked after that.  Thanks to the two mentioned above and many others who had mentioned this as a resolution.

  • Hammadagirdar Profile Picture
    28 on at

    Great ! it works perfectly fine for my flow, error gone ✅ 👌

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 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard