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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Refresh error: Archive file cannot be size 0

Hi all,

I've suddenly encountered a scheduled refresh error that was working fine for weeks until now. My data is sourced from a Sharepoint folder and it does not seem like I'm pulling any files that are size 0.


Data source error: Archive file cannot be size 0.. The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action.

Would appreciate some insights into this please, thank you!

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. It sounds like you are reading several files from a folder. Be sure that the files are the same and there was not a modification or addition of a file with size 0. Anyone can just create a blank file by error with 0 size. 

If that's the case. You can delete the file or you might be able to filter that on Power Query as well.

I hope that helps,


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

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi. It sounds like you are reading several files from a folder. Be sure that the files are the same and there was not a modification or addition of a file with size 0. Anyone can just create a blank file by error with 0 size. 

If that's the case. You can delete the file or you might be able to filter that on Power Query as well.

I hope that helps,


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.