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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
t-tran_pn
New Member

Inquiry About Automatic Data Refresh Issue in Power BI Service

Hi,

When data is retrieved without modifying the SQL statements in the Advanced Editor of Power BI Desktop, the automatic refresh in Power BI Service consistently succeeds for all data tables. However, if SQL statements are added in the Advanced Editor of Power BI Desktop, the results after publishing to Power BI Service vary, with some cases of successful refreshes and others failing.

I would greatly appreciate it if you could provide guidance on the cause of this issue and potential solutions. Please let me know if any additional information is required.

The services used for constructing the automatic refresh schedule are as follows:

  • Tera Term
  • MySQL Workbench
  • MySQL Connector
  • Power BI Desktop
  • Power BI Service
  • On-premises data gateway

Error Message:

Data source error: [ValidateMarkupTags]{"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":"[ccon]MySQL: Reading from the stream has failed[/ccon]"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ErrorCode","detail":{"type":1,"value":"10478"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourceKind","detail":{"type":1,"value":"MySql"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourcePath","detail":{"type":1,"value":"[ccon][ccon]127.0.0.1</ip>[/ccon]<ip><ip>127.0.0.0</ip></ip>:13306;YCTService_production[/ccon]"}},{"code":"Microsoft.Data.Mashup.ValueError.ErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.Message","detail":{"type":1,"value":"[ccon]Reading from the stream has failed[/ccon]"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.Error"}}],"exceptionCulprit":1}}} Table: Inventory Tran.
Cluster URI: WABI-JAPAN-EAST-redirect.analysis.windows.net
Activity ID: c5f9d5ec-248f-4893-bfa3-4f4e798da2e9
Request ID: e391a52b-5d6e-98b0-c86b-aac4d8fe5a28
Time: 2024-12-18 07:58:25Z

 

2 REPLIES 2
Anonymous
Not applicable

Hi @t-tran_pn ,

ErrorCode=-2147467259 often represents invalid credentials for the datasets.

Please make sure you are using the correct data credentials and configuring gateway for all data source.

Or you could try to clear the credentials about MySQL in Power BI Desktop and reconnect to it. 

If the same credential still could not work in Power BI Desktop but in Power BI Service, try to use another authentication method to connect.

Solved: New ErrorCode=-2147467259 - Microsoft Fabric Community

Best regards,

Lucy Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

the error message points more to a transient network issue.

 

If you make meta data changes you are advised to update the app as well, but I don't think that applies to your scenario.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.