web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting SQL Data key d...
Power Automate
Answered

Getting SQL Data key didn't match any rows in the table

(0) ShareShare
ReportReport
Posted on by 35

Hi All - 

 

I've got a power automate flow that I'm using to pull data from SQL tables and views and distribute them to key individuals. I've had no trouble doing this up to this point, and now I'm getting an error. 

 

I created a new view today, and it won't show up in the pre-populated list in the SQL Get rows (v2) action in my flow. All other views and tables do, and I've already confirmed that the credentials I'm utilizing have access to this view. 

 

I get the following error: 

Failed to retrieve dynamic outputs. As a result, this operation's outputs might not be visible in subsequent actions. Error details: The dynamic operation request to API 'sql' operation 'GetTable_V2' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "The key didn't match any rows in the table.\r\n inner exception: The key didn't match any rows in the table.\r\nclientRequestId: acf24fd7-78f4-41fb-92b0-a80847412add", "error": { "message": "The key didn't match any rows in the table.\r\n inner exception: The key didn't match any rows in the table." }, "source": "sql-ncus.azconn-ncus-001.p.azurewebsites.net" }

 

Here are the columns in the view. 

jaymdav_0-1710450053667.png

 

It's a view, so it doesn't have a primary key, but the Index column has no duplicate values in it. 

 

The thing that is different for this view compared to the others that do show up in the pre-populated list is that this new view is built from a join. Is that a limitation? 

 

Any help is appreciated. Thanks. 

 

Categories:
  • Verified answer
    jaymdav Profile Picture
    35 on at

    This seems to have resolved itself - as of this morning all of my views are now appearing in the pre-populated list and I'm no longer getting that error. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 229 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 223 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard