# Creating a new record in airtable produces an error from a weweb form

**URL:** <https://community.weweb.io/t/creating-a-new-record-in-airtable-produces-an-error-from-a-weweb-form/14567>\
**Category:** Ask us anything\
**Created:** [November 17, 2024, 8:32pm UTC](https://community.weweb.io/t/creating-a-new-record-in-airtable-produces-an-error-from-a-weweb-form/14567 "2024-11-17T20:32:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![twilight](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@twilight](https://community.weweb.io/u/twilight)\
**Post date:** [November 17, 2024, 8:32pm UTC](https://community.weweb.io/t/creating-a-new-record-in-airtable-produces-an-error-from-a-weweb-form/14567/1 "2024-11-17T20:32:14Z")

</div>

Hi,  
Having a frustrating error and hoping for some insight on it.

I have successfully connected airtable as my data source to my weweb project. I have created a form in weweb that onSubmit creates a new record in airtable. When I run it through the test with the connected fields it works perfect. If i try to run it a second time it gives me an error. If i publish my form and run it on another device i get an error.

The error I get is “Axios error bad request 422”. What makes this so confounding is that it works fine when I create. anew form it just wont work on subsequent tries. Specifically when I dig into the logs the specific error that seems to be tripping me up is  
response: “{“error”:“INVALID\_RECORD\_ID”,“message”:“Value "" is not a valid recordID.”,“statusCode”:422}”

Which if I am reading this right is crazy because its supposed to be writing to a new record not referencing an existing one right? Has anyone had this issue before? I am including a screenshot in hopes that it will help. Thank you.

 ![Screenshot 2024-11-17 at 12.31.26 PM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/d/d5c4da50b9c6bea63563b074a67c6f055518cf7e.png)

---

<div class="post-metadata">

**Author:** ![august](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/august/32/10004_2.png) [@august](https://community.weweb.io/u/august)\
**Post date:** [November 18, 2024, 8:04am UTC](https://community.weweb.io/t/creating-a-new-record-in-airtable-produces-an-error-from-a-weweb-form/14567/2 "2024-11-18T08:04:24Z")

</div>

In your fields, do you have any values linking to another Airtable table, like the “Referral Host”? The “record\_id” error might be related to that field. It would also be helpful if you could post a screenshot of the “Referral Host” value.
