Update all values in a column

I have to insert a simply button that update all values with number ‘1’.
Why I have this error trying to execute that API?

Community Page
Last updated: