Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

Creating a Record by Script that Links to Another Table

Topic Labels: Extensions
414 0
Showing results for 
Search instead for 
Did you mean: 

I wrote a script to create a record, but I’m trying to link it to another record (Customers table) when I create it. I have the Customer Name and ID field value, but AirTable doesn’t seem to like the format I’m using for the ID.

I’m getting the error message, “P: Can’t create records: invalid cell value for field ‘Link To Customers’.
Cell value has invalid format: must be an array.
Linked records field value must be an array of objects with property ‘id’ corresponding to linked record id.”

I’m not sure what format AirTable wants to see for the value of field ‘Link to Customers’. Thanks.

0 Replies 0