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 Apps / Run failed code:"502" ...
Power Apps
Unanswered

Run failed code:"502" Bad Gateway

(0) ShareShare
ReportReport
Posted on by 8

I have made power automate flow to create a report using word and convert to pdf. The flow runs successfully in the backend, but shows error message "code":"502 "Badgateway" "The server did not receive response from upstream server". The flow runs and even sends report on the given email, but it throws this error message in power apps on generate button.

@powerapps @PowerAutomate

Screenshot 2024-02-10 024822.png
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,974 Moderator on at

    @Abcd39 

     

    Are you using the Respond Action? if so it might be timing out

     

    Easier to help if you show the Flow after a run to see what action is tossing that error


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Abcd39 Profile Picture
    8 on at

    This is the flow.

     

    Screenshot 2024-02-12 184545.png

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 Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard