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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 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.