# Error index in list or list viewer

**URL:** https://community.thunkable.com/t/error-index-in-list-or-list-viewer/73335
**Category:** Questions about Thunkable X
**Created:** [March 24, 2019, 5:54pm UTC](https://community.thunkable.com/t/error-index-in-list-or-list-viewer/73335 "2019-03-24T17:54:56Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![raul\_denia](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@raul\_denia](https://community.thunkable.com/u/raul_denia)
#### Post date: [March 24, 2019, 5:54pm UTC](https://community.thunkable.com/t/error-index-in-list-or-list-viewer/73335/1 "2019-03-24T17:54:56Z")

</div>

Hello.

I have read about index problems with list o list viewer. Some times it appears to start in 0 and other to start in 1.

I am goin to try to explain me how I try to solve the bug.

When you test in live the app, if you are in the screen with the list, the index start in this screen with 1, but in others screens with another lists, they start with 0.

That occurs when you download the app, in the screen where you are when download the app, the list start in 1 but in others screens with lists start in 0.

Any solution? Because I can solve only doing a math operation (index-1) in other screens wheere I am not there when download the app but this is a strange solution. It works but I feel that in any moment the app can’t crashes.

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [March 25, 2019, 2:41pm UTC](https://community.thunkable.com/t/error-index-in-list-or-list-viewer/73335/2 "2019-03-25T14:41:42Z")

</div>

Hi @raul_denia, welcome to the Thunkable Community!

We’ve just published a tutorial on working with Lists here:

> [@Working with Lists \[Video\]](http://community.thunkable.com/t/working-with-lists/73379):
>
> Working with Lists One of the most frequent questions we get here in the Community is about working with lists, so when we decided to start a weekly app building livestream this seemed like a good place to start [[Thunkable On Air Episode 1: How to use Lists] ](https://www.youtube.com/watch?v=M6T_2ny9Tjo) Remix this App If you want to use and reuse the code from the video, just [click on this link](https://x.thunkable.com/copy/4b110e9bf5a714d8933199b38a829d8d) to create a copy for yourself. Slides Here are the slides that were used during the livestream. If you’re an educator using Thunkable…

All lists should be indexed from 1, if you have a specific example (or better yet, if you can create a very simple project that reproduces this error) can you share it here for us to take a closer look at please?

---

<div class="post-metadata">

### Author: ![raul\_denia](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@raul\_denia](https://community.thunkable.com/u/raul_denia)
#### Post date: [March 25, 2019, 7:02pm UTC](https://community.thunkable.com/t/error-index-in-list-or-list-viewer/73335/3 "2019-03-25T19:02:19Z")

</div>

Hi.

Nice tutorial but It seems a bug in my large project because if it works properly, when I access to list[0] it will be an error, but it works well.

I read in the gitub another cases with the same error in large projects (more than 1mb).

I create the list view from colums from airtable.

I will try to make a captures to show you.

---

<div class="post-metadata">

### Author: ![lff](https://avatars.discourse-cdn.com/v4/letter/l/e495f1/32.png) [@lff](https://community.thunkable.com/u/lff)
#### Post date: [March 26, 2019, 9:38pm UTC](https://community.thunkable.com/t/error-index-in-list-or-list-viewer/73335/4 "2019-03-26T21:38:15Z")

</div>

I have a similar problem. I know the index of the element selected in the listviewer, but I do not know the index of the same element in airtable. The elements I show in the listviewer are a subset of the rows stored in airtable. Sometimes it seems that airtable stores the elements starting in 0 (if I select the row 5, it shows me the row 6). But if I set +1 the rownumber variable, then it shows me the -1 row, and sometimes the correct one.  
How do you fix it?  
Thanks  
Lidia

---

<div class="post-metadata">

### Author: ![Freya\_Morales](https://avatars.discourse-cdn.com/v4/letter/f/df705f/32.png) [@Freya\_Morales](https://community.thunkable.com/u/Freya_Morales)
#### Post date: [April 20, 2019, 10:25pm UTC](https://community.thunkable.com/t/error-index-in-list-or-list-viewer/73335/5 "2019-04-20T22:25:55Z")

</div>

Hi.  
I have exactly the same problem than raul\_denia, and I have resolved in the same way. It`s strange, but it’s work.

---

<div class="post-metadata">

### Author: ![luk2009](https://avatars.discourse-cdn.com/v4/letter/l/e9c0ed/32.png) [@luk2009](https://community.thunkable.com/u/luk2009)
#### Post date: [July 9, 2019, 3:11am UTC](https://community.thunkable.com/t/error-index-in-list-or-list-viewer/73335/6 "2019-07-09T03:11:17Z")

</div>

The same thing happens to me if I’m on some screens, but if I’m in the block area of ​​the screen where the list is, it works well.

The problem is that the listviewer changes the index.

clearly it is a listviewer bug as it has been reported by raul\_denia

---

<div class="post-metadata">

### Author: ![danibarzo16i718](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@danibarzo16i718](https://community.thunkable.com/u/danibarzo16i718)
#### Post date: [March 10, 2020, 12:13am UTC](https://community.thunkable.com/t/error-index-in-list-or-list-viewer/73335/7 "2020-03-10T00:13:06Z")

</div>

Hi @luk2009, is this bug already fixed? Thanks in advance!

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:40am UTC](https://community.thunkable.com/t/error-index-in-list-or-list-viewer/73335/8 "2024-11-08T11:40:27Z")

</div>


