Airtable Scripting App crashes when trying to link my record

Topic Labels: Scripting
623 1
Showing results for 
Search instead for 
Did you mean: 
7 - App Architect
7 - App Architect


The following code crashes and I don't know why:


let table = base.getTable("Touchpoints");
let cTable = base.getTable("Contact");

let record = await input.recordAsync('Select a record to use', table);

let callBack = await input.textAsync('What is the callback date? (YYYY-MM-DD)');

let notes = await input.textAsync('Include any callback notes');

let callDate = new Date(callBack);
let recordID = record.getCellValueAsString("Contact RecordID");

console.log("Record of the Contact ID full record is: ");

//console.log("The record id is: " + 'recBsDnoriZEaRY4i');

//let recordInsert = [{'id' : recordID}];


await table.createRecordAsync({
        'Start Date/Time': callDate,
        'Notes': notes,
        'Contact':  [{ id : recordID }]

// recpBkpe7kCZSICoS


 Video for context:

1 Reply 1
6 - Interface Innovator
6 - Interface Innovator

@Kosta_Kondraten Did you manage to mitigate this crash issue? I think I encounter the same issue with inserting a link record ID to another record in another table, and I'm hoping you found a solution in the meantime. 🙂 Thanks in advance!