the second argument to foreach is not a list

Hi, everyone. I dont know what im doing wrong. Someone can show me how to solve it?

Test the incoming CloudDB value to see if it is a list, before you try to treat it like a list.

There is an Is A List block you can use.