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: 

DBFS Rest Api is disabled

db-avengers2rul
Contributor II

Dear Team,

I have created a db account using gcp when i tried to create the token and configure databricks cli and tried to connect i get the below error

databricks fs ls

error

Error: b'{"error_code":"FEATURE_DISABLED","message":"DBFS Rest Api is disabled for this workspace."}'

Error: b'{"error_code":"FEATURE_DISABLED","message":"DBFS Rest Api is disabled for this workspace."}'

how to enable this feature ?

Regards,

Rakesh

1 ACCEPTED SOLUTION

Accepted Solutions

Prabakar
Esteemed Contributor III

Hi @Rakesh Reddy Gopidi​ This is a known limitation with DBFS API and GCP. We are planning to redesign the DBFS API and we wanted to not gain more users that we later might need to migrate to a new API. If this is really required for you, please provide the use case i.e. why you need the DBFS API and is there no way around it? Please take this answer to your accounts team and let them know to get the DBFS API enabled. They will take it to the product team to do the needful.

View solution in original post

1 REPLY 1

Prabakar
Esteemed Contributor III

Hi @Rakesh Reddy Gopidi​ This is a known limitation with DBFS API and GCP. We are planning to redesign the DBFS API and we wanted to not gain more users that we later might need to migrate to a new API. If this is really required for you, please provide the use case i.e. why you need the DBFS API and is there no way around it? Please take this answer to your accounts team and let them know to get the DBFS API enabled. They will take it to the product team to do the needful.

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