n8n Agents Are Only as Reliable as Their HTTP Node

n8n Agents face 429 errors after 2.40.5, VM-engine nulls, and Ollama streaming issues; learn why failures raise costs and how to prevent them.

  • What exactly n8n released
  • What broke on the forum that same week
  • Why an agent makes these failures more costly
  • How this is addressed technically

Trigger

n8n released Agents. You describe the task, connect a model, tools, and ready-made workflows, and the agent chooses the steps itself (announcement on the n8n blog). That same week, the n8n forum examined three failures: a 429 after upgrading to 2.40.5, empty values in the new expression engine, and a 400 from the Gemini node. An agent inherits the reliability of the integrations it relies on. That is why the engineering of this layer determines the time to a working result.

What exactly n8n released

  1. In n8n terms, an agent is a language model in a loop.

  2. It reads the task, selects a tool, examines the response, and decides what to do next.

  3. A fixed workflow follows a route designed in advance by an engineer.

  4. The agent builds its path as it works.

  5. According to n8n, the same agent can be called from Slack, run on a schedule, or invoked from any workflow.

  6. Your workflows can be provided to the agent as tools.

  7. You can build an agent without knowing how workflows are structured.

  8. The release is designed for tasks with an unknown number of steps and conversational interaction: represented as a fixed schema, such tasks expand into dozens of branches.

  9. For the business, this lowers the barrier to entry: a manager describes the task in natural language and launches a prototype an hour later.

  10. A company learns how reliable a prototype is after a month or two in operation, once real data has passed through it.

What broke on the forum that same week

### 429 at the final OCR step A self-hosted n8n user upgraded to 2.40.5, and their document recognition pipeline using Mistral OCR stopped. The HTTP request chain is: upload a PDF smaller than

MB at `/v1/files` with `purpose: "ocr"`, obtain a temporary signed URL, and send it for recognition. The first steps succeed, but the final one returns 429 "Rate limit exceeded". The process worked before the upgrade. The cause has not yet been established in the thread. The possibility that retries or request parallelism changed after the upgrade remains a hypothesis. ### Null in the new expression engine With `N8N_EXPRESSION_ENGINE=vm`, an expression such as `$('node').item.json.field` returns null.

Thread participants point to open PR #38737 and explain the cause this way: the new VM engine serializes data in advance, eagerly, so some fields do not reach the expression. Replacing `.item` with `.first()` or `.all()[0]` does not solve the problem. ### Streaming with no off switch and a 400 from Gemini The Ollama Chat Model node always sends `stream: true` to Ollama. The response arrives in small chunks, making the logs difficult to read. Some proxies buffer this stream poorly, while the parser later in the chain needs a complete JSON object.

Users are asking for an option to disable streaming. In a neighboring thread, the Google Gemini node for video generation responds

Bad Request, even though the author checked the prompt and keys. The discussion has eight messages from three participants, and there is still no solution.

Assess where AI can deliver impact in your process

Why an agent makes these failures more costly

  1. In a fixed workflow, an error is immediately visible: the node fails, the run is highlighted in red, and the on-call engineer receives an alert.

  2. The agent receives the tool result as text and continues reasoning.

  3. If a workflow tool returns null instead of the contract amount, the model may infer a value from context and produce a plausible answer.

  4. If a tool returns 429, the agent may retry the call repeatedly and put even more pressure on an exhausted limit. In an agent-based setup, any of the four failures above can turn a failed run into an incorrect answer that appears valid.

  5. When an agent responds to a customer or creates an order in 1C, a failed run costs an hour of on-call work.

  6. A silent error can cost weeks of corrupted data that later has to be found and corrected manually.

How this is addressed technically

  1. At KT.Team, we build integrations with n8n, Apache Kafka, and Datareon, connecting models ranging from OpenAI and Anthropic Claude to GigaChat, YandexGPT, and Qwen.

  2. From project to project, we apply the same set of measures. Updates through a staging environment. We pin the n8n version.

  3. Before an upgrade, we run a set of reference executions on a test instance and compare the results with the previous version.

  4. We catch failures like those in 2.40.5 and the VM engine at this stage, before production. Model calls through a gateway.

  5. n8n nodes access providers through the LLM & Security Gateway.

  6. The gateway keeps rate limits on the company side, retries requests with exponential backoff, switches to a backup provider, and masks personal data.

  7. It also collects Ollama's streaming response into a single JSON object, so there is no need to wait for a new node option. Contracts for tools.

  8. Every workflow provided to the agent returns a response that follows a schema.

  9. An empty required field is treated as an error, and the agent receives an explicit rejection instead of null.

  10. If several agents need the same tool, we define its contract once through MCP. Step-level observability.

  11. We log every tool call: input, output, latency, and cost.

  12. The agent's main metric is the share of runs completed without manual correction.

  13. Without this figure, discussions about the agent's value remain subjective.

Verdict

  1. n8n Agents - a useful release: now someone without engineering experience can build an agent prototype.

  2. The barrier to entry has fallen, but the cost of ownership still consists of versions, limits, contracts, and logs. I measure an agent's TTU from the initial idea to a stable production result.

  3. This is the path followed by a team that updates the platform through a staging environment and routes model calls through the gateway.

  4. Without this layer, an agent may look impressive in a demo but fail silently in production, leaving the company to learn about it from customer complaints rather than alerts.

Discuss the article: n8n agents are only as reliable as…

Enter your email or phone number so we can get back to you.

Send via: