# \[Solved\]Can not read & write realtime db Firebase error = "o.default.get(this.settings).database is not a function..."

**URL:** <https://community.thunkable.com/t/solved-can-not-read-write-realtime-db-firebase-error-o-default-get-this-settings-database-is-not-a-function/565146>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, realtimedb\
**Created:** [May 9, 2020, 6:25am UTC](https://community.thunkable.com/t/solved-can-not-read-write-realtime-db-firebase-error-o-default-get-this-settings-database-is-not-a-function/565146 "2020-05-09T06:25:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![teerapat.dj](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/teerapat.dj/32/68720_2.png) [@teerapat.dj](https://community.thunkable.com/u/teerapat.dj)\
**Post date:** [May 9, 2020, 6:25am UTC](https://community.thunkable.com/t/solved-can-not-read-write-realtime-db-firebase-error-o-default-get-this-settings-database-is-not-a-function/565146/1 "2020-05-09T06:25:08Z")

</div>

Hello This is a first time here for me 🙂

Hi, I have a strange problem with my app.  
I have create ease app to connect with firebase and Iot (esp8266) , It 's go well and nice untill last 4 days this app can not connect to firebase anymore , My Iot device still connect to firebase but Thunkable X app can not work both read & write data.I try for many time such as

- increase sign up and sign in (authentification work),

- change rule ,

- create new project in both app and firebase and change API key & URL

but all of this not work , I use Iphone x(10) for live test and try to download real app inside but still failed.I saw error

'o.default.get(this.settings).database is not a function. (In ‘o.default.get.(this.settings).database()’, ‘o.default.get(this.settings).database’ is undefined)

sorry if my english not well.I m from Thailand.Thank you

---

<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 10, 2020, 7:37pm UTC](https://community.thunkable.com/t/solved-can-not-read-write-realtime-db-firebase-error-o-default-get-this-settings-database-is-not-a-function/565146/2 "2020-05-10T19:37:05Z")

</div>

> [@teerapat.dj](#):
>
> - change rule ,
> - create new project in both app and firebase and change API key & URL
> 
> but all of this not work , I use Iphone x(10) for live test and try to download real app inside but still failed.I saw error
> 
> 'o.default.get(this.settings).database is not a function. (In ‘o.default.get.(this.settings).database()’, ‘o.default.get(this.settings).database’ is undefined)
> 
> sorry if my english not well.I m from Thailand.Thank you

hi @teerapat.dj, this is a known issue. is this still a problem or has the issue resolved for you already?

---

<div class="post-metadata">

**Author:** ![teerapat.dj](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/teerapat.dj/32/68720_2.png) [@teerapat.dj](https://community.thunkable.com/u/teerapat.dj)\
**Post date:** [May 11, 2020, 10:56am UTC](https://community.thunkable.com/t/solved-can-not-read-write-realtime-db-firebase-error-o-default-get-this-settings-database-is-not-a-function/565146/3 "2020-05-11T10:56:59Z")

</div>

Solved !  
Thanks Jared , after I post this in 1 hour. Suddenly it work again, I do not know why. I want to say thank you to someone who solved this for me ^\_^.

---

<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:29am UTC](https://community.thunkable.com/t/solved-can-not-read-write-realtime-db-firebase-error-o-default-get-this-settings-database-is-not-a-function/565146/4 "2024-11-08T11:29:16Z")

</div>


