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: 

Unable to Create Secret Scope in Databricks – “Fetch request failed due to expired user session”

SuMiT1
New Contributor III

I’m trying to create an Azure Key Vault-backed Secret Scope in Databricks, but when I click Create, I get this error:

Fetch request failed due to expired user session

I’ve already verified my login, permissions. I also tried refreshing and re-signing in, but the issue still persists.

1 REPLY 1

ManojkMohan
Honored Contributor

@SuMiT1  

Root Cause:

The Databricks workspace UI requires an active authentication session for sensitive operations like creating Secret Scopes.

  • Extended browser inactivity, resulting in token expir

  • Browser cache interfering with refresh token mechanisms.

  • SSO session mismatches, (multiple sign-ins  )

Solution thinking: 

i would suggest to try the following steps

StepExpected OutcomeContext
Full sign-out + browser cache clearRefreshed, valid session token, no errorhttps://community.databricks.com/t5/user/viewprofilepage/user-id/25639
Incognito/private tabNo session cross-talk, successful API fetchhttps://community.databricks.com/t5/user/viewprofilepage/user-id/25639
Use CLI/API with fresh loginVerifies if UI vs API session is at faulthttps://community.databricks.com/t5/user/viewprofilepage/user-id/25639
Workspace admin confirmationRules out backend config changeshttps://community.databricks.com/t5/user/viewprofilepage/user-id/25639