Framework
LangChain errors and fixes: 2 guides
Real LangChain failures, each with the error you'll see, the cause and steps that worked. 0 of 2 fixed upstream. Search within LangChain.
Workaround: 2
- LangChainWorkaround
JSON output parser returns None instead of raising on bad JSON
A chain returns None for some malformed outputs, and later code fails far from the cause.
Last checked#parsing#error-messages3 steps → - LangChainWorkaround
Parser fails when the model wraps JSON in ```JSON instead of ```json
parse_json_markdown raises on output that is valid JSON inside a code fence.
Last checked#parsing2 steps →