Trying to fetch user data from firebase realtime database but giving null value

Hi, I am trying to fetch user data for user profile from firebase realtime database. But I am unable to navigate to the exact data properly, which results in giving null value.
Please help me out.


This is how the database in firebase looks like, and I want to fetch Firstname, also email address will be unique for each user.


This is how my block looks like.

Please help me out with this.

You need to use cloud variables to access Firebase data. The name of the cloud variable should be the path to the value you want to retrieve. That can look something like this:

Or you can do this with get property of object blocks. Follow the tutorial here: Connect a Firebase Realtime Database | Thunkable Docs

1 Like

It was really helpful. Thanks :grinning:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.