I do not record information in the google sheets...app Script + inventor 2

Since I changed the App Script editor to the new version, the information hasn't been recorded... before I had the option to publish as a web application and it was recorded without problems, I don't know how it is published now... can someone help me please. .. attached image of blocks, fields of the sheets and script code