# Problem with Airtable API

**URL:** <https://community.thunkable.com/t/problem-with-airtable-api/1137234>\
**Category:** Questions about Thunkable X\
**Created:** [March 2, 2021, 2:51pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234 "2021-03-02T14:51:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 2, 2021, 2:51pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/1 "2021-03-02T14:51:44Z")

</div>

Hi,

Kindly refer the screenshot. I am simply trying to read data from Airtable using API and not sure where am going error. Am getting an error message “Not Found”. Can anyone help plz.

Thanks in advance.

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

---

<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:** [March 2, 2021, 3:00pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/2 "2021-03-02T15:00:33Z")

</div>

In Airtable, the API URL need to be appended with the table name you are trying to access.

Due to the fact your blocks does not show the full URL it is difficult to say if this is your mistake or I have to look for something else.

---

<div class="post-metadata">

**Author:** ![darren](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/darren/32/69854_2.png) [@darren](https://community.thunkable.com/u/darren)\
**Post date:** [March 2, 2021, 6:21pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/3 "2021-03-02T18:21:45Z")

</div>

Be sure to review my tutorial here:

> [@The AirTable API (a more efficient way to integrate AirTable with Thunkable)](https://community.thunkable.com/t/the-airtable-api-a-more-efficient-way-to-integrate-airtable-with-thunkable/1021167):
>
> I’ve had the pleasure of working on a few AirTable projects recently. One thing I’ve learned is doing stuff like this is inefficient once you start to get a lot of data. [image] You should try to limit how much data you call and the number of API calls. To update a record, you shouldn’t get all rows, loop through all rows until you find the row you need to update, then update that row. With the AirTable API you can use things like filterByFormula to query the data in one call to reduce the d…

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 5, 2021, 1:43pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/4 "2021-03-05T13:43:50Z")

</div>

Hi,

Thank You for your reply. I have added th table name.Kindly refer the URL below.

[https://api.airtable.com/v0/appCS4QyKe1hsWQrJ/Milestones](https://api.airtable.com/v0/appCS4QyKe1hsWQrJ/Milestones)

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 5, 2021, 1:44pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/5 "2021-03-05T13:44:47Z")

</div>

Hi Darren,

I had followed your tutorial only and did exactly the same however still, not sure why nothing happens.

---

<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:** [March 7, 2021, 9:15pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/6 "2021-03-07T21:15:12Z")

</div>

Yes, this step is correct. You also need to add the API key in the authentication property of your API component. When you do this you will be able to access your table.

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 9, 2021, 10:56am UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/7 "2021-03-09T10:56:25Z")

</div>

Hi,

Kindly see the screenshot below. I have added the authentication also in the API component still its not working for me.

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

---

<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:** [March 9, 2021, 11:58am UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/8 "2021-03-09T11:58:00Z")

</div>

Please remove the extra “:” after both Authorization and Content-Type. The are two colons where should only be one.

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 17, 2021, 2:49pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/9 "2021-03-17T14:49:53Z")

</div>

Hi,

I removed the extra colon. Still, no luck. I am getting a blank screen. Also, while trying to Post data using the API, am getting error as Invalid\_Request. I have attached the Post block also for reference. Really dont know where am going wrong.

 ![Untitled](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/0/9065803720b6c79db9246779279627e30fa6f5e0.png)

---

<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:** [March 17, 2021, 5:38pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/10 "2021-03-17T17:38:05Z")

</div>

To avoid coming and going with suggestions, can you share your base with me so I can test it directly with my code.

Please note, when you share the Airtable base, you do not need to give the API keys so it remains secure and you can remove the sharing after the issue is resolved.

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 22, 2021, 9:26am UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/11 "2021-03-22T09:26:25Z")

</div>

Hi,

Kindly find below the ID. Hope this helps.

> **[Grid view - Airtable](https://airtable.com/shrD9py8ROPDr2w5N)**
>
> Explore the "Grid" view on Airtable.

---

<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:** [March 24, 2021, 7:20am UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/12 "2021-03-24T07:20:51Z")

</div>

It seems you have shared a totally different table. I see 2 columns in the table you shared (name, image)  
Do you want me to create a list out of the content of this table using Airtable API?

---

<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:** [March 24, 2021, 7:35am UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/13 "2021-03-24T07:35:48Z")

</div>

I did a simple GET with the API and this is the result  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/f/affe97cff82103fecfc85e31fe3ff4a1e65e5789.png)

This is the code I used  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/a/aac320ef6a89466166aa9f447b5f12a6d4a09d91.png)

Of course I entered the API URL and the API Key is the component itself.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/d/ed74d6f9906604c6661e793b7b58baa4c09e73ce.png)

All seems to work good.

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 24, 2021, 2:51pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/14 "2021-03-24T14:51:09Z")

</div>

Ohh, sorry, not sure how it happened.

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 24, 2021, 2:51pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/15 "2021-03-24T14:51:45Z")

</div>

Then it should work for me also. I will try and revert soon. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 25, 2021, 10:20am UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/16 "2021-03-25T10:20:52Z")

</div>

Hi,

I believe there is some problem with the key details. As per the screenshot shared by you above, the key starts with"key5OdcD9…". For me, the key is showing as “keygUegK9bai…”. Could this be a problem for me?

---

<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:** [March 25, 2021, 10:34am UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/17 "2021-03-25T10:34:09Z")

</div>

When you share the table with me you do not give away your key but using this way, I can use my key to test the shared table.

You need to update it with your own key and update the API URL with your own Base ID and then it will work.

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 25, 2021, 10:52am UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/18 "2021-03-25T10:52:33Z")

</div>

Noted. Sorry to bother you again but am really going nuts with this. Kindly see the attached blocks. Everything seems correct still am not able to write data in Airtable. ![API Settings](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/a/6a39374823c6f91eeefec4b44c865c747f015f8c.png)

 ![Block](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/c/4c2c27a5e6bb17b959cfa5f8efdcfba512fac061.png)

---

<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:** [March 25, 2021, 11:51am UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/19 "2021-03-25T11:51:57Z")

</div>

I cannot be certain if this is correct or not. To update a record using the API, you need to add the row ID to the URL of the API.

The screen you provided does not show the full URL and could not tell if you have done so.

Can you confirm this?

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [March 25, 2021, 12:44pm UTC](https://community.thunkable.com/t/problem-with-airtable-api/1137234/20 "2021-03-25T12:44:02Z")

</div>

I tried using both the below URLs but none is working :(.

[https://api.airtable.com/v0/appilh8a8Na90EvsK/Act\_New/reccZlzKBeUpeQuIt](https://api.airtable.com/v0/appilh8a8Na90EvsK/Act_New/reccZlzKBeUpeQuIt)

[https://api.airtable.com/v0/appilh8a8Na90EvsK/Act\_New](https://api.airtable.com/v0/appilh8a8Na90EvsK/Act_New)

Act\_New is table name.

[Next page](https://community.thunkable.com/t/problem-with-airtable-api/1137234.md?page=2)
