Script - Covert string to number/integer

I am using a script feature to add data in the table. One of my field type is “Number”. Data coming from the API is in string.

Hence, its not allowing me to add the data in AT, showing error - Error: Field “fldqIRRqhaalc20cqo3” cannot accept the provided value.

Welcome to the Airtable community!

const myNumber = Number("123")
2 Likes

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.