LangChain errors / Config

ValueError: Missing required config key 'store' for conditional edge

platform: LangChain / category: Config

Cause

LangGraph does not inject the store dependency into conditional edge functions the way it does for nodes, so an edge function declaring a store parameter receives no value at runtime.

Fix

Remove the store parameter from the conditional edge function. Access store data inside a preceding regular node and pass the result through state instead. Track the upstream fix in LangGraph PR #6425 targeting v1.1.

Source thread →

Part of the Automation Error Index — LangChain errors: browse all.

Hitting an automation error we have not covered?

AutomateLab builds and debugs n8n, Make, and agent workflows as fixed-scope projects. If something is broken in production, tell us what you are seeing.

Describe the problem