cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results for 
Search instead for 
Did you mean: 

request error: invalid operation state. This should not have happened

gilo12
New Contributor III

I am trying to identify errors coming from Databricks. So I can handle them in my code.

Sometimes I get a descriptive error, that points me to the exact problem, but then if I run the exact same test, I sometimes get "request error: invalid operation state. This should not have happened" .

If there was some persistency I could work with that, but it looks like am getting different result with each run.

What might be the reason for that "request error: invalid operation state. This should not have happened" message and how I can avoid it, so I will always get a proper error message from Databricks.

1 REPLY 1

mathan_pillai
Databricks Employee
Databricks Employee

Can you share what command were you executing ? Also were you currently doing exception handling within your code with try/catch exception ? Can you also check the driver logs during the time error happened ? The driver logs should have more details on the full stack trace . Above details could shed some light on what is happening.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group