Hello,
I am trying to write an Airtable automation Script where I am trying to create a new record to an existing table that has 4 fields
- Friendly Name (String)
- Platform Name (String)
- Platform Type (Prefixed Value)
- Data (Self-reference Linked Records field)
When I run this code where I am setting all the values except the "Data" field because I don't want the new record to be linked to any other record
const data = {
"Friendly Name": d,
"Platform Name": d,
"Platform": {name: "Launch"},
}
const record = await table.createRecordAsync(data)
I keep getting the same error
ERROR
Error: Field "fldtUMUOntLLXvVx8" cannot accept the provided value.
at <anonymous> on line 121
at <anonymous> on line 137
at main on line 43
where fldtUMUOntLLXvVx8 is the field ID for the "data" field.
Can someone help me understand what I am doing wrong. I just want to create the new record without any interlinking