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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.