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
sgallo
Advocate V
Advocate V

Task Cancelled Error when refreshing a model

Hi,

 

I am getting this error to one model ony and it is quite weird as i have never seen htis before.

 

The operation failed due to an explicit cancellation. Exception: System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.PowerBI.DataMovement.Pipeline.Dataflow.TDFHelpers.<>c__DisplayClass7_0`1.<<GetNextResponseAsync>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.PowerBI.DataMovement.Pipeline.Dataflow.TDFHelpers.<>c__DisplayClass12_0.<<ExecuteBlockOperationAsync>b__0>d.MoveNext();A task was canceled.. The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action. Table: Fourth_FactDailyClockRecords.

 

This started since I have updated and improved the gateway.

The weird issue is that this is affecting one of my smallest models... Some other models with the same sources are refreshing fine.

Anyone knows how to fix this?

 

Thanks! 🙂

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sgallo ,

 

Please try to refresh the model in the desktop. If the local refresh is successful, there may be a problem with the Service credentials. Please try to create a new cloud/gateway connection.

 

Best Regards,

Wearsky

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @sgallo ,

 

Please try to refresh the model in the desktop. If the local refresh is successful, there may be a problem with the Service credentials. Please try to create a new cloud/gateway connection.

 

Best Regards,

Wearsky

In desktop works fine. It seems to be an issue when 2 models refresh at the same time. 

Will try now to re-set the gateway.
Thanks

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 Fabric 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.