dbutils.notebook.run raises HTTP 401 Unauthorized Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 03:47 PM
Hello,
since a while I use dbutils.notebook.run for multiple calling of additional notebooks and passing parameters to them. So far I could use the function without any difficulties - also today.
But since a few hours now I get the following error message when calling the notebook:
com.databricks.WorkflowException: com.databricks.common.client.UnexpectedHttpError: HTTP request failed with status: HTTP/1.1 401 Unauthorized
The call (even this simplified test call generates the error):
test = dbutils.notebook.run("./test2", timeout_seconds = 300 )
Does anyone know how this error occurs and how I can fix it?
I tried it on different clusters, terminated/restarted the clusters and have still the same problem. Could an authorization/token have expired between the last successful run and the error?
Best regards
Markus