Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Issue linking record with script

Topic Labels: Scripting extentions
326 1
Showing results for 
Search instead for 
Did you mean: 

Hi! We are trying to link to records on insertion with an automation and script

We created the variable RecordID which has the AirTable Record ID from parent.

This is the script in the child:

await tblOportundiades.createRecordAsync({
“Imported”:[{id: inputConfig.recordID}],

we get an error:
Error: Field “fldlpc151KwO4hjfd” cannot accept the provided value.
at main on line 36

We have done in other record and works fine, not sure what this error means. Anybody have an idea?

1 Reply 1

add console.log(inputConfig.recordID) to see what the script is actually computing. Is it a proper record ID?