# App crashing when filtering data from Airtable when screen starts (white screen)

**URL:** <https://community.thunkable.com/t/app-crashing-when-filtering-data-from-airtable-when-screen-starts-white-screen/579081>\
**Category:** Questions about Thunkable X\
**Tags:** googlemaps, airtable\
**Created:** [May 20, 2020, 1:02am UTC](https://community.thunkable.com/t/app-crashing-when-filtering-data-from-airtable-when-screen-starts-white-screen/579081 "2020-05-20T01:02:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![a00226311gwq](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@a00226311gwq](https://community.thunkable.com/u/a00226311gwq)\
**Post date:** [May 20, 2020, 1:02am UTC](https://community.thunkable.com/t/app-crashing-when-filtering-data-from-airtable-when-screen-starts-white-screen/579081/1 "2020-05-20T01:02:58Z")

</div>

Hello. I am trying to set up markers on a map based on a small dabatase that I have in Airtable.

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

I filtered, using this function based on [Google Map Markers From Firebase - #10 by jared](http://community.thunkable.com/t/google-map-markers-from-firebase/73100/10) by @jared (I have actually been searching all day long in the forum and youtube for fixes and different codes approaches with no positive results)

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

Now, it doesn’t show an error, but always crashes. However, when I add an **If function** to skip the loop when it finds an _empty value_ it doesn’t crash. Actually I am guessing it doesn’t do anything, just skips everything.  
This tells me that there is some kind of error in the communication between Thunkable X and Airtable because the Table does not contain any null or empty cells.

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

As the crash is happening before I call the function that adds the Map Marks that I want, I don’t believe it is an issue with the map itself. (i don’t have it currently active, the function I mean)

I have tried running the app both on Android and iOS, having the same issue.

Thank you for reading, I will be pending for a response.

---

<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 20, 2020, 1:34am UTC](https://community.thunkable.com/t/app-crashing-when-filtering-data-from-airtable-when-screen-starts-white-screen/579081/2 "2020-05-20T01:34:28Z")

</div>

is property latiitud stored as a string or integer in airtable?

have you tried this?

since you are checking if the text is empty in your logic, you should force the response from airtable to be a string. i looked back at the screenshot above and notice you have latitude stored as an integer.

 ![Screen Shot 2020-05-19 at 9.35.06 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/5/950d39f903d7e83bf47be73ae269c353124e63ce.png)

---

<div class="post-metadata">

**Author:** ![a00226311gwq](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@a00226311gwq](https://community.thunkable.com/u/a00226311gwq)\
**Post date:** [May 20, 2020, 5:46am UTC](https://community.thunkable.com/t/app-crashing-when-filtering-data-from-airtable-when-screen-starts-white-screen/579081/3 "2020-05-20T05:46:21Z")

</div>

Thanks for the reply.

The problem is not in that part of the code but somewhere here.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/e/0e00b050ce525c0dd5cd430b922766451c4be0d4.png)

I really don’t care to check at the end if it’s empty or not, I just did it for troubleshooting purposes.

In Airtable I have “LATITUD” and “LONGITUD” as Numbers

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/0/50626b81dac42c0d4f4493926b9c51f2343b32f5.png)

Columns “NOMBRE” as Single Line Text and Column “OBSDIREC” as Long Text.

Do I have to set all of them as text? Even if the response I need for the variable Latitude and Longitude in the SetMapMarker has to be an integer?

---

<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/app-crashing-when-filtering-data-from-airtable-when-screen-starts-white-screen/579081/4 "2024-11-08T11:29:06Z")

</div>


