# Firabase call does not work

**URL:** <https://community.thunkable.com/t/firabase-call-does-not-work/2404575>\
**Category:** Issues / Bugs\
**Created:** [May 5, 2023, 8:45am UTC](https://community.thunkable.com/t/firabase-call-does-not-work/2404575 "2023-05-05T08:45:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)\
**Post date:** [May 5, 2023, 8:45am UTC](https://community.thunkable.com/t/firabase-call-does-not-work/2404575/1 "2023-05-05T08:45:32Z")

</div>

The following image show the database and Pair with a “Key” AAA and the Value after the colon  
I am uncertain how to call and get response in this case… The URL is correct but still just mumbo jumbo int the error response. Status = 200

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

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/2/a28a54b84fac1adb35642e1ecd8a53b0bc4a85a0.png)  
Any ideas?

---

<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:** [May 5, 2023, 10:34am UTC](https://community.thunkable.com/t/firabase-call-does-not-work/2404575/2 "2023-05-05T10:34:07Z")

</div>

Can you show the error?

---

<div class="post-metadata">

**Author:** ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)\
**Post date:** [May 5, 2023, 1:00pm UTC](https://community.thunkable.com/t/firabase-call-does-not-work/2404575/3 "2023-05-05T13:00:19Z")

</div>

![IMG_6542](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/3/b3359cb37de11d2c08b24f63c47e20adca946d00.jpeg)

---

<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:** [May 5, 2023, 1:26pm UTC](https://community.thunkable.com/t/firabase-call-does-not-work/2404575/4 "2023-05-05T13:26:26Z")

</div>

Why are you using an API call with Firebase? Is there something special you’re doing to retrieve data? Is there a reason you’re not just using cloud variables to get the data?

What is the full path to the “AAA” key?

---

<div class="post-metadata">

**Author:** ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)\
**Post date:** [May 5, 2023, 1:31pm UTC](https://community.thunkable.com/t/firabase-call-does-not-work/2404575/5 "2023-05-05T13:31:29Z")

</div>

The user should write AAA in a textbox and “submit”  
The answer should be everything coming after the colon (🙂  
So, i need to specify the URL to this FB DB - That is done.

Given the the question you are stating - there is another way of doing this?  
there are 10 thousand variables… So how can i set system to pick the correct one without a API call…?

---

<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:** [May 5, 2023, 2:21pm UTC](https://community.thunkable.com/t/firabase-call-does-not-work/2404575/6 "2023-05-05T14:21:16Z")

</div>

Set Label’s Text to cloud variable [Text Input’s text]

That will do what you want. You do have to be careful because an incorrect entry by the user will crash your app. So you’ll also need to check that what they type is a valid key name in your Firebase database. But for now, please try my suggestion and let me know if it works for you.

These two lines of blocks should do the same thing:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/1/b1e102752959446e346ec182b2d6c5851283d8db.png)

---

<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:** [May 5, 2023, 5:29pm UTC](https://community.thunkable.com/t/firabase-call-does-not-work/2404575/7 "2023-05-05T17:29:39Z")

</div>

Hello @stefansladdeneng1!  
Also, you will need to add these Firebase settings to the project settings  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/3/d3ab9e5fb369123be3b67f5ea2a5fcfff982a9a4.png)

---

<div class="post-metadata">

**Author:** ![stefansladdeneng1](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/stefansladdeneng1/32/170123_2.png) [@stefansladdeneng1](https://community.thunkable.com/u/stefansladdeneng1)\
**Post date:** [May 5, 2023, 5:31pm UTC](https://community.thunkable.com/t/firabase-call-does-not-work/2404575/8 "2023-05-05T17:31:31Z")

</div>

Of course 😃 woking fine now  
Thanks

---

<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, 1:33pm UTC](https://community.thunkable.com/t/firabase-call-does-not-work/2404575/9 "2024-11-08T13:33:55Z")

</div>

Closed on November 8, 2024, 1:33pm UTC


