Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

SharePoint Online copy file error - Bad Gateway

I have a Flow that runs on a SharePoint list - it works fine.


I created a new list and copied the flow.  I then updated the flow to target the new SharePoint list.  Now, when I run the Flow, I get a 502 error.


  "error": {
    "message""{\r\n  \"error\": {\r\n    \"code\": 502,\r\n    \"source\": \"\",\r\n    \"clientRequestId\": \"316fce29-e396-4bbc-b967-30e4738222cc\",\r\n    \"message\": \"BadGateway\",\r\n    \"innerError\": {\r\n      \"error\": {\r\n        \"code\": \"\",\r\n        \"message\": \"Error retrieving graph object\",\r\n        \"innerError\": {\r\n          \"request-id\": \"cae1876a-d01c-40ba-8109-104c525b6ae6\",\r\n          \"date\": \"2018-03-30T20:08:47\"\r\n        }\r\n      }\r\n    }\r\n  }\r\n}, clientRequestId: 316fce29-e396-4bbc-b967-30e4738222cc"


I have tried to run it several times throughout the day - so it's not a temporary issue.

Community Support Team
Community Support Team

Re: SharePoint Online copy file error - Bad Gateway

Hi @sreedwilson,


Could you please share a screenshot of your flow's configuration?

Could you please show more details about the error message (which action has the issue)?

How do you copy the flow on your side?


I could not reproduce your issue on my side currently, please check if the connection to SharePoint connector is invalid on your side. In addition, please take a try to clear cache of your browser and try your flow again to check if the issue is solved.


Also please take a try to re-create a n new flow rather than copied the flow and then target the new SharePoint list, check if the issue still exists.


If you could provide more details about your scenario, we would provide a proper workaround for you.



Best regards,


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

Helpful resources


New & Improved Power Automate Community Cookbook

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


Power Automate Community User Group Member Badge

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


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (6,280)