n8n-io/n8n · error · NodeOperationError
Redis Error: ${error.message}
Error message
Redis Error: ${error.message} What it means
Error "Redis Error: ${error.message}" thrown in n8n-io/n8n.
Source
Thrown at packages/@n8n/nodes-langchain/nodes/memory/MemoryRedisChat/MemoryRedisChat.node.ts:150
tls: credentials.ssl === true,
},
database: credentials.database as number,
};
if (credentials.user && nodeVersion >= 1.5) {
redisOptions.username = credentials.user as string;
}
if (credentials.password) {
redisOptions.password = credentials.password as string;
}
const client = createClient({
...redisOptions,
});
client.on('error', async (error: Error) => {
await client.quit();
throw new NodeOperationError(this.getNode(), 'Redis Error: ' + error.message);
});
const redisChatConfig: RedisChatMessageHistoryInput = {
client,
sessionId,
};
if (sessionTTL > 0) {
redisChatConfig.sessionTTL = sessionTTL;
}
const redisChatHistory = new RedisChatMessageHistory(redisChatConfig);
const memClass = this.getNode().typeVersion < 1.3 ? BufferMemory : BufferWindowMemory;
const kOptions =
this.getNode().typeVersion < 1.3
? {}
: { k: this.getNodeParameter('contextWindowLength', itemIndex) };
View on GitHub (pinned to 5ac6606e81)
When it happens
Trigger: Thrown at packages/@n8n/nodes-langchain/nodes/memory/MemoryRedisChat/MemoryRedisChat.node.ts:150 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/cf623c93ebafa279.
Report an issue: GitHub.