request error: invalid operation state. This should not have happened
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 02:11 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2023 11:15 AM
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.

