{"record":{"id":"9fed8ce2a7a1ca57","repo":"n8n-io/n8n","slug":"update-operation-is-not-implemented-for-this-vecto","errorCode":null,"errorMessage":"Update operation is not implemented for this Vector Store","messagePattern":"Update operation is not implemented for this Vector Store","errorType":"exception","errorClass":"NodeOperationError","httpStatus":null,"severity":"error","filePath":"packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/operations/updateOperation.ts","lineNumber":23,"sourceCode":"\nimport { logAiEvent } from '../../../log-ai-event';\nimport { N8nJsonLoader } from '../../../n8n-json-loader';\nimport { processDocument } from '../../processDocuments';\nimport type { VectorStoreNodeConstructorArgs } from '../types';\nimport { isUpdateSupported } from '../utils';\n\n/**\n * Handles the 'update' operation mode\n * Updates existing documents in the vector store by ID\n */\nexport async function handleUpdateOperation<T extends VectorStore = VectorStore>(\n\tcontext: IExecuteFunctions,\n\targs: VectorStoreNodeConstructorArgs<T>,\n\tembeddings: Embeddings,\n): Promise<INodeExecutionData[]> {\n\t// First check if update operation is supported by this vector store\n\tif (!isUpdateSupported(args)) {\n\t\tthrow new NodeOperationError(\n\t\t\tcontext.getNode(),\n\t\t\t'Update operation is not implemented for this Vector Store',\n\t\t);\n\t}\n\n\t// Get input items\n\tconst items = context.getInputData();\n\t// Create a loader for processing document data\n\tconst loader = new N8nJsonLoader(context);\n\n\tconst resultData: INodeExecutionData[] = [];\n\n\t// Process each input item\n\tfor (let itemIndex = 0; itemIndex < items.length; itemIndex++) {\n\t\tconst itemData = items[itemIndex];\n\n\t\t// Get the document ID to update\n\t\tconst documentId = context.getNodeParameter('id', itemIndex, '', {","sourceCodeStart":5,"sourceCodeEnd":41,"githubUrl":"https://github.com/n8n-io/n8n/blob/5ac6606e81f67bb9534255570cd4e86fd8101eee/packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/operations/updateOperation.ts#L5-L41","documentation":"Error \"Update operation is not implemented for this Vector Store\" thrown in n8n-io/n8n.","triggerScenarios":"Thrown at packages/@n8n/ai-utilities/src/utils/vector-store/createVectorStoreNode/operations/updateOperation.ts:23 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5ac6606e81f67bb9534255570cd4e86fd8101eee","analyzedAt":"2026-08-12T05:26:35.080Z","schemaVersion":2},"datasetVersion":"2026-08-13T09:17:06.757Z"}