Issue linking record with script

Topic Labels: Scripting extentions
699 1
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer

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?