Showing results for 
Search instead for 
Did you mean: 
Level: Power Up

BadGateway on Excel file



I'm trying to create a Flow to imports tasks from an excel file to planner. 


I have created the Flow and placed the file in a document library of a group. 

I am able to access the headers etc. in the frile, from the flow editor, men when runing the flow I get a BadGareway error on the "list rows present in table" step. 


I do not find much about this error, when searching. 


Community Support Team
Community Support Team

Re: BadGateway on Excel file

Hi @JensSkov,


Where do you place the excel file? A SharePoint library?

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

Further, could you please show a bit more about the error message?


If you place the excel file into a SharePoint library, I afraid that there is no way to get rows of the table within the Excel file in Microsoft Flow currently.


If you want to get rows of the table within the Excel file, we should use "Get rows" action of Excel connector to retrieve rows from an Excel table, but creating a connection from Excel connector to SharePoint service is not supported in Excel connector of Microsoft Flow currently, we could only create a connection from Excel connector to following services:21.JPG


You could consider take a try to place the Excel file into OneDrive for Business folder, I have placed the Excel file into my OneDrive for Business folder and made a test on my side. Please take a try with the following workaround:

  • Add a proper trigger, here I use Flow Button trigger.
  • Add a "Get rows" action, specify File name and Table name.
  • Add a "Apply to each" action, input parameter set to output of "Get rows" action.
  • Within "Apply to each" action, add a "Create a task" action.

Image reference:22.JPG

The flow works successfully as below:23.JPG



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 Kudoed Authors (Last 30 Days)
Users online (4,241)