This article provides troubleshooters for the Databricks extension for Visual Studio Code. See What is the Databricks extension for Visual Studio Code?.
Issue: When you try to run the Databricks extension for Visual Studio Code to synchronize your local code project through a proxy, an error message similar to the following appears, and the synchronization operation is unsuccessful:
Get "https://<workspace-instance>/api/2.0/preview/scim/v2/Me": EOF.
Possible cause: Visual Studio Code does not know how to find the proxy.
Recommended solution: Restart Visual Studio Code from your terminal by running the following command, and then try synchronizing again:
env HTTPS_PROXY=<proxy-url>:<port> code
In the preceding command:
<proxy-url>with the full URL to your proxy.
<port>with the correct port on your proxy.
Issue: When you try to synchronize local code in a project to a remote Databricks workspace, the Terminal shows that synchronization has started but displays only the error message
spawn unknown system error -86. Also, the Sync Destination section of the Configuration pane remains in a pending state.
Possible cause: The wrong version of the Databricks extension for Visual Studio Code is installed for your development machine’s operating system.
If you have issues synchronizing local code to a remote Databricks workspace, you can send usage logs and related information to Databricks Support by doing the following:
Turn on logging by checking the Logs: Enabled setting, or setting
true, as described in Settings for the Databricks extension for Visual Studio Code. Be sure to restart Visual Studio Code after you turn on logging.
Attempt to reproduce your issue.
From the Command Palette (View > Command Palette from the main menu), run the Databricks: Open full logs command.
sdk-and-extension-logs.jsonfiles that appear to Databricks Support.
Also copy the contents of the Terminal (View > Terminal) in the context of the issue, and send this content to Databricks Support.
To send error logs that are not about code synchronization issues to Databricks Support:
From the Command Palette (View > Command Palette), run the Databricks: Open full logs command.
Send only the
sdk-and-extension-logs.jsonfile that appears to Databricks Support.
The Output view (View > Output, Databricks Logs) shows truncated information if Logs: Enabled is checked or
databricks.logs.enabled is set to
true. To show more information, change the following settings, as described in Settings for the Databricks extension for Visual Studio Code:
Logs: Max Array Length or
Logs: Max Field Length or
Logs: Truncation Depth or