Loop block not iterating over JSON array from Data Action

Trying to iterate over a JSON array returned from a REST call in a Data Action. The API endpoint returns a valid JSON array of objects. The Data Action maps the response to a variable called result.items. When I check the variable in a debug log, it shows the full array string.

The issue is the Loop block. I’m setting the loop input to result.items. The loop doesn’t seem to recognize it as an iterable list. It either skips the loop entirely or treats the whole JSON string as a single item. I’ve tried wrapping the variable in to_json_array() but that throws a parsing error because the variable is already a string representation of the array.

Here is the sample payload from the REST response:

[
 {"id": 101, "name": "Widget A"},
 {"id": 102, "name": "Widget B"}
]

I need to access item.id and item.name inside the loop. The documentation says the Data Action should handle the parsing. Am I missing a step in the Data Action configuration? The JSON path in the Data Action is set to $.items. Is the Loop block expecting a specific data type that isn’t being passed correctly from the Data Action? The error log just shows Loop input is not an array. Need help figuring out the correct variable mapping.