# I need help, when calling a variable it returns a null value

**URL:** https://community.thunkable.com/t/i-need-help-when-calling-a-variable-it-returns-a-null-value/3228022
**Category:** Issues / Bugs
**Tags:** firebase, help
**Created:** [September 26, 2024, 1:54am UTC](https://community.thunkable.com/t/i-need-help-when-calling-a-variable-it-returns-a-null-value/3228022 "2024-09-26T01:54:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![fidelx61zp4rvx](https://avatars.discourse-cdn.com/v4/letter/f/d2c977/32.png) [@fidelx61zp4rvx](https://community.thunkable.com/u/fidelx61zp4rvx)
#### Post date: [September 26, 2024, 1:54am UTC](https://community.thunkable.com/t/i-need-help-when-calling-a-variable-it-returns-a-null-value/3228022/1 "2024-09-26T01:54:06Z")

</div>

I am experiencing an issue with handling `null` values in my application. Occasionally, when I try to access a variable or property that should contain a value, I receive a `null` value instead. This causes the application to crash or not function as expected. I need help identifying the cause of the `null` value and how I can fix it to prevent it from affecting the functionality of my application.  
Extra: When I register, the data is shown in the database, but when I call it on the home screen it doesn’t show me anything.  
Register

 ![registro](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/a/8a9c66a031704cf723e09b2548d39fdf176d7c93.png)  
Login  
 ![login](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/5/95439e0198b7155812712ff65f274804044eb748.png)  
Home  
 ![home1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/b/eb4ab4a3d70fa8abd0ddf7816f7501d5943bda96.png)

---

<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: [September 26, 2024, 1:41pm UTC](https://community.thunkable.com/t/i-need-help-when-calling-a-variable-it-returns-a-null-value/3228022/2 "2024-09-26T13:41:52Z")

</div>

If it’s crashing when trying to get a property that doesn’t exist, right-click on the `get property of object` block and then click show advanced block. Set a default value to return when the property is not found.
