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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

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.