Error com.databricks.common.client.DatabricksServiceHttpClientException 403 Invalid access token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi
I got this error "com.databricks.common.client.DatabricksServiceHttpClientException: 403: Invalid access token" during the run of a workflow job. It has been working for a while without error. Nothing has changed in regards to code or cluster. And it's working fine after starting the job again with no change.
Do you know what causes it?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @skanapuram,
The error "com.databricks.common.client.DatabricksServiceHttpClientException: 403: Invalid access token" typically occurs when the access token used for authentication has expired or is invalid. Have you reviewed the driver logs of the job cluster? It might provide more details.
Also are you interacting with any type of token in your workflow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Thanks for the response,
From the driver logs, could see it has failed when it was running this below line
"DBUtilsHolder.dbutils.secrets.get"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @skanapuram, was the secret renewed or change? You might want to validate if any token was rotated that might have caused the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
When the access token used for authentication is invalid or has expired, the error "com.databricks.common.client.DatabricksServiceHttpClientException: 403: Invalid access token" usually appears. Have you looked at the task cluster's driver logs? It may give extra information.