# Help with Firebase writing

**URL:** https://community.thunkable.com/t/help-with-firebase-writing/52936
**Category:** Questions about Thunkable X
**Tags:** firebase
**Created:** [October 21, 2018, 8:17am UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936 "2018-10-21T08:17:33Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![MJ\_04](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MJ\_04](https://community.thunkable.com/u/MJ_04)
#### Post date: [October 21, 2018, 8:17am UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/1 "2018-10-21T08:17:33Z")

</div>

Hey all,  
Trying to make a basic sports app to track ones records, but i have encountered an issue with writing to my Firebase Realtime DB. On the Create Account screen, it successfully writes the USER as ‘taken’ (i kow because i checked the database on my browser), but it doesnt print the success message, or do anything else in the “When Done” area…  
please help, project is attatched

[https://x.thunkable.com/projects/5bcbccc742af59310f8b321](https://x.thunkable.com/projects/5bcbccc742af59310f8b321)

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 21, 2018, 11:53am UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/2 "2018-10-21T11:53:31Z")

</div>

Hey @MJ_04, your project is in private mode so we can’t access it. If you’re not willing to share it, you can provide screenshots so we can help 🙂

Nice day !

---

<div class="post-metadata">

### Author: ![MJ\_04](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MJ\_04](https://community.thunkable.com/u/MJ_04)
#### Post date: [October 21, 2018, 8:04pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/3 "2018-10-21T20:04:27Z")

</div>

Thanks for quick response @AcrobatEpee,

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/b/7bd9185383302dd1e7195be58e9562a4eda2a7f3.jpeg)  
It seems my project is on public mode, I do not have Thunkable PRO…

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 21, 2018, 8:27pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/4 "2018-10-21T20:27:17Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/d/cddc0fe2515ea689a4db123a197520e859a2b4fb.png)

Shows blank for me

Would you mind sharing screenshots ?

Please share all relevant blocks (Here the one saving to the database + the then do section + all the blocks, variables, etc. which appear in the previous elements 🙂)

---

<div class="post-metadata">

### Author: ![MJ\_04](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MJ\_04](https://community.thunkable.com/u/MJ_04)
#### Post date: [October 21, 2018, 9:22pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/5 "2018-10-21T21:22:54Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/e/3e12872d84ffe4fbc43423832fc222b0350e1bf1.jpeg) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/a/4a233c67e2637fb8333c4f15fb2ccabaab99b7fb.jpeg) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/1/41f68d49d501106cb5d286c34e159142d713e6b6.jpeg)

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 21, 2018, 9:54pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/6 "2018-10-21T21:54:51Z")

</div>

And what exactly is not working ? Also, I suggest that here :

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/8/c8faf38524f496bc29d8a1b7e2c38c494bf06799.jpeg)

You delete the error =/= null because there is no reason to have it here and also you have the `value =/=` taken so it is normal that if the Firebase returns taken it will not execute the blocks under this if

---

<div class="post-metadata">

### Author: ![MJ\_04](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MJ\_04](https://community.thunkable.com/u/MJ_04)
#### Post date: [October 22, 2018, 5:40am UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/7 "2018-10-22T05:40:08Z")

</div>

@AcrobatEpee , Anything in the “Then Do” part of the first save function doesn’t run, however it does save the value…?

---

<div class="post-metadata">

### Author: ![MJ\_04](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MJ\_04](https://community.thunkable.com/u/MJ_04)
#### Post date: [October 22, 2018, 6:06am UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/8 "2018-10-22T06:06:56Z")

</div>

ok, so i made it smaller and added some debugging, still very confused,  
 ![snip](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/b/4bb7539066405b38e628a5979332080df29dd0b1.png)  
the button changes text to past 1, but nothing after that???

i thought it might be my Firebase, but i changed to the thunkable default and it still doesnt get past writing ‘taken’/‘takener’

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 22, 2018, 9:26am UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/9 "2018-10-22T09:26:41Z")

</div>

Are PWD & Name subcategories ? If yes you might need to add a /

Your path will then be `User text + / + PWD`

