n8n-io/n8n · error · NodeOperationError

Update operation is not implemented for this Vector Store

Error message

Update operation is not implemented for this Vector Store

What it means

Capability error in handleUpdateOperation. It fires when the selected vector store's client does not implement the update capability (isUpdateSupported returns false). The operation mode itself is valid; the specific store integration lacks the addDocuments-with-ids style update API, so the node refuses rather than silently mis-updating.

Solutions

  1. Use a vector store whose client implements the update method (check isUpdateSupported for the concrete store).
  2. Perform the update directly against the vector store's own API or client instead of through this node.
  3. Delete and re-insert the document as a workaround when update is not supported.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/operations/updateOperation.ts:23 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of n8n-io/n8n@5ac6606e81 (2026-08-12). Data as JSON: /api/errors/9fed8ce2a7a1ca57. Report an issue: GitHub.

Appendix: source

Thrown at packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/operations/updateOperation.ts:23

import { logAiEvent } from '../../../log-ai-event';
import { N8nJsonLoader } from '../../../n8n-json-loader';
import { processDocument } from '../../processDocuments';
import type { VectorStoreNodeConstructorArgs } from '../types';
import { isUpdateSupported } from '../utils';

/**
 * Handles the 'update' operation mode
 * Updates existing documents in the vector store by ID
 */
export async function handleUpdateOperation<T extends VectorStore = VectorStore>(
	context: IExecuteFunctions,
	args: VectorStoreNodeConstructorArgs<T>,
	embeddings: Embeddings,
): Promise<INodeExecutionData[]> {
	// First check if update operation is supported by this vector store
	if (!isUpdateSupported(args)) {
		throw new NodeOperationError(
			context.getNode(),
			'Update operation is not implemented for this Vector Store',
		);
	}

	// Get input items
	const items = context.getInputData();
	// Create a loader for processing document data
	const loader = new N8nJsonLoader(context);

	const resultData: INodeExecutionData[] = [];

	// Process each input item
	for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
		const itemData = items[itemIndex];

		// Get the document ID to update
		const documentId = context.getNodeParameter('id', itemIndex, '', {

View on GitHub (pinned to 5ac6606e81)