# Unable to get the data from airtable on my thunkable (It shows undefined)

**URL:** https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653
**Category:** Questions about Thunkable X
**Created:** [September 19, 2021, 7:42pm UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653 "2021-09-19T19:42:29Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![19manharan1fbs7](https://avatars.discourse-cdn.com/v4/letter/1/ecc23a/32.png) [@19manharan1fbs7](https://community.thunkable.com/u/19manharan1fbs7)
#### Post date: [September 19, 2021, 7:42pm UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/1 "2021-09-19T19:42:29Z")

</div>

I am trying to make a quiz by linking airtable with it which was working fine the previous week. However not working now. It shows undefined for all the columns I linked.  
The following is the code.

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

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

Please help me out.

---

<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 19, 2021, 7:59pm UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/2 "2021-09-19T19:59:31Z")

</div>

In this block…

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

…what happens if you replace `app variable questionnumber` with the number 1 (blue math block) and display both the `error` and the `value` blocks in labels? What are the two values you then see?

---

<div class="post-metadata">

### Author: ![19manharan1fbs7](https://avatars.discourse-cdn.com/v4/letter/1/ecc23a/32.png) [@19manharan1fbs7](https://community.thunkable.com/u/19manharan1fbs7)
#### Post date: [September 23, 2021, 5:48pm UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/3 "2021-09-23T17:48:40Z")

</div>

I tried and still got the same (Screenshot attached)

 ![WhatsApp Image 2021-09-23 at 11.17.27 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/2/82cc9d9a6f0643c89c4258dbaa0fc59181a1df09.jpeg)

---

<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 23, 2021, 6:27pm UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/4 "2021-09-23T18:27:50Z")

</div>

Is the value of the green `error` block “undefined” or something else?

---

<div class="post-metadata">

### Author: ![19manharan1fbs7](https://avatars.discourse-cdn.com/v4/letter/1/ecc23a/32.png) [@19manharan1fbs7](https://community.thunkable.com/u/19manharan1fbs7)
#### Post date: [September 23, 2021, 6:30pm UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/5 "2021-09-23T18:30:04Z")

</div>

undefined

---

<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 23, 2021, 6:42pm UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/6 "2021-09-23T18:42:07Z")

</div>

I would double-check your **APIKey** and **BaseID**. I just tested the GetCell block with my Airtable database and it worked fine.

---

<div class="post-metadata">

### Author: ![19manharan1fbs7](https://avatars.discourse-cdn.com/v4/letter/1/ecc23a/32.png) [@19manharan1fbs7](https://community.thunkable.com/u/19manharan1fbs7)
#### Post date: [September 23, 2021, 6:46pm UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/7 "2021-09-23T18:46:26Z")

</div>

I checked thrice and it still shows the same error. It was working fine the day I created but started showing this message after a week.

---

<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 24, 2021, 12:27am UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/8 "2021-09-24T00:27:40Z")

</div>

If you want to send me the API key and Base ID in a private message, I can test this further. But I can understand if you don’t want to share those.

You could also ask Thunkable staff for support with this.

---

<div class="post-metadata">

### Author: ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)
#### Post date: [September 24, 2021, 5:57am UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/9 "2021-09-24T05:57:27Z")

</div>

Usually, when using cloud data, that depends on external factors as internet connection, i use variable to validate success of operation to prevent this kind of errors. Maybe is not the case here, but you can try too.  
Example:  
 ![screen](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/8/a87ec7fc9847cfd1dc6f776b80cc3a90f26ea64b.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 24, 2021, 6:06am UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/10 "2021-09-24T06:06:07Z")

</div>

That looks good but you also need some way to know when the variable has changed value. Something like a `set label's text to` block right after the `repeat while` block.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [September 24, 2021, 9:28am UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/11 "2021-09-24T09:28:43Z")

</div>

I think, by looking at the blocks, they are OK.  
He is setting the `wait variable` to `True` (Please wait) just prior to calling the `Data GET block` and after the block he is waiting as long as `wait variable` is still `True` which means (Please wait). Once the `Data GET block` is done it will change the `wait variable` to `False` which means (No need to wait)

This is how I read it. I could be wrong.

---

<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, 1:15pm UTC](https://community.thunkable.com/t/unable-to-get-the-data-from-airtable-on-my-thunkable-it-shows-undefined/1514653/12 "2024-11-08T13:15:13Z")

</div>