---

<div class="post-metadata">

### Author: ![MJ\_04](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MJ\_04](https://community.thunkable.com/u/MJ_04)
#### Post date: [October 22, 2018, 8:18pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/10 "2018-10-22T20:18:09Z")

</div>

Should I make them subcategories? I figured it would work the same if they are labelled USERPWD and USERName

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 22, 2018, 10:23pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/11 "2018-10-22T22:23:05Z")

</div>

Give it a try !

---

<div class="post-metadata">

### Author: ![MJ\_04](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MJ\_04](https://community.thunkable.com/u/MJ_04)
#### Post date: [October 23, 2018, 4:58am UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/12 "2018-10-23T04:58:25Z")

</div>

Nope, didn’t help, here is another link to the project:  
[https://x.thunkable.com/copy/0c6a4bfa9f0faa947f25821b433c2de6](https://x.thunkable.com/copy/0c6a4bfa9f0faa947f25821b433c2de6)

---

<div class="post-metadata">

### Author: ![AcrobatEpee](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/acrobatepee/32/26336_2.png) [@AcrobatEpee](https://community.thunkable.com/u/AcrobatEpee)
#### Post date: [October 23, 2018, 12:40pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/13 "2018-10-23T12:40:05Z")

</div>

[https://x.thunkable.com/projects/5bcf15b0c985d983847c1a34/Log%20In/blocks](https://x.thunkable.com/projects/5bcf15b0c985d983847c1a34/Log%20In/blocks)

Try this

---

<div class="post-metadata">

### Author: ![MJ\_04](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MJ\_04](https://community.thunkable.com/u/MJ_04)
#### Post date: [October 23, 2018, 9:12pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/14 "2018-10-23T21:12:53Z")

</div>

Thanks for that, but the problem on the “Create Account” page still hasn’t been resolved ☹️

---

<div class="post-metadata">

### Author: ![MJ\_04](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MJ\_04](https://community.thunkable.com/u/MJ_04)
#### Post date: [October 29, 2018, 6:20am UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/15 "2018-10-29T06:20:52Z")

</div>

it pretty much seems i cant access firebase at all now! please help, the latest version of my project is attached:  
[https://x.thunkable.com/copy/13727b43c1f5413a48238cca45ce61c7](https://x.thunkable.com/copy/13727b43c1f5413a48238cca45ce61c7)

---

<div class="post-metadata">

### Author: ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)
#### Post date: [October 31, 2018, 6:01pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/16 "2018-10-31T18:01:22Z")

</div>

> [@MJ\_04](#):
>
> it pretty much seems i cant access firebase at all now! please help, the latest version of my project is attached:

@MJ_04, can you either provide the steps to follow with your app which demonstrates how Firebase is not working or can you create a simpler app which shows the problem?

-Mark

---

<div class="post-metadata">

### Author: ![MJ\_04](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MJ\_04](https://community.thunkable.com/u/MJ_04)
#### Post date: [October 31, 2018, 7:56pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/17 "2018-10-31T19:56:37Z")

</div>

While in the “Create Account” screen of my project, enter text in to the fields and click the ‘Create’ button. This should save your entries to firebase, but it doesn’t?

---

<div class="post-metadata">

### Author: ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)
#### Post date: [October 31, 2018, 9:55pm UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/18 "2018-10-31T21:55:42Z")

</div>

> [@MJ\_04](#):
>
> While in the “Create Account” screen of my project, enter text in to the fields and click the ‘Create’ button. This should save your entries to firebase, but it doesn’t?

Perhaps [our documentation on variables](https://docs.thunkable.com/thunkable-cross-platform/create/blocks/variables) is unclear, but you need to use ‘cloud’ variables if you want to store into Firebase, rather the `stored’ variables that you are using in your ‘Create Account’ screen. ‘Stored’ variables are used when you want to save the data on your phone.

Sorry for the confusion.

-Mark

---

<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:54am UTC](https://community.thunkable.com/t/help-with-firebase-writing/52936/19 "2024-11-08T11:54:53Z")

</div>


