cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

SharePoint Flow Bad gateway and error status code 500 or 502

I'm developing flows for our SharePoint site. The particular flow looks like the following image. A form is submitted, an existing item called and a variable incremented based on the "get item". A new item is then generated with user information from the form, an existing item updated and email sent to the appropriate person for action.

 

 

Until 1 day ago this Flow was operating as intended. I made some changes to the form by adding more questions, then added the same details to columns on a SharePoint list to accommodate the new answers. Then I modified the Flow to handle this information appropriately.

 

I only added 3 new pieces of information, all of which were text and I've reviewed the data types to ensure that I've not inadvertently set a data type to numerical or an integer or something silly.

 

The Flow will no longer run and it fails at the "create item" stage above - which is the list item receiving much of the data from the user form. 

 

Details are shown below - indicating a bad gateway and error code of 502. However some instances throw an error of 500. The error does not appear to be consistent.

 

 

 

In trying to remedy the issue I've;

- Modified data types throughout the form and list entries

- Tried not inputting any data into some fields in the form in case there was a data type mismatch

- Removed the new form questions, List columns and subsequently the new items added to the Flow

- Restarted my machine

- Cleared cache in Google Chrome (after reading other possible troubleshooting relating to cache and error 500/502)

 

None of these actions have provided any resolution, irrespective of changing back to the original configuration (which was working only 2 days ago).

 

Can I get more information on what is likely to cause a bad gateway, error 500 or error 502?

 

Thanks

4 REPLIES 4
Highlighted
Solution Sage
Solution Sage

Re: SharePoint Flow Bad gateway and error status code 500 or 502

Hi @NickAmos ,

If the error code 500 or 502 appears, the failure is temporary or transient.Click or tap Resubmit to try the flow again.

I suggest you reconfigure and save the flow.

Then take a test to check whether it will work.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Solution Sage
Solution Sage

Re: SharePoint Flow Bad gateway and error status code 500 or 502

Hi @NickAmos ,

If the error code 500 or 502 appears, the failure is temporary or transient.Click or tap Resubmit to try the flow again.

I suggest you reconfigure and save the flow.

Then take a test to check whether it will work.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Regular Visitor

Re: SharePoint Flow Bad gateway and error status code 500 or 502

Hi,

 

I've attempted to re-run the flow around 10 times. None of them are successful. I've also reverted the flow to the original condition, when it was last operational. This did not yield a result.

 

Neither of these courses of action provide any improvement.

 

What does error 500 / 502 actually mean? When you say it's a transient error - what do you actually mean? Is there a better course of action than "try turning it off and on again"?

Highlighted
Regular Visitor

Re: SharePoint Flow Bad gateway and error status code 500 or 502

I'm having the same issues with my flows too yesterday and today. In my case I think it's that Flow isn't talking to OneDrive. Hopefully it gets resolved soon...

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (3,846)