Invalid list index 3.

In function ListSetAt(list, index [, delimiters]), the value of index, 3, is not a valid as the first argument (this list has 0 elements). Valid indexes are in the range 1 through the number of elements in the list.