mem0ai/mem0 · error · Error
Databricks storage-optimized endpoints only support TRIGGERE
Error message
Databricks storage-optimized endpoints only support TRIGGERED pipelineType.
What it means
Databricks Vector Search endpoints of type STORAGE_OPTIMIZED only support TRIGGERED pipelines; continuous (CONTINUOUS) syncing is not available for them. The constructor validates this combination and throws at store creation.
Source
Thrown at mem0-ts/src/oss/src/vector_stores/databricks.ts:494
"collectionName",
);
this.tableName = validateIdentifier(
config.tableName || this.indexName,
"tableName",
);
this.fullTableName = `${this.catalog}.${this.schema}.${this.tableName}`;
this.fullIndexName = `${this.catalog}.${this.schema}.${this.indexName}`;
this.syncPollIntervalMs =
config.syncPollIntervalMs ?? DEFAULT_SYNC_POLL_INTERVAL_MS;
this.syncTimeoutMs = config.syncTimeoutMs ?? DEFAULT_SYNC_TIMEOUT_MS;
this.sqlClient = config.sqlClient ?? null;
this.httpClient = config.httpClient || this.createHttpClient();
if (
this.endpointType === "STORAGE_OPTIMIZED" &&
this.pipelineType !== "TRIGGERED"
) {
throw new Error(
"Databricks storage-optimized endpoints only support TRIGGERED pipelineType.",
);
}
if (
this.endpointType === "STORAGE_OPTIMIZED" &&
this.dimension % 16 !== 0
) {
throw new Error(
"Databricks storage-optimized endpoints require dimensions divisible by 16.",
);
}
this.initialize().catch(console.error);
}
async initialize(): Promise<void> {
if (!this._initPromise) {View on GitHub (pinned to 001c235229)
Solutions
- Set pipelineType: 'TRIGGERED' when using endpointType: 'STORAGE_OPTIMIZED'
- Or keep CONTINUOUS pipelines by using endpointType: 'STANDARD'
- If you need near-real-time sync, STORAGE_OPTIMIZED is not an option — call requestIndexSync() manually after writes with TRIGGERED
Example fix
// before
new Databricks({ endpointType: 'STORAGE_OPTIMIZED', pipelineType: 'CONTINUOUS', ... });
// after
new Databricks({ endpointType: 'STORAGE_OPTIMIZED', pipelineType: 'TRIGGERED', ... }); Defensive patterns
Strategy: validation
Validate before calling
if (cfg.endpointType === 'STORAGE_OPTIMIZED' && cfg.pipelineType !== 'TRIGGERED') {
throw new Error('STORAGE_OPTIMIZED requires pipelineType TRIGGERED');
} Prevention
- Pin pipelineType explicitly in config instead of relying on defaults
- Review Databricks docs for endpoint-type constraints before switching endpointType
When it happens
Trigger: Configuring the store with endpointType: 'STORAGE_OPTIMIZED' and pipelineType: 'CONTINUOUS' (or any value other than 'TRIGGERED').
Common situations: Copying a config from a STANDARD endpoint that used CONTINUOUS sync and switching endpointType; defaulting pipelineType to CONTINUOUS for freshness and then choosing storage-optimized for cost.
Related errors
- Invalid ${label} '${name}': only letters, digits, and unders
- Databricks vector store requires either workspaceUrl or host
- Databricks storage-optimized endpoints require dimensions di
- Databricks vector store requires accessToken or clientId/cli
- Together API key is required
AI-assisted analysis of mem0ai/mem0@001c235229 (2026-08-15).
Data as JSON: /api/errors/5e8b7da5db38ed81.
Report an issue: GitHub.