# Issue with Code Node javascript Timeout in n8n Cloud

**URL:** <https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406>\
**Category:** Questions\
**Created:** [February 2, 2026, 11:20am UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406 "2026-02-02T11:20:09Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ibtekr\_Club](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ibtekr_club/32/156503_2.png) [@Ibtekr\_Club](https://community.n8n.io/u/Ibtekr_Club)\
**Post date:** [February 2, 2026, 11:20am UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/1 "2026-02-02T11:20:09Z")

</div>

I’m using n8n Cloud and my workflow fails when it reaches a Code node.  
The execution times out after ~60 seconds with a “task runner not matched” error.

It looks like the Code node task is not being picked up by a task runner (runner down / not ready / at capacity).  
I want to know what can cause this on n8n Cloud and how to fix/avoid it.

Task request timed out after 60 seconds

Your Code node task was not matched to a runner within the timeout period.  
This indicates that the task runner is currently down, or not ready, or at capacity, so it cannot service your task.

error message :  
**Task request timed out after 60 seconds**

Your Code node task was not matched to a runner within the timeout period. This indicates that the task runner is currently down, or not ready, or at capacity, so it cannot service your task.

**n8n version**

1.123.5 (Cloud)

**Stack trace**

Error: Task request timed out after 60 seconds at LocalTaskRequester.requestExpired (/usr/local/lib/node\_modules/n8n/src/task-runners/task-managers/task-requester.ts:304:17) at LocalTaskRequester.onMessage (/usr/local/lib/node\_modules/n8n/src/task-runners/task-managers/task-requester.ts:272:10) at TaskBroker.handleRequestTimeout (/usr/local/lib/node\_modules/n8n/src/task-runners/task-broker/task-broker.service.ts:115:50) at Timeout. (/usr/local/lib/node\_modules/n8n/src/task-runners/task-broker/task-broker.service.ts:102:9) at listOnTimeout (node:internal/timers:588:17) at processTimers (node:internal/timers:523:7)

**output** :  
No output – execution fails before producing any data from the Code node.

n8n version: 1.123.5 (Cloud)  
Database: SQLite (Cloud default)  
n8n EXECUTIONS\_PROCESS setting: own (Cloud)  
Running n8n via: n8n Cloud

---

<div class="post-metadata">

**Author:** ![mayo1606](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mayo1606/32/155704_2.png) [@mayo1606](https://community.n8n.io/u/mayo1606)\
**Post date:** [February 2, 2026, 11:57am UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/2 "2026-02-02T11:57:30Z")

</div>

> [@Ibtekr\_Club](#):
>
> 1.123.5 (Cloud)

This error happens **before** your code executes. It usually means the system cannot transfer the data to the Task Runner in time, either because the runners are down or the data payload is too large.

**Please perform this quick test:** Create a new, empty workflow with **only** one Code node running this simple script: `return { json: { test: "ok" } };`

**Scenario A: The test FAILS**

- **Cause:** Your Cloud instance’s task runners are down or unresponsive.

- **Action:** You must contact n8n support to restart/fix your instance.

**Scenario B: The test WORKS**

- **Cause:** The input data in your original workflow is too heavy (e.g., thousands of items or large Binary files). The system times out trying to send this data to the runner.

- **Action:** Place an **Edit Fields** node _before_ the Code node. Configure it to **remove binary data** and keep only the specific JSON fields your script needs.

---

<div class="post-metadata">

**Author:** ![Ibtekr\_Club](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ibtekr_club/32/156503_2.png) [@Ibtekr\_Club](https://community.n8n.io/u/Ibtekr_Club)\
**Post date:** [February 2, 2026, 12:03pm UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/3 "2026-02-02T12:03:13Z")

</div>

thank you  
could you tell me how can i contact n8n support

---

<div class="post-metadata">

**Author:** ![mayo1606](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mayo1606/32/155704_2.png) [@mayo1606](https://community.n8n.io/u/mayo1606)\
**Post date:** [February 2, 2026, 12:39pm UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/4 "2026-02-02T12:39:54Z")

</div>

If you’ve already confirmed this happens even in a brand-new workflow with a minimal Code node, the next step is to escalate with your workspace details.

When you contact them / post for escalation, include:

- your Cloud **workspace URL**

- your **n8n version**

- a couple of failing **execution IDs** + timestamps

- “Help → About n8n → Copy debug information” (paste it)

[This](https://docs.n8n.io/help-community/help/?utm_source=chatgpt.com) is where you can find more information.

Also worth trying: there are reports where **updating n8n Cloud** resolved the exact runner timeout (e.g., 2.0.3 → 2.3.6) [Here](http://community.n8n.io/t/n8n-cloud-2-0-3-code-nodes-intermittently-fail-with-task-request-timed-out-after-60-seconds/251121/2?utm_source=chatgpt.com)

---

<div class="post-metadata">

**Author:** ![William\_Jutsum](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/william_jutsum/32/71499_2.png) [@William\_Jutsum](https://community.n8n.io/u/William_Jutsum)\
**Post date:** [February 2, 2026, 1:33pm UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/5 "2026-02-02T13:33:55Z")

</div>

I’m seeing exactly the same issue:

> <https://github.com/n8n-io/n8n/issues/25158>
>
> \## Describe the problem/error/question
> 
> "Code in Javascript" Task is always timi…ng out.
> 
> I have tried creating a new node and still getting the same.
> 
> 
> \## What is the error message (if any)?
> 
> \`\`\`
> Error: Task request timed out after 60 seconds at LocalTaskRequester.requestExpired (/usr/local/lib/node\_modules/n8n/src/task-runners/task-managers/task-requester.ts:291:17) at LocalTaskRequester.onMessage (/usr/local/lib/node\_modules/n8n/src/task-runners/task-managers/task-requester.ts:259:10) at TaskBroker.handleRequestTimeout (/usr/local/lib/node\_modules/n8n/src/task-runners/task-broker/task-broker.service.ts:115:50) at Timeout.\<anonymous\> (/usr/local/lib/node\_modules/n8n/src/task-runners/task-broker/task-broker.service.ts:102:9) at listOnTimeout (node:internal/timers:588:17) at processTimers (node:internal/timers:523:7)
> \`\`\`
> 
> \## Please share your workflow/screenshots/recording
> 
> \<img width="1145" height="879" alt="Image" src="https://github.com/user-attachments/assets/5e78ad20-994e-4aa4-9a1f-10b67cfef7ab" /\>
> 
> \`\`\`
> (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.)
> ⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.
> \`\`\`
> 
> 
> \`\`\`
> {
> "nodes": \[
> {
> "parameters": {
> "jsCode": "return { result: true};\\n\\n// const parts = $('Get Intercom Conversation').first().json.body.conversation\_parts.conversation\_parts\\n// .filter(part =\> !!part.body).filter(part =\> part.author.type !== \\"bot\\");\\n\\n// return {parts};\\n\\n// const formatTimestamp = (timestamp) =\> {\\n// const date = new Date(timestamp \* 1000);\\n// return date.toLocaleString();\\n// };\\n\\n// const formatAuthor = (author) =\> {\\n// if (!author) return 'Unknown';\\n// return \`${author.name || 'Unknown'} (${author.type || 'unknown'})\`;\\n// };\\n\\n// const output = parts.map(part =\> {\\n// const authorInfo = formatAuthor(part.author);\\n// const timestamp = formatTimestamp(part.created\_at);\\n// return \`\<div style=\\"margin-bottom: 20px; padding: 10px; border-left: 3px solid #ccc;\\"\>\\n// \<h2 style=\\"font-weight: bold; color: #666; margin-bottom: 5px;\\"\>${authorInfo} - ${timestamp}\</h2\>\\n// \<div\>${part.body}\</div\>\\n// \</div\>\`;\\n// }).join('');\\n\\n// return { output }"
> },
> "type": "n8n-nodes-base.code",
> "typeVersion": 2,
> "position": \[
> -800,
> 96
> \],
> "id": "2cc6a021-ea12-48d5-8f8c-587686a613cc",
> "name": "Create HTML for Intercom Conversation"
> }
> \],
> "connections": {
> "Create HTML for Intercom Conversation": {
> "main": \[
> \[\]
> \]
> }
> },
> "pinData": {},
> "meta": {
> "templateCredsSetupCompleted": true,
> "instanceId": "c45e48b274a2251f3f7673f6977a493a87f6e9d18dc40b27b611a3dce797d3a2"
> }
> }
> \`\`\`
> 
> \## Share the output returned by the last node
> 
> 
> 
> \## Debug info
> 
> \### core
> 
> \- n8nVersion: 1.122.5
> \- platform: docker (cloud)
> \- nodeJsVersion: 22.21.0
> \- nodeEnv: production
> \- database: sqlite
> \- executionMode: regular
> \- concurrency: 20
> \- license: community
> 
> \### storage
> 
> \- success: all
> \- error: all
> \- progress: false
> \- manual: true
> \- binaryMode: filesystem
> 
> \### pruning
> 
> \- enabled: true
> \- maxAge: 720 hours
> \- maxCount: 25000 executions
> 
> \### client
> 
> \- userAgent: mozilla/5.0 (macintosh; intel mac os x 10\_15\_7) applewebkit/537.36 (khtml, like gecko) chrome/144.0.0.0 safari/537.36
> \- isTouchDevice: false
> 
> Generated at: 2026-02-02T10:52:37.564Z}

This is currently blocking business critical work flows for us.

---

<div class="post-metadata">

**Author:** ![Ibtekr\_Club](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ibtekr_club/32/156503_2.png) [@Ibtekr\_Club](https://community.n8n.io/u/Ibtekr_Club)\
**Post date:** [February 2, 2026, 2:08pm UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/6 "2026-02-02T14:08:43Z")

</div>

i need to to talk with the support its not work

---

<div class="post-metadata">

**Author:** ![Jon\_James](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon_james/32/140887_2.png) [@Jon\_James](https://community.n8n.io/u/Jon_James)\
**Post date:** [February 2, 2026, 2:12pm UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/7 "2026-02-02T14:12:10Z")

</div>

Hi - please contact [help@n8n.io](mailto:help@n8n.io) to reach the support team.

---

<div class="post-metadata">

**Author:** ![tamy.santos](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tamy.santos/32/153776_2.png) [@tamy.santos](https://community.n8n.io/u/tamy.santos)\
**Post date:** [February 2, 2026, 8:57pm UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/8 "2026-02-02T20:57:22Z")

</div>

Hi @Ibtekr_Club

Just to clarify, this error is happening BEFORE your code even runs. So the problem isn’t with your JavaScript itself, it’s with the payload arriving at the Code node.

That means anything you do to reduce the size, volume, or complexity of the data before it hits the Code node should help.

**Here’s something you can try right away without waiting for support:**

Add an **Edit Fields (Set)** node right before the Code node and keep only the minimal JSON fields you actually need — strip out any binary data or large objects. Also make sure you’re not sending a huge number of items at once. Using `Split in Batches` to process data in smaller chunks often helps avoid these timeouts.

And if your Code node is only doing simple mapping or filtering, consider replacing it with native nodes like **IF** , **Set** , or **Item Lists**. That way you avoid the task runner entirely and the timeout won’t even be a factor.

referece:

> [@Code node stopped working in n8n Cloud — suspecting NODE\_FUNCTION\_ALLOW\_EXTERNAL issue](http://community.n8n.io/t/207558):
>
> Hi, I’m using n8n Cloud (browser version), and recently my Code node stopped working. It used to run fine, but now it hangs forever or fails to execute simple scripts. I found this thread where several users reported the same issue, and they mentioned it was caused by environment variables like NODE\_FUNCTION\_ALLOW\_EXTERNAL. Since I’m on the Cloud version, I can’t modify environment variables or restart my instance myself. Questions: Is there any way for Cloud users to reset or refresh the…

> [@Javascript Code node just times out](http://community.n8n.io/t/213690):
>
> If I try to run even a basic code it just seems to timeout using the cloud version: try { const text = $json?.body?.text ?? 'missing'; return {json: { text } }; } catch (err) { return { json: { error: err.message } }; }

---

<div class="post-metadata">

**Author:** ![Ibtekr\_Club](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ibtekr_club/32/156503_2.png) [@Ibtekr\_Club](https://community.n8n.io/u/Ibtekr_Club)\
**Post date:** [February 4, 2026, 8:22am UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/9 "2026-02-04T08:22:07Z")

</div>

Hi, thank you for your help i did that but the same issue happened .  
do you know how long it takes for support to respond?

---

<div class="post-metadata">

**Author:** ![Ibtekr\_Club](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ibtekr_club/32/156503_2.png) [@Ibtekr\_Club](https://community.n8n.io/u/Ibtekr_Club)\
**Post date:** [February 4, 2026, 8:58am UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/10 "2026-02-04T08:58:46Z")

</div>

thank you  
do you know how long it takes for support to respond?  
i sent an email yasterday

---

<div class="post-metadata">

**Author:** ![Vir\_Sabando](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/vir_sabando/32/65082_2.png) [@Vir\_Sabando](https://community.n8n.io/u/Vir_Sabando)\
**Post date:** [February 4, 2026, 4:31pm UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/11 "2026-02-04T16:31:19Z")

</div>

Hi there, I am experiencing the same issue here. No response from support, aside from one AI generated reply. Did anybody find a workaround / fix I can try?

Just to clarify: even the basic, “off the shelf” JS code node times out, so it is not an issue of the code itself or the amount of inputs it is processing. Additionally, I’ve tested JS code nodes in another cloud acct I have and those run perfectly fine.

---

<div class="post-metadata">

**Author:** ![tamy.santos](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tamy.santos/32/153776_2.png) [@tamy.santos](https://community.n8n.io/u/tamy.santos)\
**Post date:** [February 4, 2026, 6:14pm UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/12 "2026-02-04T18:14:46Z")

</div>

can sometimes take a few days , especially during periods of high demand or backlog in Support/Sales

---

<div class="post-metadata">

**Author:** ![Ibtekr\_Club](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ibtekr_club/32/156503_2.png) [@Ibtekr\_Club](https://community.n8n.io/u/Ibtekr_Club)\
**Post date:** [February 8, 2026, 3:43pm UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/13 "2026-02-08T15:43:05Z")

</div>

Hi, did you solve this issue its not solved for me for now

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [March 9, 2026, 12:13pm UTC](https://community.n8n.io/t/issue-with-code-node-javascript-timeout-in-n8n-cloud/259406/14 "2026-03-09T12:13:58Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
