// guides · n8n error index

n8n Chat Trigger not working? 25 tests, every error decoded

Why the n8n Chat Trigger returns 404, an empty reply, No item to return was found, or ignores Allowed Origins. 25 real calls on n8n 2.43.7.

Updated 2026-10-29 · about 10 minutes

Still stuck after these steps? Paste your exact n8n error and we'll reproduce it and email you the fix, free →

Steps

  1. How we tested, and what is real

    On 29 October 2026 we made 25 real HTTP calls to a running n8n 2.43.7 (self-hosted) with the Chat Trigger node (When chat message received, version 1.5), and read the official @n8n/chat widget code to see which reply fields it shows. The reply came from a Code node, not a model, so no AI answers were involved: every status code, body and error text below is what n8n really returned.

  2. 404 with an empty body: Make Chat Publicly Available is off

    With Make Chat Publicly Available off, both POST and GET to the production URL /webhook/<id>/chat returned a bare 404 with an empty body and no hint. A workflow that is not active (not published) gives a different 404, with JSON: The requested webhook "POST <id>/chat" is not registered. plus a hint to activate it. So: empty 404 means turn the public toggle on; JSON 404 means activate the workflow.

  3. The URL must end in /chat, and the test URL works once

    Posting to /webhook/<id> without /chat gave 404 The requested webhook "POST <id>" is not registered. even with the workflow active. The test URL /webhook-test/<id>/chat answered 404 with Click the 'Execute workflow' button message (in test mode it only works for one call) unless the editor was listening. Copy the URL from the node itself, and use the production one in your site.

  4. Empty chat bubble: the reply must be in output, text or message

    The @n8n/chat widget shows output, then text, then message, and nothing else. When our last node returned {"reply": "hello"}, n8n answered HTTP 200 {"reply":"hello"} but the widget would show an empty bubble. Rename the field to output with an Edit Fields node as the last step. Only the first item is sent back: with 2 items the answer was {"output":"first"}.

  5. Your own frontend: send chatInput and sessionId

    The trigger outputs exactly what was posted: action, sessionId and chatInput. The widget sends chatInput and sessionId. A custom frontend posting {"message": "..."} still ran the workflow, but $json.chatInput was undefined, and an AI Agent on its default prompt source then fails with No prompt specified. Test with: curl -X POST https://YOUR-N8N/webhook/<id>/chat -H "Content-Type: application/json" -d '{"action":"sendMessage","sessionId":"test1","chatInput":"hi"}'

  6. HTTP 500: "No item to return was found" or "Error in workflow"

    When the last node returned 0 items, n8n answered HTTP 500 No item to return was found (with a stack trace in the body). Make sure every path ends with a node that outputs one item. When a node failed, the answer was HTTP 500 {"message":"Error in workflow"} and the real error was only in the Executions list. Open the failed execution to read it.

  7. Response mode: Streaming and Response Nodes can answer nothing

    With Response Mode left unset on version 1.5, it behaved like When Last Node Finishes. With Streaming and a last node that cannot stream (our Code node), n8n returned HTTP 200 with an empty chunked body: the workflow ran but the user saw nothing. Streaming needs an AI Agent with streaming on as the node that answers. With Using Response Nodes and no Chat or Respond node in the workflow, the answer was {"executionStarted":true,"executionId":"8","resumeToken":"..."} and no text.

  8. 401 vs 403, and why Allowed Origins is not security

    With Basic Auth on, a call with no credentials got 401 Authorization is required! and a wrong password got 403 Authorization data is wrong!. An embedded widget must send the header itself (the widget's webhookConfig headers). Allowed Origins (CORS) set to one site only stops browsers: a preflight from another origin still got 204 but with the allowed origin in Access-Control-Allow-Origin, so the browser blocked it with a CORS error in the console. The same POST sent from outside a browser still ran the workflow (200). To keep strangers out, use Basic Auth or n8n user auth, not Allowed Origins.

All test results

We made 25 HTTP calls; some rows group several. Left: what we set up or sent. Right: what n8n 2.43.7 answered (all real).

TestResult
Make Chat Publicly Available off, POST or GET to /webhook/<id>/chat404 with an empty body, no hint
Workflow not active (not published)404 JSON The requested webhook "POST <id>/chat" is not registered. with an activate hint
POST to /webhook/<id> without /chat, workflow active404 The requested webhook "POST <id>" is not registered.
Test URL /webhook-test/<id>/chat while the editor is not listening404 Click the 'Execute workflow' button message
Custom frontend posting {"message": "..."}Workflow ran; $json.chatInput undefined
Last node returns {"reply": "hello"}HTTP 200 {"reply":"hello"}; the widget shows only output, text or message, so an empty bubble
Last node returns 2 itemsOnly the first is sent: {"output":"first"}
Last node returns 0 itemsHTTP 500 No item to return was found, stack trace in the body
A node throws an errorHTTP 500 {"message":"Error in workflow"}; the reason only in Executions
Response Mode not set (version 1.5)Behaved like When Last Node Finishes
Response Mode Streaming, reply from a Code nodeHTTP 200, chunked, empty body; the workflow ran
Response Mode Using Response Nodes, no Chat or Respond nodeHTTP 200 {"executionStarted":true,"executionId":"8","resumeToken":"..."}, no answer text
Basic Auth on, no credentials401 Authorization is required!
Basic Auth on, wrong password403 Authorization data is wrong!
Basic Auth on, correct credentials200
Allowed Origins https://a.example, preflight from https://b.example204, but Access-Control-Allow-Origin: https://a.example, so the browser blocks it
Same, POST from b.example outside a browser200: the workflow still ran
Allowed Origins left on *The caller's origin was echoed back
loadPreviousSession with Load Previous Session off{"data":[]}: history never shown
GET the URL in Hosted Chat mode (public on)200 HTML page that loads @n8n/chat from cdn.jsdelivr.net (blank if that is blocked)
GET the URL in Embedded Chat mode200 with a short body, no page: this mode is for the widget's POSTs, so it looks broken in a browser but is expected

Checklist

Good to know

What we did not test

A real AI model answering (the reply came from a Code node), streaming with an AI Agent, the widget running in a real browser (we read its code), Load Previous Session with a memory store, n8n user auth, and n8n Cloud.

FAQ

Why does my n8n chat URL return 404?

An empty 404 means Make Chat Publicly Available is off. A JSON 404 saying the webhook is not registered means the workflow is not active, or the URL does not end in /chat.

Why does the n8n chat show an empty reply?

The chat widget only shows a field called output, text or message from the last node. Rename your field to output with an Edit Fields node.

What does "No item to return was found" mean in the n8n Chat Trigger?

The last node returned no items, so n8n had nothing to send back and answered HTTP 500. Make every path end with one item.

Why does n8n chat streaming show nothing?

Streaming only works when an AI Agent with streaming on answers. With another node, n8n returned an empty 200 response.

Does Allowed Origins protect my n8n chat?

No. It only makes browsers block other sites. A request from outside a browser still ran the workflow in our test. Use Basic Auth or n8n user auth.

What is the difference between 401 and 403 on the n8n chat?

401 Authorization is required! means no Basic Auth header was sent; 403 Authorization data is wrong! means the user or password is wrong.

Related guides

New guides

Still stuck on your n8n error?

Paste the exact error and say what the workflow should do. We reproduce it on a real n8n install and email you the fix or a working workflow, usually within 24h. Free while we're in beta.

We'll only email you about your error and TaskToAgent.