# Retrieve firebase data in list viewer

**URL:** <https://community.thunkable.com/t/retrieve-firebase-data-in-list-viewer/1018633>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, solved, beginner, help\
**Created:** [December 3, 2020, 8:05pm UTC](https://community.thunkable.com/t/retrieve-firebase-data-in-list-viewer/1018633 "2020-12-03T20:05:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [December 3, 2020, 8:56pm UTC](https://community.thunkable.com/t/retrieve-firebase-data-in-list-viewer/1018633/2 "2020-12-03T20:56:34Z")

</div>

@mostfaaa823awcy,

There are a few potential issues and some additional information to help debugging.

1. Try to steer clear of the RealtimeDB GET and SAVE Blocks.They are asynchronous and a massive headache. Use the Cloud Variable Blocks instead. Here is a link on the easy conversion [Replace GET or SAVE Blocks with cloud variables](http://community.thunkable.com/t/thunkable-hack-deep-firebase-json-data-manipulation-without-using-get-or-save-blocks/975738).
2. If you insist on using the RealtimeDB Get Block, try checking the ERROR block before performing operations on the VALUE block.
3. I THINK (but I’m not 100% sure) that for Thunkable to read a JSON List/Array, the elements must be number starting with 0 and have no missing entries. The Firebase list has 0,2,4,6,10. I think that will cause thunkable problems
4. Once you fix the number and use the cloud blocks, I think your Button2 click should look something like this: ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/1/8122ea653e0e70a9851babc90b748c55a04673cb.png)
5. Button 1 to save the values should probably look something like this (again, steer clear of the SAVE block): ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/a/5a9c0880f72d4f58a7f932bcf98590f1b1ad8b54.png)

Happy Thunking!

---

_[View the full topic](https://community.thunkable.com/t/retrieve-firebase-data-in-list-viewer/1018633)._
