# Realtime Database does not work

**URL:** <https://community.thunkable.com/t/realtime-database-does-not-work/1667456>\
**Category:** Questions about Thunkable X\
**Tags:** firebase\
**Created:** [January 7, 2022, 8:16am UTC](https://community.thunkable.com/t/realtime-database-does-not-work/1667456 "2022-01-07T08:16:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ruanyixincc5](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@ruanyixincc5](https://community.thunkable.com/u/ruanyixincc5)\
**Post date:** [January 7, 2022, 8:16am UTC](https://community.thunkable.com/t/realtime-database-does-not-work/1667456/1 "2022-01-07T08:16:15Z")

</div>

I swear I have obeyed every step the thunkable docs told me to establish a personal real time database. I have got the API Key and Database URL and filled in the App Setting on Thunkable,but still I can not upload or get my data from real time database,how could that happen?Where the problem is?

![QQ截图20220107160840](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/d/fdbc6c87f3399995a8046ba32f7c944725b1c7d2.png)

![QQ截图20220107161537](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/6/16351268ca27ec15faaeadc9d04c679dae8ca020.png)

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/2/32f35f9493772f109de032c25d6f6f10acd3eee4.png)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [January 7, 2022, 10:42am UTC](https://community.thunkable.com/t/realtime-database-does-not-work/1667456/2 "2022-01-07T10:42:42Z")

</div>

Can you explain what you want to happen?

Are you getting **ERROR** or **DONE** after you run this code?

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [January 7, 2022, 11:36am UTC](https://community.thunkable.com/t/realtime-database-does-not-work/1667456/3 "2022-01-07T11:36:07Z")

</div>

I think he expects to find in his realtime database something like:

- qwer  
- QWER

and instead, he finds .null.  
The only thing i can think is to remove your Realtime\_DB1 from app, check again that in project properties are good credentials (API key and Database URL), then after add again a realtime database…  
Maybe something happened with that.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [January 7, 2022, 12:43pm UTC](https://community.thunkable.com/t/realtime-database-does-not-work/1667456/4 "2022-01-07T12:43:21Z")

</div>

If he displays the error produced by the `Firebase block` then we can maybe know what is going on. Now we are clueless about the situation.

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [January 7, 2022, 12:47pm UTC](https://community.thunkable.com/t/realtime-database-does-not-work/1667456/5 "2022-01-07T12:47:36Z")

</div>

Echoing @mimostel .  
This could be the case however.  
Hé may has forgotten to Read and write to `true`

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [January 7, 2022, 12:56pm UTC](https://community.thunkable.com/t/realtime-database-does-not-work/1667456/6 "2022-01-07T12:56:50Z")

</div>

That is why the first step he needs to do is to display the error block in a label so we can see what to suggest that he should do.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [January 9, 2022, 1:14am UTC](https://community.thunkable.com/t/realtime-database-does-not-work/1667456/7 "2022-01-09T01:14:31Z")

</div>

Dear @tatiang

Can you close this post?  
As I believe it is just the same as this which you have closed already.

> [@Firebase Authentication error](https://community.thunkable.com/t/firebase-authentication-error/85771):
>
> Hi guys I don’t know what’s wrong with my firebase authentication,i can’t find my app user’s account and ID in the firebase “Authentication” section,and this is happening for the second time…Every signup details are wiped off,someone please help out,am still on SPARK PLAN Though,could that be the problem?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 9, 2022, 1:38am UTC](https://community.thunkable.com/t/realtime-database-does-not-work/1667456/8 "2022-01-09T01:38:23Z")

</div>


