Skip to main content

Script - Covert string to number/integer

  • May 22, 2022
  • 1 reply
  • 24 views

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.

1 reply

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • May 22, 2022

Welcome to the Airtable community!

const myNumber = Number("123")