Rectangular spiral

sorry, I tried to open it today, got an error in the “Replace items” block - “You cannot replace values in an empty list.”
Where is my error can be?