This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi everyone!
We're trying to export a pbix file from one of our reports in PowerBI Service. While doing so in the app.powerbi.com portal the download occurs just fine, however if we use Microsoft.PowerBI.Api.V2 assembly (which makes requests to the REST API) the following exception occurs:
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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Microsoft.PowerBI.Api.V2.Reports.<ExportReportInGroupWithHttpMessagesAsync>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.PowerBI.Api.V2.ReportsExtensions.<ExportReportInGroupAsync>d__45.MoveNext() --- End of stack trace from previous location where exception was thrown ---
This happens when we use the async method, and the synchronous one just locks the execution, as if it blocked waiting an response from the server (which didn't come in 24 hours). It is worth saying that the same method works to download smaller files (15MB ~), however the report that generates this error has 700MB (when downloaded from app.powerbi.com).
Is there a size limit for downloading files through the API? Or maybe some configuration that is missing?
Thanks in advance,
Matheus.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |