Subscript value %1 too large

Error code 2601
Probable cause

You have attempted to index a host variable that is an array with a value too large for the array.