Sounds like your array is not valid, empty or not being set. I have 2 questions. Where does this “2” get the variable being set? Another thing is, why are you calling this “1” node if you are not utilising it at all?
Anyway, can you try to set in your array variable using the “1” output? I think that’s where it should be set.
