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

502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

So My flow archives work orders, creates a new list item, gets the attachments from the work order, adds them to the archived work order then deletes the work order, until 13 days ago, it worked fine.

 

bad gateway1.pngbad gateway2.png

 

 

 
5 REPLIES 5
Highlighted
Community Support
Community Support

Re: 502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

 

Hi @Sighman ,

 

Could you provide more details of the error message? Please make sure the list and site involved are valid.

This seems to be a temporary error, please click or tap Resubmit to try the flow again.

https://docs.microsoft.com/en-gb/power-automate/fix-flow-failures#other-failures

 

In addition, you can try to use Save as to create a copy of Flow, and then test whether the new Flow can run normally.

https://flow.microsoft.com/en-us/blog/make-a-copy/

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: 502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

Hi,

 

I've tried re writing the flow, it is NOT temporary it is failing 14 days straight, test will fail too.

There is something that Microsoft has changed on the backend.

A working flow for a year should not stop working overnight.

There is some permissions error in the background, as if I make the folder for the list item in attachments it works.

Error:

 

Content-Type
application/json
Expires
-1
Body
{ "error": { "code": 502, "source": "canada-001.azure-apim.net", "clientRequestId": "c7050fee-864d-4499-adad-7d8e27936a7a", "message": "BadGateway", "innerError": { "status": 502, "message": "List data validation failed.\r\nclientRequestId: c7050fee-864d-4499-adad-7d8e27936a7a\r\nserviceRequestId: 1ae8579f-4055-a000-31bb-6486807bf3e9", "source": "https://********.sharepoint.com//_api/web/lists(guid'0820d7a3-13a0-488a-a529-987fbd5c725d')/Items(1741)/AttachmentFiles/AddUsingPath(decodedUrl=@f)?@f='Atmosphere+Air-CP+Rail-AC+4_6+-Apr2020.pdf'", "errors": [ "-2130575163", "Microsoft.SharePoint.SPListDataValidationException" ] } } }
Highlighted
Community Support
Community Support

Re: 502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

 

Hi @Sighman ,

 

As far as I know, there seem to be no similar issues reported in the forum recently, and my test results here can also add attachments to the list item normally.

 

Please check whether any changes have been made to the corresponding list or site.

 

You can also try to create a simple Flow to test whether you can use Flow to add attachments to the list item.

 

if it works, you could create a new Flow to solve this problem.

 

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: 502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

I write a quick flow to pull an attachment from one list and attach to that list, it works fine.

I rewrote my flow (3 times) againiagain fails with bad gateway. 

I've tried many ways of doing this and it fails everytime.

Doesn't make sense. Nothing has changed with that list, it worked fine until 2 weeks ago.

 

Highlighted
Community Support
Community Support

Re: 502 Bad Gateway , on Flow thats been running fine for over a year, 13 days ago stops working

 

Hi @Sighman ,

 

Does the problem you mentioned still exist? I still cannot reproduce a similar issue here. Please consider contacting MS Support to assist you in solving this problem. Create a support request here: https://admin.powerplatform.microsoft.com/support

 

Best Regards,

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

Helpful resources

Announcements
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 (8,329)