Bit stumped on workflow "array not iterable" error

I had a workflow correctly processing, but I made a change to a downstream action, and now a previous step is err’ing. I can’t really figure out what is happening… Any suggestions on where to start debugging?

I’m getting a “loop not iterable” error on an array that seems clearly iterable to me…

image

“Fail to start loop, as items to parse is not iterable”

The one that is err’ing is the first iterator eachUser. It’s possible further things are err’ing but the loop doesn’t get down that far.

Could you try to type typeof <yourVariable.result> on the formula box and share the result ?
You can also try Array.isArray(<yourVariable.result>) and see if it return true or false

ok that was helpful thanks! It returned object, so that explains it. Unclear a bit what changed because this workflow used to work - but at a min I can cast it to array…