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