# Realtime db get doesn't work

**URL:** <https://community.thunkable.com/t/realtime-db-get-doesnt-work/502276>\
**Category:** Questions about Thunkable X\
**Created:** [March 6, 2020, 7:03pm UTC](https://community.thunkable.com/t/realtime-db-get-doesnt-work/502276 "2020-03-06T19:03:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sose.yeritsyanm](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@sose.yeritsyanm](https://community.thunkable.com/u/sose.yeritsyanm)\
**Post date:** [March 6, 2020, 7:03pm UTC](https://community.thunkable.com/t/realtime-db-get-doesnt-work/502276/1 "2020-03-06T19:03:27Z")

</div>

Hi! This variant of code is works

 ![Screenshot from 2020-03-06 22-44-20](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/5/d507e804d8fa28517d70d5a0b325427078801e19.png)

but here it doesn’t

 ![Screenshot from 2020-03-06 22-44-43](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/b/ab513e055235d2f80b627200fcb856661eb34d1f.png)

please help me ((

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 6, 2020, 10:59pm UTC](https://community.thunkable.com/t/realtime-db-get-doesnt-work/502276/2 "2020-03-06T22:59:00Z")

</div>

The database definitely works. It’s just hard to work with at times.

In your second set of blocks, the variable you use as a key isn’t set to anything Getting info from firebase unless you have clicked on the save first.

In the first block. Try putting everything under the purple firebase block into the “then do” section of the block.

You could try putting the error block onto a labor for debugging purposes. That could help

---

<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/realtime-db-get-doesnt-work/502276/3 "2024-11-08T11:40:33Z")

</div>


