Save the date! Join us on October 16 for our Product Ops launch event. Register here.
Jun 16, 2022 11:51 AM
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.
Solved! Go to Solution.
Jun 16, 2022 11:59 AM
Figured out,
CountryTable.updateRecordAsync(recordId, {
"id": 123,
"Country (dropdown)": [{ name: "USA" }],
})
Jun 16, 2022 11:53 AM
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?
Jun 16, 2022 11:54 AM
Yes, that value exists in the Airtable as an option
Jun 16, 2022 11:56 AM
Cool, then your JavaScript syntax is probably incorrect. Others will need to help you from here.
Jun 16, 2022 11:59 AM
Figured out,
CountryTable.updateRecordAsync(recordId, {
"id": 123,
"Country (dropdown)": [{ name: "USA" }],
})