Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

Error on SQL Power Query action

i'm trying to use the Transform SQL using Power Query action. i've got several flows with it working fine on one SQL database. But i am doing similar on another SQL db that i have a connector for. Note i'm an admin, full credentials and this db is already part of my gateway.


I can access the data and transform it using the transform SQL power query action just fine, but when it runs it fails with 


"resultType": "Exception",
"message": "The key didn't match any rows in the table.",
"errors": []
and the SELECT i have next says "BadRequest. The 'from' property value in the 'select' action inputs is of type 'Null'. The value must be an array." and "INPUTS from null"


looking on the web it seems to imply a permissions issue but (1) i am full admin with access, (2) it works fine through powerquery in Excel, (3) the db and table are all accessable via the gateway... 


so i'm stuck.  Any advice would be most welcome.




Community Support
Community Support

Hi @StephenM,


I have made a test with action Transform SQL using Power Query, it works fine on my side.


It seems that you have two connections to two SQL databases.


Please make sure you are using the correct connection to the corresponding database. Please go to Setting to switch connection under My connections.



Best regards,



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

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Top Solution Authors
Users online (2,516)