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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
MegaOctane1
Helper I
Helper I

Daily refresh fails when requesting data using web API

Created a report, and it works flawlessly in Power BI Desktop. I had to use relative path etc, to be able to setup daily refresh when published.

I have a list of maybe 1000 customers, and then i invoke a function in power bi to send request to the web api. 

In the desktop version, it uses approx 15-30 minutes. 

 

The error on refresh says: "The underlying connection was closed: An unexpected error occurred on a send"

Any tips?

 

1 REPLY 1
GilbertQ
Super User
Super User

Hi @MegaOctane1 

 

Could it be that there is a timeout on the API you are using? 


I would suggest checking to see if there is a timeout.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

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