Showing results for 
Search instead for 
Did you mean: 
Not applicable

Unable to edit Excel Online file in SharePoint



I have an Excel file saved to the Documents folder in a SharePoint site. I am trying to use Flow to add/delete rows from a table within the Excel file. I have been unable to edit the file at all, however the action "Get Tables" works properly...

I keep getting a 502- BadGateway error.


Error log: {
  "error": {
    "code": 502,
    "source": "",
    "clientRequestId": "d3f77287-c113-458a-91c7-77213f781f7b",
    "message": "BadGateway",
    "innerError": {
      "status": 502,
      "message": "Graph API is currently unavailable.\r\nclientRequestId: d3f77287-c113-458a-91c7-77213f781f7b",
      "source": ""


Community Support
Community Support

Hi @Anonymous,


I have made a test on my side and don't have the issue that you mentioned.


The screenshot of my flow as below:



The flow would run successfully as below:




Please take a try to run the flow again to see if the problem still exists.

Also please take a try to create the new flow to see if the problem still exists.


Best regards,



Hello, @Anonymous!

Have you had an opportunity to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

Thank you for being an active member of the Flow Community!

Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager

Not applicable

I still get a BadGateway error (502). Not sure why!

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,570)