Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n8n 0.198.2 “Code” Node and ”Python” Node compatibility #1

Open
Canon88 opened this issue Oct 19, 2022 · 0 comments
Open

n8n 0.198.2 “Code” Node and ”Python” Node compatibility #1

Canon88 opened this issue Oct 19, 2022 · 0 comments

Comments

@Canon88
Copy link

Canon88 commented Oct 19, 2022

Hi, i update my n8n-python version to 0.198.2, i find "Code" Node cannot receive data from "Python" Node as input.
See my example:
Workflow
image

Simulation data

  • Set Node Simulation data
    image
  • Python Node Simulation data
    image

Code Node
image

Run Workflow

  • Set Node -> Code Node it's OK.
    image

  • Python Node -> Code Node not work, i see err.
    image
    image

ERROR: Unknown top-level item key: ioc [item 0]
Access the properties of an item under `.json`, e.g. `item.json`
 Details
Item Index: 0


Error: Unknown top-level item key: ioc [item 0]
    at /usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Code/Sandbox.js:174:19
    at Array.forEach (<anonymous>)
    at Sandbox.runCodeEachItem (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Code/Sandbox.js:171:38)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Object.execute (/usr/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Code/Code.node.js:96:24)
    at async Workflow.runNode (/usr/lib/node_modules/n8n/node_modules/n8n-workflow/dist/src/Workflow.js:645:28)
    at async /usr/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:562:53

I have question, Why same data, but not work in Python Node to Code Node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant