cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Failed Synchronization of Files Using Databricks Extension in VS Code

Anto23
New Contributor

hi,

I am trying to set up Databricks Extension in VS Code. I follow the steps as per the guide below

https://docs.databricks.com/en/dev-tools/vscode-ext/tutorial.html 

When i move to step 6 (see in the above guide) i follow the steps and i create successfully a destination location in Databricks (In workspace - i can see the folder created in Databricks). However, when i click to start the synchronization and then i receive this error : 

db.png

When i change to Repos i receive the same error which says to switch to Workspace. Please note i need to use Workspace

1 REPLY 1

Simranarora
Databricks Employee
Databricks Employee

Hi @Anto23 ,

 

Greetings from Databricks.

Based on the above information, it seems Files in Workspace is currently disabled for your Databricks environment. This feature allows storing and accessing non-notebook files alongside your notebooks and code.

Fortunately, enabling Files in Workspace is simple. You can do this through the Databricks REST API:
https://docs.databricks.com/api/azure/workspace/workspaceconf/setstatus

  • API endpoint: {{db-workspace-base-url}}/api/2.0/workspace-conf
  • Method: PATCH
  • Body:

JSON
{
"enableFilesInWorkspace": "true"
}

Best Regards,
Simran

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