Skip to main content

Notifications

Power Automate - General Discussion
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

 

  • Hammadagirdar Profile Picture
    Hammadagirdar 28 on at
    Re: Start and wait for approval action having error: 502

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

  • Verified answer
    JM-motiva Profile Picture
    JM-motiva 14 on at
    Re: Start and wait for approval action having error: 502

    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.

  • JM-motiva Profile Picture
    JM-motiva 14 on at
    Re: Start and wait for approval action having error: 502

    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.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard