function doGet(e) { var sheet = SpreadsheetApp.openById("1c9JP0KSgOqIcewJHLYoo796WdvkOIfjDBBORnlFR3Os"); var n = sheet.getRange("U1").getValue()+1; var time = sheet.getRange("C"+n).getValue(); var phone = sheet.getRange("E"+n).getValue(); sheet.getRange("U1").setValue(n); return 1; } Writes that the script was executed, but the return value does not belong to the supported type.
http://joxi.ru/D2PegJRuvY1xA3 - this is the screen.