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
Unanswered

start and wait for approval - not working

(0) ShareShare
ReportReport
Posted on by 80

I encountered this issue if I attach attachment in start and wait for approval my approval mail is not triggering throwing below error after 1 hour of wait. Is it issue from power automate side.

The request failed. Error code: '502'. Error Message: 'BadGateway'.

Categories:
  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    Hello,

     

    Sorry you are having this issue.

     

    If I can ask, in the same Flow, if you do not attach an attachment, does it work ok?

     

    Is there any chance that the Flow itself somehow doesnt have permission to the attachment (and maybe it can see it) but it may need more privs to actually attach it.

     

    What size is the attachment?

    What format is it?

    Is it in SharePoint or OneDrive?

     

    Ah one other thing you can try. Remove the Action for Approval. Save the Flow. Refresh. Add it back.


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • petrblaha Profile Picture
    9 on at

    Hello,

     

    I'm facing the same issue. Permissions are OK, and it's attached from sharepoint list. Format is PDF file.

    I've tried recreate flow with "save as" function. If I remove attachment from approval, its OK. 

    Everything worked fine 14 days ago and I didn't make any change.

    Thank you for any advice!

    Petr

  • VeGETzX Profile Picture
    367 on at

    Hi,

     

    Not sure if this will help.

     

    I previously met some similar issue.

     

    All I do is granted Approvals Administrator role a  'Read' permission for table System Job (asyncoperation) and then its working. I have no idea why and this is quite strange since my flow previously work fine.

     

    VeGETzX_0-1695473970223.png

     

  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    Definitely some permission changed, possibly based on an update (to the system itself), but that is the only way I know that you can browse it, but you cannot attach it.

     

    Aside from the weirdest network issues.

     

    If you set it to run as someone else who can open the file directly, does it work? If so that further proves its still a permissions issue. 
    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • petrblaha Profile Picture
    9 on at

    Thank you for your response!

     

    I'm running the flow as a global admin now and it is the same account under I create the sharepoint item and attach the attachment to it. So it does not seem to be permission problem.

  • petrblaha Profile Picture
    9 on at

    Thank you for this hint, it worked!

    I went to Power automate admin center and made changes from printscreen.

     

    Thank you a lot!

     

    Petr

  • nejhade Profile Picture
    80 on at

    Hi, 

    Can you described steps of solution with screenshot.

     

  • PetrB Profile Picture
    2 on at

    Hello @nejhade ,
    of course:
    1) Open power automate admin center
    2) Proceed to "Enviroment" on the left pane and select your enviroment:

    PetrB_0-1695632990122.png


    3) Open Security roles from the right pane:

    PetrB_1-1695633039419.png

    4) Open Approvals administrator from the role list:

    PetrB_2-1695634028328.png

    5) Change view to "Show all tables", search for "System Job" and change read permission to "Organization"

    PetrB_3-1695634480510.png

    6) Do not forget to save 🙂


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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard