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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
aishak12
Helper IV
Helper IV

PowerQuery Error: OLE DB or ODBC - Not sure what this means

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..

 

Error1.2.PNGError1.PNG

 

2 REPLIES 2
Anonymous
Not applicable

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/Operation-is-not-valid-due-to-the-current-state-of-the-obje...

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.

lbendlin
Super User
Super User

what type of data source are you connecting to? Did it ever work? when did it stop working?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors