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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
alexbjorlig
Helper IV
Helper IV

Can I add a timeout, so my app will fail if it takes longer than 10 minutes to refresh?

The title pretty much says it all.

Since it's not possible to cancel a refresh in the service, I was wondering if it's possible to add a timeout in the refresh so it can fail fast?

 

(My underlying data-source is an OData API)

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @alexbjorlig ,

 

For your description, I think you can open the advanced editor in power query, challenge to the M code page, and add the timeout time parameter at the location marked in the screenshot below.

vhenrykmstf_1-1637805460503.png

 

vhenrykmstf_0-1637805436381.png

 

[timeout=#duration(0,0,10,0)]))

For more details, you can read related document.

Power Query Web connector | Microsoft Docs

 

If the problem is still not resolved, please provide detailed error information and related operation screenshoots. Looking forward to your reply.


Best Regards,
Henry


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

I'm not concerned with a timeout a specific query, but for the general reload time of the app.

 

 

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.