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

BadGateway (500/502 Error)

Like some others reported earlier, we are getting flow failures for the last few days on a flow that previously worked fine and no changes have been applied. The inner error message is: "Value does not fall within the expected range." The step it fails on is updating an existing SharePoint list item. The update action actually happens as expected but the step is still failing for some reason in the end and prevents subsequent steps from being executed. Any insights on how to troublshoot this?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Regular Visitor

Re: BadGateway (500/502 Error)

Just to close this thread out, about one week ago the failures stopped occuring without any intervention. I am assuming Microsoft made a change/fix to SharePoint Online which resolved the issue.

View solution in original post

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: BadGateway (500/502 Error)

Hi @sommarafton1,

 

Are you still having the issue?

 

How is your flow created? Could you share a screenshot?

 

Please share more details on your flow to help reproduce this issue on my side.

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
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: BadGateway (500/502 Error)

Hello Mabel,

Thanks for the response.

 

Yes, the issue is still occuring. The flow was created from scratch (no template) on flow.microsoft.com. It was no an import of an existing flow. The flow was shared with other editors, hence it is a team flow. It was working fine for 3+ weeks. Here are the steps in the flow:

1) When a SharePoint list item is created (site address and list name specified for SP Online)

2) SharePoint Create File (Site Address, Folder Path, File Name, File Content). The Folder Path includes a new folder in an existing document library.

3) Compose - Get Folder Path (replace(outputs('FilePath'),'temp.txt',''))

4) SharePoint - Delete File (Site address, File Identifier specified)

5) SharePoint - Update Item (Site address, List name, Id, Customer Name, Documents Folder = Folder Path from step 3)

 

All actions are actually executed fine but in the end the badgateway error occurs on the last step.

Let me know if you need any additional info.

Thanks.

Best regards.

Highlighted
Regular Visitor

Re: BadGateway (500/502 Error)

We are still experiencing this issue, do we need to log a support ticket to get more insight into why and how to resolve this?

Highlighted
Regular Visitor

Re: BadGateway (500/502 Error)

Just to close this thread out, about one week ago the failures stopped occuring without any intervention. I am assuming Microsoft made a change/fix to SharePoint Online which resolved the issue.

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Users online (7,173)