Hi Team,
I am facing an issue with the version 1.22.6 where it shows ERROR: Maximum call stack size exceeded error on the node.
What is the error message (if any)?
RangeError: Maximum call stack size exceeded
at cleanupData (/n8n/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts:71:23)
at /n8n/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts:76:24
at Array.map (<anonymous>)
at cleanupData (/n8n/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts:72:27)
at /n8n/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts:76:24
at Array.map (<anonymous>)
at cleanupData (/n8n/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts:72:27)
at /n8n/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts:76:24
at Array.map (<anonymous>)
at cleanupData (/n8n/packages/nodes-base/nodes/FunctionItem/FunctionItem.node.ts:72:27)
I would maybe try swapping out the function item node for a code node and see if that helps, if it doesn’t it would be worth an upgrade as we have fixed a few of those errors recently.
But you are still referencing the value and for that value to exist the node still needs to run. We also have pagination built into the http request node so it could be worth thinking about using that instead.
The same workflow is working fine on version 0.234.1
My point is here, if the pageToken value is not present {{$node["Set setNextPage"].json["pageToken"]}} then it should pass as empty like it’s happening in the reference recording, but why it’s not working with the version 1.22.6
Essentially, we require the contact list ID from Mailchimp, but we’re encountering difficulty obtaining it with version 1.22.6.
Presently, we’re retrieving the list ID from Mailchimp using its nodes. Consequently, I’m inquiring whether there have been any alterations to the current Mailchimp node.