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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
adrianczerski
Regular Visitor

Microsoft.Data.Mashup.ValueError.Message Referenced external data source (null) not found. Error...

Can someone help me to understand error? it happens when model is reading from synapse serverless sql pool which is synchronized with lake database. It's not permament error because after some time I can refresh the same model without this issue:

Data source error:
{"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},
"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},
{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"Microsoft SQL: Referenced external data source \"(null)\" not found.\r\nError reading external metadata."}},
{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ErrorCode","detail":{"type":1,"value":"10478"}},
{"code":"Microsoft.Data.Mashup.ValueError.Class","detail":{"type":1,"value":"16"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourceKind","detail":{"type":1,"value":"SQL"}},
{"code":"Microsoft.Data.Mashup.ValueError.DataSourcePath","detail":{"type":1,"value":"XXXXXXXX-ondemand.sql.azuresynapse.net;XXXX"}},
{"code":"Microsoft.Data.Mashup.ValueError.ErrorCode","detail":{"type":1,"value":"-2146232060"}},{"code":"Microsoft.Data.Mashup.ValueError.Message",
"detail":{"type":1,"value":"Referenced external data source \"(null)\" not found.\r\nError reading external metadata."}},
{"code":"Microsoft.Data.Mashup.ValueError.Number","detail":{"type":1,"value":"12703"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason",
"detail":{"type":1,"value":"DataSource.Error"}},{"code":"Microsoft.Data.Mashup.ValueError.State","detail":{"type":1,"value":"1"}}],"exceptionCulprit":1}}} Table: complaints

It started from a few weeks and It happen for differen datasets in different part of day, some days it doesn't appear like a lottery.

Thanks in advance!

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @adrianczerski - The error you're experiencing with your Power BI model when reading from Azure Synapse Serverless SQL Pool, specifically the "Referenced external data source "(null)" not found. Error reading external metadata," is not uncommon with setups involving Synapse, Azure Data Lake, and external data sources. This type of intermittent issue can be due to several factors, including temporary service issues, metadata syncing issues, or limitations with Synapse Serverless SQL Pools.

 

Since Synapse Serverless SQL Pools work on top of Azure Data Lake storage, sometimes there are delays or connectivity issues when retrieving external metadata. This may cause intermittent failures, especially if the metadata sync between Synapse and Data Lake is delayed.

As a workaround, consider implementing a retry logic in Power BI or Power Automate if this refresh is part of an automated process. A simple retry can sometimes bypass intermittent connectivity or availability issues.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @adrianczerski - The error you're experiencing with your Power BI model when reading from Azure Synapse Serverless SQL Pool, specifically the "Referenced external data source "(null)" not found. Error reading external metadata," is not uncommon with setups involving Synapse, Azure Data Lake, and external data sources. This type of intermittent issue can be due to several factors, including temporary service issues, metadata syncing issues, or limitations with Synapse Serverless SQL Pools.

 

Since Synapse Serverless SQL Pools work on top of Azure Data Lake storage, sometimes there are delays or connectivity issues when retrieving external metadata. This may cause intermittent failures, especially if the metadata sync between Synapse and Data Lake is delayed.

As a workaround, consider implementing a retry logic in Power BI or Power Automate if this refresh is part of an automated process. A simple retry can sometimes bypass intermittent connectivity or availability issues.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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