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 / Error "Bad Gateway" Er...
Power Automate
Unanswered

Error "Bad Gateway" Error 502 - Flow was running fine

(1) ShareShare
ReportReport
Posted on by 14

I've created a PowerApp that uses flow to submit a simple form to a SP List. It was working fine but now I am getting a 502 Bad Gateway Error. Any Ideas? 

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Jake-Harvey,

     

    Would it be convenient for you to share the Flow running details in a screenshot?

    Troubleshooting a flow

    In addition, please check your connection settings under Microsoft Flow Connection page:

    Manage connections in Microsoft Flow

    For another try, delete the SharePoint action and then add it again to check out.

    Regards

  • avanderm Profile Picture
    8 on at

    I have the same issue. Any feedback on fix?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Same here, have had a number of flows running perfectly well until the end of last week. Very frustrating!

     

    Not sure if it is due to Microsoft, internal servers, my flows or something else.

     

    Has anyone had any luck with this?

  • tianaranjo Profile Picture
    497 on at

    I just realized that one of the flows I created, to add a 'Due Date' in a column based on the created date, has failed numerous times -- error being 'Bad Gateway'.  After selecting 'Resubmit', it functioned as intended.  However, for all the entries that were input prior to today, the column was never updated with the calculated date.  

     

    I have another Flow that failed repeatedly after first running as intended.  Once I went in, opened the Flow in edit mode and resaved, it started working again.  

     

    As I promote the features of Flow and implementation of the application, these continued issues make it a challenge.  Can you advise -- is this a system problem and is it being addressed?  If so, what should we users expect in regards to performace and stability?

  • ChrisAC Profile Picture
    4 on at

    Generally I've found this issue occours when you are tring to have the flow update the Sharepoint list when the destination is unable to accept the flow's output. 

     

    In my own issues with this error the flow has tried to submit more than the number of characters that can be had in a single line of text in a sharepoint list.

  • MS-22072102-0 Profile Picture
    146 on at

    I don't have the answer to this just yet but I just got this message under a very specific set of conditions and, interestingly enough, the different PowerApps "players" do not behave consistently.

     

    I am working with a Flow that calls a SQL Server stored procedure that returns a set of "rows" to PowerApps as a collection.  Life is good, I put in different search combos and get 1-n records back and everything functions properly.  But, when I put in a perfectly valid search string combo that, perfectly validly, returns 0 records back I get two different behaviors.

     

    So now I am off trying to learn first where this 502 error is being generated.  Is it coming from the stored proc (probably not, 0 records is an acceptable response although it may return a code that indicates that 0 records match the search criteria), the Flow (probably yes but which step, in which form and where can I "receive" it from to process it) or PowerApps (if it is being passed back from the Flow somehow, how to I capture it there and address it?).

     

    Here is what I see in the Editing area of the Studio after the error:

    No Rows Returned Error.jpg

     

    1) on the Web-based "player" (both within the Studio and just in the player alone), I get no errors reported to the app user.

    2) on the iOS-based "player" I get the error message displayed to the user.

  • AnkitPA Profile Picture
    7 on at

    @Jake-Harvey  I have same issue did you got any solution for this?

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
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard