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
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
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.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!