# Airtable setCell "randomly" fails

**URL:** <https://community.thunkable.com/t/airtable-setcell-randomly-fails/2477181>\
**Category:** Questions about Thunkable X\
**Tags:** airtable\
**Created:** [June 21, 2023, 8:53pm UTC](https://community.thunkable.com/t/airtable-setcell-randomly-fails/2477181 "2023-06-21T20:53:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedegarcia30hzc97a](https://avatars.discourse-cdn.com/v4/letter/f/b38774/32.png) [@fedegarcia30hzc97a](https://community.thunkable.com/u/fedegarcia30hzc97a)\
**Post date:** [June 21, 2023, 8:53pm UTC](https://community.thunkable.com/t/airtable-setcell-randomly-fails/2477181/1 "2023-06-21T20:53:07Z")

</div>

Hi

I have a quite complex app with several screens , functions, API integrations and a Airtable database with multiple sheets that ive been building during my free time…this means i know its not perfectly optimized when it comes to read/writte into Airtable.

Application was running perfectly well but ive started to see some extrange behaviour when writting some cells.

During the process i have multiple functions being called from other functions based on conditions each one of them updating certain values in Airtable, the issue im finding is sometimes one of those functions is not writting the corresponding value into the cell but the rest are.

All my functions with a setCell block have a flag that will maintain the thread in the function untill the setCell completes to keep the process sinchronous.  
Attached a screenshot of some of my functions.

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

Have you experienced something similar? Any ideas?

---

<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:** [June 22, 2023, 5:44am UTC](https://community.thunkable.com/t/airtable-setcell-randomly-fails/2477181/2 "2023-06-22T05:44:30Z")

</div>

It’s confusing when you create a second topic for the same issue. Please add any relevant details to your original topic instead: [Value of variable app in functions (purple blocks) - #4 by fedegarcia30hzc97a](https://community.thunkable.com/t/value-of-variable-app-in-functions-purple-blocks/2400194/4)

---

<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:** [June 22, 2023, 5:44am UTC](https://community.thunkable.com/t/airtable-setcell-randomly-fails/2477181/3 "2023-06-22T05:44:33Z")

</div>


