Code/Function node won’t finish or cancel (n8n Cloud)

Even a minimal Code/Function node does not finish. The spinner keeps running, and the node cannot be canceled from within the node; only stopping the entire workflow works. Under Executions, Active often shows no new entry.
Steps to reproduce:

  1. Create a new empty workflow.

  2. Add a Code node with:

    return [{ json: { ok: true, ts: new Date().toISOString() } }];
    
  3. Click Execute node → the spinner runs indefinitely.
    Expected behavior:
    Node completes within < 1 second and appears under Past executions.
    Actual behavior:
    Node remains “running” indefinitely; cancel button inside the node doesn’t work. Only stopping the workflow ends it.
    What I’ve tried:

  • Different browser / incognito / no extensions
  • Hard reload
  • Checked Executions → Active (no or stuck entries)
  • Tested Set/IF nodes (same behavior)
  • This is n8n Cloud (not self-hosted)
    does anyone know this problem?
    Thanks in advance,
    Andi

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

no output since the codeblocks dont stop

Information on your n8n setup

  • n8n version:
    1.109.2
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): i think n8n cloud (on my browser)
  • Operating system: Windwos

Hi @Andreas_F

It works on my end without issues

I’d try to update to the latest n8n version, and try again..

Hey mohamed3nan,

thanks for answering this fast! I am working with n8n in my browser. Is it even possible to update the n8n version there?

Thanks in advance,

Andi

yes ofc, if you mean n8n cloud:

I am also have a problem with my code nodes, these nodes have been working fine for weeks till about an hour ago, i am working on the cloud and have just updated to the latest stable version however it has not helped, does anyone have other solutions