Loop block index out of range when iterating JSON array from Data Action

I’m trying to use the Loop block in Genesys Architect to iterate over a JSON array returned by a custom Data Action. The Data Action hits an internal REST endpoint and returns a simple list of objects. Here’s the response payload:

[
 {"id": 1, "name": "Alice"},
 {"id": 2, "name": "Bob"}
]

In Architect, I map the Data Action output to a variable called peopleArray. I then add a Loop block and set the input to peopleArray. I want to access each item’s id inside the loop. I tried using the expression peopleArray[loopIndex].id but I get an error saying the index is out of range. The loop seems to start at 0, which should be correct for JSON arrays.

I’ve checked the Data Action response and it’s definitely a valid JSON array. The variable type in Architect is set to Array of Objects. Is there a specific way to reference the current loop item in Genesys Architect? I can’t find clear documentation on the syntax for accessing loop elements. The error happens on the first iteration, so it’s not a problem with the last index. Any help would be appreciated.