Error when trying to get value from a list

I am coding for an app in the creator section. I got a string from an website. Now i am spliting the string into a list and trying to get the values for custom use. I am getting the value but app raising a error that

Select list Item: List index too large

Select list item: Attempt to get item number 12 of list length 0: ()

Which type of joke is it ? If it doesn’t have that index then how am i getting the exact value. please fix this bug ASAP.

Are you sure the answer is that it’s a list?
Not json.

use Do it to debug your blocks, see tip 4 here App Inventor: How to Learn | Pura Vida Apps


1 Like

how to check whether its list or json when spliting a string ?

There is a block named is a list? in list category