Mar 12, 2019 04:04 PM
This behavior started a couple weeks ago. Using Airtable’s airtable JS API v0.5.8, I used to be able to call update() successfully on table where the value for column to be updated was a javascript number.
Now it returns the error INVALID_VALUE_FOR_COLUMN. When I convert the number to a string before passing it into the update() call, it works.
Just a workaround FYI for others. It seems like is some stronger API checking going on on the Airtable server API side.
Jan 24, 2020 03:11 PM
It works when you use the {typecast: true} parameter
example:
base(‘Deal’).create({
“Quantity”: 720,
“PaymentMethod”: “Cash”,
}, {typecast: true}, function(err, record) {
if (err) {
console.error(err);
return;
}
console.log(record.getId());
});
Apr 23, 2020 05:11 PM
Same error here.
Solved by adding "typecast": true
and changing SingleLineText type to LongText
May 16, 2021 11:20 AM
I wish this said: Field SingleLineText cannot accept the provide value… because e.g. its type ‘Object’ is incompatible with the ‘String’ type of the field. (or something like that).