cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Error com.databricks.common.client.DatabricksServiceHttpClientException 403 Invalid access token

skanapuram
Visitor

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!

3 REPLIES 3

Alberto_Umana
Databricks Employee
Databricks Employee

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?

Thanks for the response, 

From the driver logs, could see it has failed when it was running this below line
"DBUtilsHolder.dbutils.secrets.get"

 

Alberto_Umana
Databricks Employee
Databricks Employee

Hi @skanapuram, was the secret renewed or change? You might want to validate if any token was rotated that might have caused the issue.

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