Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
mruiz2
New Member

PowerBI data source credentials stop working

We are using PBI Embedded with incremental refresh (import) from BigQuery. We use the PBI REST API for publishing reports for several tenants, each of them having a separate dataset. To keep the whole provisioning and deployment process automated we set the data source credentials using the Update Datasource REST API endpoint. That was working for us but we recently noticed than refreshing a report started failing with the following error, which is not very descriptive as you can see:

 

There was an error when processing the data in the dataset.Hide details
Data source error: Expression.Error: The key didn't match any rows in the table.. Key = <pii>[Name = "my-google-cloud-project-id"]</pii>. Table = <pii>#table({"Name", "Description", "Data", "Kind", "DisplayName"}, {})</pii>. ;The key didn't match any rows in the table.. The exception was raised by the IDbCommand interface.

 

I did some googling and only found threads about issues that don't seem related.

We discovered that calling Update Datasource again with the same credentials fixes the problem, but eventually the error would come back and would have to repeat the same to fix it. This suggest that the data source credentials could be expiring.

Is there documentation around datasource credentials expiration?
What does that error message mean?

1 ACCEPTED SOLUTION
1 REPLY 1
lbendlin
Super User
Super User

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.