Anthropic Node Intermittent failing on latest version tried (2.43.8)

Hi there, I had previously asked a question around a Request Timeout issue with the Anthropic Chat node specifically where it was failing immediately with Request Timeout. My team was able to use a different service but the issue looked to be patched in the notes on 2.43.8. However, when we tried it out, we are still getting intermittent failures with the same issue Request Timeout and no other errors.

I have tried both removing the output parser and changing the versions of the node we are using. I have also verified that a regular http call to anthropic works fine. Is there anything that I have missed with the latest version or something that could still be causing this error. Any time I try to look up this particular error I only get my own question back lol.

Describe the problem/error/question

What is the error message (if any)?

Information on your n8n setup

  • n8n version: 2.43.8
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): queue
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system:

Since you’re in queue mode and it’s intermittent, I’d check these in order:

1. Are all workers on 2.43.8?
The executions run on the workers, not on main. If main was upgraded but one worker container is still on an older image, only the runs that land on that worker fail, which looks exactly like “intermittent”. Check docker ps / your compose or k8s image tags for every worker, and the n8n version in each worker’s startup log.

2. How long does the failed node run before it errors?
Open a failed execution and check the node’s run time:

  • A few seconds: a transport or connection failure. The Anthropic SDK reports aborted connections as “Request timed out” too, so it isn’t necessarily a real timeout. This is the pattern from your earlier thread.
  • About 300 s: a real headers timeout on long generations (large context or high max tokens). There’s an open PR adding a Timeout option to this node (n8n-io/n8n #32081); until it lands, lowering max tokens or splitting the prompt helps.
  • Instant 429 or 529 in the error details: rate limit or Anthropic overload. That’s a different error, but worth ruling out.

3. Make it survive while you debug

  • Node Settings → Retry On Fail: on, Max Tries 3, Wait Between Tries 5000 ms. Transient transport failures usually pass on the second try.
  • On Error → Continue (using error output), then route the error branch to a fallback (for example the same prompt through an HTTP Request node to the Messages API, which you said works) or to a human review step.
  • An Error Workflow in workflow settings, so you get the execution ID of every failure and can compare which worker or timing they share.

If the run time is a few seconds and every worker is already on 2.43.8, post the execution’s error details (the JSON from the failed node). That shows whether the fix in 2.43.8 covers your path.

Since a plain HTTP call works, I’d raise the timeout in the node’s Options and switch on Retry On Fail with a short wait between tries. Intermittent timeouts often come from long generations, so try lowering max tokens or trimming the prompt to see if it clears. If it keeps dropping, an HTTP Request node to the Messages API is a solid fallback.

Hi @Cache_A, one correction to the timeout suggestion above: the Anthropic Chat Model node in 2.43.8 has no Timeout option. PR #32081 proposes adding it, but it is still open:

Can you link the release-note entry you expected to fix this?

Adding one practical angle to the suggestions above: compare the execution time of the failing runs. If the node fails within a few seconds, it’s most likely a dropped connection reported as “Request timed out”, not a real timeout, so Retry On Fail (2-3 tries, a few seconds apart) usually absorbs it. If it fails right around 300 s, you’re hitting the default headers timeout and the HTTP Request node, where you can set the timeout yourself, is the cleaner path. Since your plain HTTP call is stable, using it for this step while the node option is pending is a reasonable workaround.