Skip to main content

Issue linking record with script

  • June 25, 2021
  • 1 reply
  • 11 views

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

Kamille_Parks11
Forum|alt.badge.img+27

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