Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can't schedule refresh due to cannot find file with a file error handling

I've published a PowerBI file that is working on my desktop refreshing the data etc. but when i published it's not letting me refresh because it can't find the files.


I'm getting my files from a folder path (csv) and from a database. The issue is, i've already accounted the missing files with a file error handler ,that if a file is missing or is not present on a folder, it will get data from a table. which is working fine if i do it on desktop. (see below)



So trying to refresh will give me an error on the workspace Dataset settings. Has anyone encountered this issue?
any suggestions to resolve this?

thank you 

Solution Specialist
Solution Specialist


My guess is that the CSV file is not present in/accessible from your gateway machine.

You need to either install gateway on the machine where your CSV file is located or keep your CSV file in a shared drive so that the gateway can connect to your source file.


Did I answer your questions? Give a thumbs up and accept this post as solution!

Helpful resources


2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors