Help

Update record - set value for Multiple Select field

Solved
Jump to Solution
1554 4
cancel
Showing results for 
Search instead for 
Did you mean: 
Ujval_Shah
5 - Automation Enthusiast
5 - Automation Enthusiast
CountryTable.updateRecordAsync(recordId, {
    "id": 123,
    "Country (dropdown)": { name: "USA" },
})

This is throwing an error,

Error: Field "xadlxpdzw" cannot accept the provided value.

Country (dropdown) is a Multiple Select Field.

1 Solution

Accepted Solutions
Ujval_Shah
5 - Automation Enthusiast
5 - Automation Enthusiast

Figured out,

CountryTable.updateRecordAsync(recordId, {
    "id": 123,
    "Country (dropdown)": [{ name: "USA" }],
})

See Solution in Thread

4 Replies 4

I don’t know JavaScript, so I don’t know if the formatting of your JavaScript is correct. However, does “USA” already exist in Airtable as one of the options in your multiple select field?

Yes, that value exists in the Airtable as an option

Cool, then your JavaScript syntax is probably incorrect. Others will need to help you from here.

Ujval_Shah
5 - Automation Enthusiast
5 - Automation Enthusiast

Figured out,

CountryTable.updateRecordAsync(recordId, {
    "id": 123,
    "Country (dropdown)": [{ name: "USA" }],
})