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.