Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi All,
Does anyone know what is the cause of this error:
Error Message:
Operation is not valid due to the current state of the object.
OLE DB or ODBC error: Operation is not valid due to the current state of the object..
Hi @aishak12 ,
I'd like to suggest you check if the data source's status is ok. The error message usually means the file is corrupted. You may try to start from scratch after you have checked the data source.
For related documents, you can check the following link:
https://community.powerbi.com/t5/Desktop/Cannot-import-a-folder-with-several-Excel-files-from-networ...
https://community.powerbi.com/t5/Power-Query/Function-crashes-Operation-is-not-valid-due-to-the-curr...
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
what type of data source are you connecting to? Did it ever work? when did it stop working?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.