cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
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
Valued Contributor
Valued Contributor

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.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.