Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

What's causing this error when running Google sheets script?

$
0
0

Exception: The parameters (String,String,String,(class)) don't match the method signature for CalendarApp.Calendar.createEvent. (line 31, file "Copy of Code")

 29   if (eventID != complete){ 30     var currentCell = sheet.getRange (startRow + i, numColumns); 31     calendar.createEvent(primary,start,end,{ 32      description: phone, email, adults, kids, notes 33   });

Google form updates Google sheet which updates Google Calendar when script is run. It worked correctly until I added a form trigger (which I since deleted). Can't get it to work now


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>