I’m experiencing a very strange issue on n8n Cloud. When I use the “Code” node, any Python code executes perfectly without issues. However, when I try to run JavaScript code, it fails to execute completely.
We initially thought this might be some sort of limitation on the free tier, so we upgraded to a paid n8n Cloud subscription. Unfortunately, the exact same issue persists. JavaScript code nodes still do not work.
Has anyone experienced this before? Is there a specific environment setting for the JS sandbox that we are missing, or is this a known bug on n8n Cloud?
Hi @Ismail_Memis Welcome!
The Code node has no plan gating, so the upgrade was never going to change this. 2.37.1 breaks the JavaScript Code node specifically, which is why Python keeps working:
2.37.1 only ships on the Beta track. In the Cloud admin dashboard go to Manage > Workspace > Updates & maintenance, set Release track to Stable, then change the version to 2.36.7, which predates the break. It takes a one to two minute restart and only the instance owner can do it. If you would rather stay on Beta, 2.37.3 is out now and carries the fix.