first time asking a question here.
I\'ve built a Google App Script that takes event info from Google Sheets and creates events on Google Calendar, based on @Mogsdad
Had a similar problem with a script that creates calendar event blocks on week-days, only using nested while-loops. I inserted Utilities.sleep(3000) so that the script would pause after every 10 iterations. I tested it for a 20 week period creating 20 events per week (400 events) and no error message. I'm going to play around with the timing of this to see whether I can reduce the sleep time. Here's the the Google Developer reference info:
https://developers.google.com/apps-script/reference/utilities/utilities#sleep(Integer)