Code node not working

Describe the problem/error/question

Is there any specific restriction on the code node? It seems that the includes don’t work here. Can you please check and assist? Thank you in advance :slightly_smiling_face:

What is the error message (if any)?

Please share your workflow

(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.)

Share the output returned by the last node

Information on your n8n setup

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

Hey @Gouravdev,

Includes should work, Looking at how you are using it though I had always though the second item of an includes was for an index / position in the string and i is a string so I would kind of expect that to fail as it is not valid.

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