I am using a list to store values. When I am trying to remove an item from the list I get this error. I looked for options/solution on community, unable to find one while there are a few discussions.
Select list item: Attempt to get item number 0, of the list (). The minimum valid item number is 1. Note: You will not see another error reported for 5 seconds.
Block I am using:
It is clear with IF that it is able to find a match in the list and hence displaying Before removal debug statement - confirming that list length is not zero. And then the error comes and After removal statement is not shown.
Also, are you sure the the error is due to the blocks that you have shown? Looking at the error message, it seems that the error occurs when you are try to select any list item. So may be error may be present where you are using select list item block (which is not present in the blocks provided).
Contain Text block is not wrong, it works perfectly. Remove list was giving error as I used list to csv on tinyDB as it was giving some error earlier. Once I removed list to csv and stored directly into FAVLIST, it worked fine.
Writing here to let you all know this was resolved.