I tried to search here and on Google but could not find any solution.
I can’t get the code node to work at all. Even with very simple code.
n8n version: 1.102.3, running in EC2 in AWS using Docker
Code being executed:
return [
{ json: { name: "test" } }
];
Mode: Run Once For All Items
I do not see any output.
I tried to add a console.log. No output in console either.
I tried several other formats:
return { result: [ { json: { test: "hello" } } ] };
return { test: "hello" };
I see this in the docker logs:
node execution output incorrect data
Error: node execution output incorrect data
at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1220:6)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1582:27
at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2153:11
Could anyone help please? I am stuck.
Thanks.
Hi @Pierrick , hope all is well. Welcome to community!
Can you embed your workflow here? Just to make sure that your workflow is nothing wrong.
Hey @Pierrick hope all is well, welcome to the community.
There appears to be a product bug about this issue:
opened 07:31AM - 12 Jul 25 UTC
in linear
Needs Feedback
### Bug Description
When I start up my docker container I'm getting the followi… ng in the logs:
```
node execution output incorrect data
n8n | Error: node execution output incorrect data
n8n | at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1202:6)
n8n | at processTicksAndRejections (node:internal/process/task_queues:105:5)
n8n | at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1564:27
n8n | at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2135:11
n8n |
n8n | node execution output incorrect data
n8n | Error: node execution output incorrect data
n8n | at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1202:6)
n8n | at processTicksAndRejections (node:internal/process/task_queues:105:5)
n8n | at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1564:27
n8n | at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2135:11
n8n |
n8n | node execution output incorrect data
n8n | Error: node execution output incorrect data
n8n | at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1202:6)
n8n | at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1564:27
n8n | at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2135:11
n8n |
n8n | node execution output incorrect data
n8n | Error: node execution output incorrect data
n8n | at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1202:6)
n8n | at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1564:27
n8n | at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected] [email protected] [email protected] [email protected] _/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2135:11
```
Looks like the core openAi package has a little issue with something...
Funny detail, I'm not using any (open)AI stuff.
### To Reproduce
1. Spin up a container
2. Look at the logs
I'm using the following compose file:
```yaml
services:
n8n:
container_name: n8n
network_mode: bridge
restart: always
ports:
- 5678:5678
volumes:
- /volume1/docker/n8n:/home/node/.n8n
environment:
- GENERIC_TIMEZONE=Europe/Amsterdam
- TZ=Europe/Amsterdam
- DB_SQLITE_VACUUM_ON_STARTUP=true
- EXECUTIONS_DATA_PRUNE=true
- WEBHOOK_URL=https://example.com
- N8N_PROXY_HOPS=1
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- N8N_RUNNERS_ENABLED=true
- N8N_RUNNERS_MODE=internal
image: n8nio/n8n:latest
```
### Expected behavior
No error caused by the core OpenAI package ;)
### Operating System
Synology NAS
### n8n Version
1.101.2
### Node.js Version
The one that is shipped with the container
### Database
SQLite (default)
### Execution mode
main (default)
It was mentioned here . Feel free to contribute with your case.
Thanks @jabbson however I do not use OpenAI and my error is related to the fact that the code node does not return anything at all when I execute this step.
Also, it has been marked as “can be ignored”, which in my case won’t work.
Actually, you are probably right. I created a new workflow with just the code node and it’s working fine. Thanks!
You are very welcome, hope this gets solved.
It’s all working now. Thanks a lot for the help!
1 Like
system
Closed
October 15, 2025, 4:06pm
10
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.