Cannot upload CSV or SH file types in workspace UI

Set enableWorkspaceFilesystem and enableFilesInWorkspace to true.

Written by daniel.ruiz

Last published at: April 25th, 2025

Problem

You want to import files in .csv or .sh format, but in your workspace UI Import Notebooks modal you don’t see either of those options. Instead, you see only .dbc.scala.py.sql.r.ipynb.Rmd.html, and .zip. The following image shows an example of the UI. 

 

Cause

You have enableWorkspaceFilesystem and enableFilesInWorkspace set to “false”.

 

These are protected workspace properties that prevent the Import Notebooks modal from displaying a complete list of options when set to false.

 

Solution

Use the Enable/disable features API to change the workspace settings.

  1. Navigate to http://<your-workspace-address>/config. This URL returns a JSON object with all configuration variables of the workspace. Search for enableWorkspaceFilesystem and enableFilesInWorkspace.
  2. Run the following commands as a workspace admin user in a notebook to set both configurations to “true”.

 

$ curl --location 'https://<your-workspace-URL>/api/2.0/workspace-conf?keys=enableWorkspaceFilesystem' --header 'Authorization: Bearer <TOKEN>'
{"enableWorkspaceFilesystem":"true"}

 

$ curl --location 'https://<your-workspace-URL>/api/2.0/workspace-conf?keys=enableFilesInWorkspace' --header 'Authorization: Bearer <TOKEN>'
{"enableFilesInWorkspace":"true"}