Loop block iterating over Data Action JSON array returns null on first pass

I’m trying to parse a JSON array returned from an external Data Action using the Loop block in Architect. The Data Action hits a simple endpoint that returns a list of user IDs like [{"id": "123"}, {"id": "456"}].

I’ve set the Loop block to iterate over the response.body array. The issue is that on the very first iteration, the variable current_item is always null. On the second iteration, it picks up the first object. It seems like the loop is skipping the initial state or the data isn’t fully populated before the loop starts.

Here’s the JSON mapping I’m using in the Data Action:

{
 "method": "GET",
 "url": "https://api.example.com/users",
 "body": ""
}

And in the Loop configuration:

  • Input Array: ${dataActionResult.response.body}
  • Output Variable: current_item

I’ve checked the debug logs and the array is definitely populated before the loop starts. Has anyone seen this off-by-one behavior with the Loop block? Is there a specific way to initialize the iterator or should I be using a different block for this?