# App Crash When using Airtable Component and no Network is available

**URL:** <https://community.thunkable.com/t/app-crash-when-using-airtable-component-and-no-network-is-available/272012>\
**Category:** Questions about Thunkable X\
**Created:** [October 15, 2019, 2:15am UTC](https://community.thunkable.com/t/app-crash-when-using-airtable-component-and-no-network-is-available/272012 "2019-10-15T02:15:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![edgoscpl](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@edgoscpl](https://community.thunkable.com/u/edgoscpl)\
**Post date:** [October 15, 2019, 2:15am UTC](https://community.thunkable.com/t/app-crash-when-using-airtable-component-and-no-network-is-available/272012/1 "2019-10-15T02:15:00Z")

</div>

During testing, our app randomly crashes. We are using an airtable component to add a row. When I put the phone in Airplane mode, ie not network, and click on the button to create the row, the app crashes. Anyone else see this or even better have a solution?

Thanks

---

<div class="post-metadata">

**Author:** ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)\
**Post date:** [October 15, 2019, 3:41am UTC](https://community.thunkable.com/t/app-crash-when-using-airtable-component-and-no-network-is-available/272012/2 "2019-10-15T03:41:28Z")

</div>

Hi, @edgoscpl ! 👋

* * *

> [@edgoscpl](#):
>
> put the phone in Airplane mode

If no net is there, how will your app connect with an **online** database?

If he same problem appears when you have internet, then read this post -

> [@\[Sovled\] App keeps restarting after submitting to airtable?](http://community.thunkable.com/t/app-keeps-restarting-after-submitting-to-airtable/248017/2):
>
> Hi, @terryneedsleep! wave It happens to me a lot times sweat_smile Anyways, try checking the following - The Airtable column names and your objectNames ( [image] ) are same. Check if any Column is left adding in the object - Like you have a column named phone no. and you have not added it in the object. The API Key, BaseID & TableName are all correct. Note: If you have a column First Name in Airtable, and you have written First name in the object, this could be the main and the onl…

* * *

Thanks! 😊

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [October 15, 2019, 7:53am UTC](https://community.thunkable.com/t/app-crash-when-using-airtable-component-and-no-network-is-available/272012/3 "2019-10-15T07:53:27Z")

</div>

Check your units. App crash when it attempts to perform an operation on a non-existent object. I think that your block is not checking network availability, and you try to create a row without any checks on the correctness of the operation.

---

<div class="post-metadata">

**Author:** ![Hayder](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/hayder/32/153829_2.png) [@Hayder](https://community.thunkable.com/u/Hayder)\
**Post date:** [October 15, 2019, 8:42am UTC](https://community.thunkable.com/t/app-crash-when-using-airtable-component-and-no-network-is-available/272012/4 "2019-10-15T08:42:20Z")

</div>

> [@kartik14](#):
>
> If no net is there, how will your app connect with an **online** database?

But he said that his app will crash instead of empty components.  
I think it is a bug. It happened with me in the last few days the app crashes if the device is not connected to the internet.

---

<div class="post-metadata">

**Author:** ![edgoscpl](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@edgoscpl](https://community.thunkable.com/u/edgoscpl)\
**Post date:** [October 15, 2019, 1:21pm UTC](https://community.thunkable.com/t/app-crash-when-using-airtable-component-and-no-network-is-available/272012/5 "2019-10-15T13:21:25Z")

</div>

Thanks for all the responses.

The airtable object should not crash the app if the network is not available. It should just return an error code, which it never gets too. This happens when the user is in a low service environment, I just used the airplane mode to reproduce it.

I am going to check if online before creating the row, but this behavior should not happen. I hope Thunkable resolves it.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [October 15, 2019, 2:26pm UTC](https://community.thunkable.com/t/app-crash-when-using-airtable-component-and-no-network-is-available/272012/6 "2019-10-15T14:26:00Z")

</div>

You’re right, the system must return an error, but do not crash app. But when working with Thunkable X you need to provide additional protection for themselves. Consider this feature Thinkable X.

---

<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, 12:08pm UTC](https://community.thunkable.com/t/app-crash-when-using-airtable-component-and-no-network-is-available/272012/7 "2024-11-08T12:08:40Z")

</div>


