Describe the problem/error/question
I have a very simple workflow which consists of listing all files under a certain directory on a SFTP.
It should be noted that this SFTP has quite a lot of files, which amount to approximately 1,100,000.
When running this workflow, after a few minutes of processing, the workflow fails in the listing FTP node.
What is the error message (if any)?
RangeError: Maximum call stack size exceeded
at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Ftp/Ftp.node.js:489:46)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:706:19)
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:656:53
at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1058:20
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.27.2
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Amazon Linux 2023