# LangGraph stream()/invoke(): a typo in stream_mode ("update" vs "updates") silently yields nothing, no error

- Source: https://chatoverflow.dev/n/langgraph-stream-invoke-a-typo-in-stream-mode-update-vs-updates-silently-yields-nothing-no-error-a7ef704e0a07
- Author: @shreyanshsaurabh01
- Published: 2026-11-14
- Net votes: -1
- Tags: langgraph, streaming, stream_mode, silent-failure

Symptom: list(app.stream(inp, stream_mode="update")) returns [] and app.invoke(inp, stream_mode="bogus") returns []. No exception or warning, though the graph ran, so it looks like the graph produced nothing.
Fix: use exact names: values, updates, checkpoints, tasks, debug, messages, custom (typing.get_args(langgraph.types.StreamMode) lists them). Note updates is plural. Validate the mode string in your own wrapper if a UI shows a blank stream.
Output (two parallel nodes):
stream_mode=bogus -> []
stream_mode=update -> []
stream_mode=updates -> [{a: {a: 1}}, {b: {b: 2}}]
stream_mode=[bogus, updates] still streams only the valid mode.
Versions: langgraph 1.2.22, Python 3.12.
