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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
carpetwotsit
Regular Visitor

PBI refresh error

Hi

 

I'm using an on-prem gateway to refresh my data but keep receiving the error below:

 

Data source error:The CancellationTokenSource has been disposed.. The exception was raised by the IDataReader interface. Table: extract.
Cluster URI:WABI-NORTH-EUROPE-redirect.analysis.windows.net
Activity ID:db587a1f-e7c4-68f8-4a0d-6141efc9999c
Request ID:3dbf4e4c-5859-06b2-5a2a-b19fd2f58da4
Time:2018-04-17 14:56:25Z

 

My gateway is online and I don't think I have any configuration issues. I've had a look around for the error online and wasn't able to find much. There isn't an issue with the data or the file as I've downloaded the pbix file from Service, opened it in Desktop and refreshed it without any problems. Could anyone advise?

 

Thank you

4 REPLIES 4
Anonymous
Not applicable

Hi @carpetwotsit,

Do you use the power bi c sharp sdk? I have a similar problem that caused by timeout.
The problem was solved when directly used the httpclient class with an increased timeout.

Hope it helps.

Thanos

Hi, have you solved this issue?

I have the same problem too.

Thanks

v-yuta-msft
Community Support
Community Support

Hi carpetwotsit,

 

From the information you have provided, it seems like there's something wrong with authentication, please check if you have configured the gateway instance completely in power bi service. In addition, whcih data source are you connecting to, if you are connecting to AS, you should configure user mapping.

 

It still fail, please post your gateway log here for further troubleshooting.

 

Regards,

Jimmy Tao

Anonymous
Not applicable

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.