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

On-Primises Data Gateway not returning data Error:"The specified records was not found. Server response [dbo][tableName] failed: something went wrong"

I have a Microsoft 365 E3 license.

I setup a gateway and connected to it a couple days ago successfully in PowerApps.


Since then I have created a new app but am seeing the following error when trying to list the items from a table in the database:

"The specified records was not found. Server response [dbo][tableName] failed: something went wrong"


PowerApps can see the Connection, and can see all the tables in the connection, but it just can't seem to find any records in any of the tables.


I have tried a number of other tables in the database

I have tried recreating the App

I have tried recreating the Gateway and connection
I have published the application
Checked the ports and the firewall


The same connection created for PowerApps above, works perfectly fine in Power Automate Microsoft Flow in a small test I created


I have seen PowerApps may not like a key made of multiple columns, but I believe this table's key is single int column


Running out of things to try, if anyone has any ideas

Very weird thing is that I can see the data if I publish and then play the App but not see when I play in the Editor  


Helpful resources

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!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

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