Skip to main content

Creating new records by Airtable Scripts

  • February 25, 2021
  • 1 reply
  • 12 views

Forum|alt.badge.img+3

I couldn’t find much documentation for createRecordAsync for Scripts.

I kept getting an error like "Error: Field “College” cannot accept the provided value.

I passed in "College": "University of Washington", for a Linked Record Field and "Undergrad Graduation": "2021", for a Single Select, both caused errors.

What are the correct ways to pass non-text variables to create records?

1 reply

Forum|alt.badge.img+3
  • Participating Frequently
  • February 25, 2021

Hi @Jacob_Young, take a look at this page for documentation about what to pass into the createRecordAsync method.

Cheers :slightly_smiling_face:
-Raminder