Function reverse() locks the n8n

Good afternoon, what’s up?

I believe you have found a bug or error, although I have found a solution, I thought it necessary to bring it here.

Let’s go.

The reverse() function inside N8N cannot be used inside the “Edit Fields (Set)” node, because N8N crashes.

I’ll leave a demonstration flow below.

Although I’ve solved the problem using node code, I thought it would be interesting to bring it up here, just to see if I’ve done anything wrong.

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.21.1
  • Database : Postgres
  • Running n8n via: Docker
  • **Operating system: Debian 12

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hi @hugoo_souza10 :wave: Sorry for the long wait on this one!

Just confirmed this is happening, and is still happening on 1.24.1. I’m not too sure what seems to be the issue here or what’s causing the crash - I’ve alerted our engineering team about this, and we’ll update you as soon as possible!

Thanks so much for posting the workaround with the Code node too :bowing_man:

1 Like

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