Cannot Create DIRECT_ACCESS on my Databricks Workspace

Eric Tan 0 Reputation points
2025-10-13T14:15:56.1333333+00:00

Got this error when trying to create a direct access index, my databricks workspace is premium type.

Exception: Response content b'{"error_code":"INVALID_PARAMETER_VALUE","message":"Vector index type DIRECT_ACCESS is not supported for this work space.","details":[{"@type":"type.googleapis.com/google.rpc.RequestInfo","request_id":"b9bc5f61-b35f-96e5-9f28-fe6401ef9360","serving_data":""} ]}', status_code 400

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
{count} votes

1 answer

Sort by: Most helpful
  1. Smaran Thoomu 32,520 Reputation points Microsoft External Staff Moderator
    2025-11-12T11:17:31.8133333+00:00

    Hi Eric Tan
    Thanks for sharing the details.

    I understand you’re not querying the index but trying to create a DIRECT_ACCESS index using VectorSearchClient.create_direct_access_index.

    While the documentation mentions that “Querying DIRECT_ACCESS index types are not supported” during the preview, the ability to create a DIRECT_ACCESS index also depends on workspace-tier entitlements. This feature is currently available only on Enterprise-tier workspaces (or those with the Direct Access private preview enabled).

    Your previous workspace likely had Enterprise SKU or Unity Catalog with the Direct Access feature flag enabled - that’s why it worked there. The new workspace being on Premium SKU doesn’t include the entitlement for Direct Access creation, which leads to the INVALID_PARAMETER_VALUE error you’re seeing.

    You can:

    • Use create_delta_sync_index instead (supported for Premium workspaces), or
    • Contact your Databricks account team or let us know to enable Direct Access for your workspace (requires Enterprise SKU or feature preview access).

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.