Split-out node error, despite following the doc example. Can any one give me a hand?

Describe the problem/error/question

I have been trying to split an array into different items.

I have tried passing just an array, a string, array in object, but I still get same error. I wonder if it’s a bug or if I have missed something very obvious.

Please help!!!

What is the error message (if any)?

Error that i am getting : this.getNodeParameter(…).split is not a function

TypeError: this.getNodeParameter(…).split is not a function at ExecuteContext.execute

Information on your n8n setup

  • n8n version: 1.110.1
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): railway docker
  • Operating system:

Hey @Ronnie_Cheng, hope all is good!

Try it like this:

Here is an example:

2 Likes

Thanks. it works! But can i ask a follow up question?
This way it splits out information from the node before. What if i need to split out from a field that is few nodes before? Without using an expression, I am having difficulty selecting information from other nodes. Thanks!

One way to do it could be to use code node:

Another way - through a merge node:

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