What to use instead of mycollection or how to increase mycollection limit more that 100

I’m using AddToCollection and i got this error :

Add To Collection: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

I realise that problem comes when i have more that 100 item to collect . If i have less this problem doesn’t come.

How to fix this error and what to use something different.

@uiNew You are defining your Range as well as your collection.

Please define what exactly you are doing in add to collection ?

in add to collection i am storing values from a json : “”"" + item(“buckets”)(i)(“model”).ToString + “”"" and problem comes when there are more than 100 value


Your collection Item does not have value for 100th Index… That a first step to check.
Use three different write line and print your add to collection item individually

you’re right , there weren’t more than 100 values

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.