Not getting the correct response in passing variables in REST API loop in workflow

I have a very weird issue I am facing. I have this resource of Rest API. I want to use it in a loop block in a workflow to get the necessary data.

When I set up the workflow loop block and pass the URL params as a variable, the response I get is just message.

In the same loop block, if instead of variables I pass actual values, then it works perfectly.

I tried to just use the resource directly out of the loop block and in there, the variables also work fine.

Can anyone please help me understand what I am doing wrong and how to fix this?

A few of us are having the same issue with loops and using value/index.

@Tess from Retool is having the team look into it.

Thanks @Jessica_D

@Tess is there any ETA on this?

Bumped this internally—will keep this thread updated once we hear back!

A quick note (while we're still waiting for a better resolution):

A user running into a similar issue confirmed that changing the loop lambda type to something else and then switching it back to Retool Workflow resolved it. Does this work for anyone here?

@victoria you mean switching to code and then switching back to GUI in the loop codeblock?