Move "Button on clicked" condition to event 2. Otherwise this event is running on every tick, sending data to the spreadsheet 60 times per second.
.
I don't know why there is an error, try to re-create the script again, following each step from the tutorial closely. It's important to publish the script when you make any changes in it, and select "version=New" every time you do it.