cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Brice235i
Impactful Individual
Impactful Individual

Excel actions - Error retrieving Table - "Could not retrieve values. BadGateway"

Hi, I am trying to use the excel action to List Rows present in a table, Delete a row, Add a row.  Unfortunately I'm getting bad gateway errors when trying to reference the table.  The excel file was created from an exported SharePoint list via iqy file.  

https://powerusers.microsoft.com/t5/Building-Flows/Flow-to-automatically-refresh-Excel-file-synced-t...

Anyone know how to fix this?

 

badgateway.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
CollabTechie
Responsive Resident
Responsive Resident

Hi @Brice235i , Have you formatted your document as a table first? This is necessary when working with Flow.

CT

-------------------------------------------------------------------------

Give a THUMBS UP if my comments was help or ACCEPT SOLUTION if this has solved your issue. Thanks

View solution in original post

5 REPLIES 5
CollabTechie
Responsive Resident
Responsive Resident

Hi @Brice235i , Have you formatted your document as a table first? This is necessary when working with Flow.

CT

-------------------------------------------------------------------------

Give a THUMBS UP if my comments was help or ACCEPT SOLUTION if this has solved your issue. Thanks

v-bacao-msft
Community Support
Community Support

 

Hi @Brice235i ,

 

First, you need to specify Excel file from File browse, you should not manually enter File path.

Second, the specified Excel file requires an already defined Excel table.

Third, during the process of configuring Flow, make sure that the Excel file is not opened or is being edited.

Please try again.

 

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.
Brice235i
Impactful Individual
Impactful Individual

Hello, eventually figured it out.  I exported a list to excel.  Opened the query file, formatted as a table.  

This didn't work - bad gateway error when trying to locate the table.  

 

What I did was remove all list data except for the headers..  deleted the table.  Then I created a brand new table.  This fixed the problem.  thanks

 

 

niga
Frequent Visitor

I'm in the same situation, and I still could not solve the problem.

 

I can't select any table in a Excel book when the book has a table of the .iqy file (which is created by "Export to Excel" from a sharepoint list). But I can select any table in a Excel book when I delete the table and the connection.

It seems that Power Automate cannot open any table as long as the Excel book contains a connection via .iqy file. 

 

Any suggestion?

gh_sp05
Regular Visitor

On the same topic is there someway i can get all .xls files instead of adding a file name.? I want to move all .xls files based on a cell value

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,974)