Failed Synchronization of Files Using Databricks Extension in VS Code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 02:55 AM
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 :
When i change to Repos i receive the same error which says to switch to Workspace. Please note i need to use Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2024 12:18 AM
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"
}
Simran

