# Storing things in cloud won't work unless the code is in the first screen. Please help

**URL:** <https://community.thunkable.com/t/storing-things-in-cloud-wont-work-unless-the-code-is-in-the-first-screen-please-help/563535>\
**Category:** Questions about Thunkable X\
**Created:** [April 17, 2020, 5:49am UTC](https://community.thunkable.com/t/storing-things-in-cloud-wont-work-unless-the-code-is-in-the-first-screen-please-help/563535 "2020-04-17T05:49:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ampandit4a1](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@ampandit4a1](https://community.thunkable.com/u/ampandit4a1)\
**Post date:** [April 17, 2020, 5:49am UTC](https://community.thunkable.com/t/storing-things-in-cloud-wont-work-unless-the-code-is-in-the-first-screen-please-help/563535/1 "2020-04-17T05:49:01Z")

</div>

When I want to store something in cloud, it only works if I put that code in the first page of my project (the screen you see when you first open the app). However, it stops working when I put it as the second or third screen. I’m making a to-do list kind of app by the way and i’m storing the todo’s in cloud. Please help me. Thanks!

---

<div class="post-metadata">

**Author:** ![samclever](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@samclever](https://community.thunkable.com/u/samclever)\
**Post date:** [April 17, 2020, 6:09am UTC](https://community.thunkable.com/t/storing-things-in-cloud-wont-work-unless-the-code-is-in-the-first-screen-please-help/563535/2 "2020-04-17T06:09:38Z")

</div>

By the cloud I assume you’re referring to Firebase? If so, we need a little more information as well as the blocks if possible.

---

<div class="post-metadata">

**Author:** ![ampandit4a1](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@ampandit4a1](https://community.thunkable.com/u/ampandit4a1)\
**Post date:** [April 17, 2020, 6:09pm UTC](https://community.thunkable.com/t/storing-things-in-cloud-wont-work-unless-the-code-is-in-the-first-screen-please-help/563535/3 "2020-04-17T18:09:00Z")

</div>

@samclever - yes I am using the cloud variable which I understand used Firebase.  
This is the link to the image of the code:  
[image|527x337](https://community.thunkable.com/uploads/short-url/c1kClSXWZV2DGAmhggNVbuGX6e1.png)

---

<div class="post-metadata">

**Author:** ![samclever](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@samclever](https://community.thunkable.com/u/samclever)\
**Post date:** [April 18, 2020, 5:37am UTC](https://community.thunkable.com/t/storing-things-in-cloud-wont-work-unless-the-code-is-in-the-first-screen-please-help/563535/4 "2020-04-18T05:37:26Z")

</div>

I would recommend you use the Realtime DB blocks to get and save data to Firebase. The variables have been less than user friendly on X.

---

<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:38am UTC](https://community.thunkable.com/t/storing-things-in-cloud-wont-work-unless-the-code-is-in-the-first-screen-please-help/563535/5 "2024-11-08T11:38:52Z")

</div>


