Steps
How we tested, and what is real
On 25 October 2026 we ran 23 executions on n8n 2.43.7 with
n8n execute: the Simple Vector Store node (version 1.3) in Insert and Get Many modes, the Default Data Loader (1.1) and Embeddings OpenAI (1.2, text-embedding-3-small). We pointed the OpenAI credential's Base URL at a small local stand-in that returns simple word-count vectors and logs every request. So no real OpenAI model was called and the scores only make sense compared with each other; what n8n sent, how many calls it made, what it stored and its error texts are real.Duplicate results: Get Many runs once per item
If Get Many comes after Insert in the same workflow, it receives every item Insert outputs and runs the search once for each. With 3 inserted documents we got 9 results (3 copies of the ranking) and paid for 3 query embeddings; with Limit 1, 3 copies of the same document. Turn on Settings > Execute Once on the Get Many node, or start retrieval from its own trigger.
Empty results: the store lives in memory
Simple Vector Store keeps everything in n8n's memory. A Get Many in a new process returned 0 items with a green node and no warning. n8n itself warns that the data is lost when n8n restarts, may be cleared when memory runs low, and is shared by every user on the instance. A different Memory Key on the insert and load side gives the same silent 0 items. Since version 1.2 keys are shared between workflows (1.0 and 1.1 added the workflow ID). For anything that must survive a restart, use a real vector database.
Null scores: dimensions must match
Inserting with the Embeddings option Dimensions set to 256 and searching with the default (1536) did not fail: every score was
nulland results came back in insert order. Use the same embeddings model and the same dimensions on both sides. If you change either, insert everything again.Junk documents: do not chain two vector store nodes
A vector store node placed after Insert receives Insert's output, which is document objects with
pageContentandmetadata, not your original items. With Load All Input Data it stored 15 junk documents (blob,application/json, line numbers) and the Get Many after it ran 15 times. Connect each vector store node to the node that holds your original data instead.Only string values get embedded
With Load All Input Data only string values become text:
{"text": "...", "id": 1}embedded just the text, and a nested order with an ID and a note embedded justrefund. Put everything you want searchable in one string field, or switch the Default Data Loader to Load Specific Data and point it at that field. If that expression is empty (a field name the item doesn't have), you get the misleadingDocument loader is not initialized."Cannot embed empty or undefined text" and sub-node errors
In Get Many, a prompt like
{{ $json.question }}on items that have noquestionfield fails withCannot embed empty or undefined text; this is common when the items come from Insert instead of your trigger. An empty static prompt fails withParameter "Prompt" is required.. With no embeddings connected you getA Embedding sub-node must be connected and enabled, and Insert without a document loader givesA Document sub-node must be connected and enabled.Credential errors, chunk size and one bad document
Unlike the chat model nodes, the embeddings node shows OpenAI's reason directly:
401 Incorrect API key provided;429 You exceeded your current quotameans billing, not a rate limit; a Base URL without/v1gives404 Invalid URL (POST /embeddings). Simple text splitting cuts at 1000 characters with 200 overlap, so 3 texts of 1,273 characters became 6 chunks; a Recursive Character Text Splitter at 4000 gave 3. All chunks go to OpenAI in one request by default (Batch Size 200), so one document over the model's limit failed the whole Insert and nothing was stored, even with On Error: Continue. Split very long texts first.
All test results
We ran 23 executions; some rows group several. Left: what we set up. Right: what n8n did (real; the vectors came from our stand-in, see the first step).
| Test | Result |
|---|---|
| Insert 3 documents, then Get Many in the same workflow | Get Many got 3 items, searched 3 times and returned 9 results (3 copies of the ranking); the query was embedded 3 times (3 billed calls) |
| Same with Limit 1 | 3 copies of the same top document |
| Get Many only, in a new n8n process | 0 items, node green, no warning: the in-memory store was empty |
Insert with Memory Key vector_store_key, load with other_key | 0 items, no warning |
| Insert with Embeddings option Dimensions 256, query with the default (1536) | Node succeeded, every score null, results just in insert order |
| Second Simple Vector Store node (Insert) chained after the first Insert | It stored Insert's output (document objects): 15 junk documents like blob and application/json; the Load after it ran 15 times (60 results) |
Load All Input Data on {"text": "...", "id": 1} | Only the text was embedded; the number was dropped |
Load All Input Data on nested {"order": {"id": 1, "note": "refund"}} | pageContent was just refund |
Load Specific Data with {{ $json.body }} on items that only have text | Document loader is not initialized (the real cause is an empty expression) |
Load Specific Data with {{ $json.text }} | Worked (text/plain) |
Get Many prompt {{ $json.question }} on items without question | Cannot embed empty or undefined text |
| Get Many with an empty static prompt | Parameter "Prompt" is required. |
| No Embeddings sub-node connected | A Embedding sub-node must be connected and enabled |
| Insert with no Document loader connected | A Document sub-node must be connected and enabled |
| Wrong API key | 401 Incorrect API key provided, shown directly |
No credits (429 insufficient_quota) | 429 You exceeded your current quota, please check your plan and billing details: billing, not a rate limit |
Base URL without /v1 | 404 Invalid URL (POST /embeddings) |
| 3 texts of 1,273 characters, Simple text splitting | 6 chunks (1000 characters, 200 overlap) |
| Same with a Recursive Character Text Splitter at 4000 | 3 chunks |
| Embedding Batch Size 2 | 3 embedding requests of 2 chunks (the default 200 sends one request) |
| One document too long (scripted 400 context length) | The whole Insert failed and nothing was stored; On Error: Continue still ended the execution in error |
Checklist
- Getting duplicates? Turn on Execute Once on the Get Many node.
- Getting nothing? Check that n8n has not restarted since the insert and that both nodes use the same Memory Key.
- Scores null? Use the same embeddings model and dimensions for insert and search.
- Never chain a vector store node after Insert; branch from your original data.
- Put searchable text in one string field, or use Load Specific Data.
- Check the Get Many prompt expression points at a field the item really has.
- Split very long texts before inserting: one oversize document fails the whole batch.
- Need data to survive restarts? Use a persistent vector database.
Good to know
- Using the store as a tool for an agent? See n8n AI Agent node not working; for prompting a model with the results, n8n Basic LLM Chain not working.
- Key, quota and Base URL errors for chat calls are in n8n OpenAI node not working; long texts in n8n Summarization Chain not working.
- Every error text from our n8n guides is in the n8n error message index.
What we did not test
Real OpenAI embeddings (all vectors came from our stand-in), other embeddings providers, persistent vector stores (Pinecone, Qdrant, Supabase, PGVector), the Retrieve-as-tool mode, metadata filters, and n8n Cloud.
Start from a working agent
FAQ
Why does the n8n Simple Vector Store return duplicate results?
Get Many runs once per incoming item. After an Insert of 3 documents it searches 3 times. Turn on Execute Once on the Get Many node or give retrieval its own trigger.
Why does my n8n Simple Vector Store return nothing?
It is in memory: a restart empties it, and a different Memory Key on insert and load finds nothing. Both fail silently with 0 items.
Why are all scores null in the n8n vector store?
The embeddings used to insert and to search have different dimensions or models. Use the same on both sides and insert again.
What does "Cannot embed empty or undefined text" mean in n8n?
The Get Many prompt expression resolved empty, usually because the items come from Insert and have no question field.
What does "Document loader is not initialized" mean in n8n?
In our tests it meant the Load Specific Data expression pointed at a field that does not exist, so there was no text to load.
Does the n8n Simple Vector Store keep data after a restart?
No. It is stored in memory, lost on restart, may be cleared when memory is low and is shared across users. Use a persistent vector database for production.
Related guides
- n8n AI Agent node not working? 18 tests, every error decoded
- n8n Basic LLM Chain not working? 25 tests, every error decoded
- n8n Discord node not working? 20 tests, every error decoded
- n8n Summarization Chain not working? 24 tests, every error decoded
- n8n 'access to env vars denied'? 13 tests and the fix
New guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes