# \[Solved\] All published Apps stop Working! Urgent help please!

**URL:** https://community.thunkable.com/t/solved-all-published-apps-stop-working-urgent-help-please/1575666
**Category:** Questions about Thunkable X
**Created:** [October 22, 2021, 2:48pm UTC](https://community.thunkable.com/t/solved-all-published-apps-stop-working-urgent-help-please/1575666 "2021-10-22T14:48:52Z")
**Posts on this page:** 1
**Showing post:** 41

<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: [October 28, 2021, 7:45am UTC](https://community.thunkable.com/t/solved-all-published-apps-stop-working-urgent-help-please/1575666/41 "2021-10-28T07:45:26Z")

</div>

When you access Firebase using Thunkable you supply **API key** and **Database URL**.

The API key is used to create either an **Auth token** or a **User token** or both. however, these tokens are only required if you set the **Rules** in Firebase to deny anonymous access but if you allow access without any authentication then you can actually use the `Web API` component to get data from the database.

For Example, I have a test database that I do not use any security in it. See the rules:

```auto
{
  "rules": {
    ".read": "true", 
    ".write": "true", 
  }
}

```

So, I allow everyone to read or write to this database. In this case, I can get data just by using the **Database URL** and add to it the keys I want to retrieve and add to the end **.json**

Example:  
My test database is my-demodb and I want to retrieve the key **myBook/Students** so the full URL will be

```auto
https://my-demodb-9d875-default-rtdb.firebaseio.com/myBook/Students.json

```

I used this code to get a list of the students key

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

This is the output from my mobile

 ![Screenshot_2021-10-28-10-46-48-37_2bbfbfee96a5dfce998f962ebb8b5da3](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/e/2eab85117e97eab29b185b189203988b950972d6.jpeg)

Now, when you have security in place then you will need one of the methods to generate a token to access your data. I might write a more descriptive post about how to access using tokens.

To read about **Auth API** see this  
[https://firebase.google.com/docs/reference/rest/auth](https://firebase.google.com/docs/reference/rest/auth)

---

_[View the full topic](https://community.thunkable.com/t/solved-all-published-apps-stop-working-urgent-help-please/1575666)._
