Iterators causing Module references non-existing module 'NaN'. errors

What are you trying to achieve?

As a complete newbie I have spent the last two weeks trying to get what i thought would be a simple ai agent built, not having any experience i have been relying on chatgpt to assist or perhaps i am assisting chatgpt but anyway. Rather than try to explain something i know nothing about I have asked chatgpt to provide an overview of the issue in the hope that someone could provide some insight into what is going wrong.

I’ve built a Make scenario that uses two iterators to loop through nested JSON data and generate website content with OpenAI, then upload it to OneDrive.

Scenario flow (simplified):
23 Feed Each Hub (Iterator → parseJSON(Stage2_JSON).hubs)
→ 6 Hub Page Generator (OpenAI)
→ 26 Set Variable (Current_Hub = {{23.value}})
→ 22 Spoke Iterator (Iterator → parseJSON(Current_Hub).spokes)
→ 7 Spoke Page Generator (OpenAI)
→ 11 OneDrive Upload

Both iterators (#23 and #22) produce the error: Iterator – Module references non-existing module ‘NaN’. remove the array link and errors go away, from which I have to assume the issue is syntax related

What I Need Help With

Has anyone encountered the “Module references non-existing module ‘NaN’” error that’s linked to iterator Array mappings in the new builder?
Is there a stable syntax or workaround for passing nested arrays (e.g. Current_Hub.spokes) between iterators without Make corrupting the mapping?

Any assistance anyone can provide would be gratefully received. Thanks in advance

Steps taken so far

I’ve already tried these variants:
{{parseJSON(Stage2_JSON).hubs}}
{{JSON.parse(Stage2_JSON).hubs}}
{{get(parseJSON(Stage2_JSON),“hubs”)}}
and similarly for Current_Hub.spokes, but the error persists.

I suggest the first steps to do:

  1. Showing a screenshot of the actual scenario
  2. The module(s) causing the error
  3. A simplified description of what the purpose of the scenario is
  4. What you want the scenario to achieve

You’ll most likely be asked by others to provide this before you’ll receive any help.

Hey Steve,

please close the chatGPT window and don’t open it again when trying to build Make automations. Its clueless as to how Make operates and constantly gives bad advice. Instead head over to the Make academy and check this forum for guidance. There was a post here recently showcasing how to build your first AI agent for example.

The strings you have shared in the Steps taken so far are all wrong because none of them have the module number. Hence the error - it cant find the module you are trying to map from.