You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a trigger, the onOpen function runs the createMenu function which throws the error in the issue title, and the scheduled trigger fails. I worked around that by creating an onTrigger function:
function onTrigger() {
getData();
getGlobal();
}
and executing that instead of onOpen strictly within the trigger. Everything else worked well, much better than the scraping that I had in place prior to finding this!
The text was updated successfully, but these errors were encountered:
When creating a trigger, the
onOpen
function runs thecreateMenu
function which throws the error in the issue title, and the scheduled trigger fails. I worked around that by creating anonTrigger
function:and executing that instead of
onOpen
strictly within the trigger. Everything else worked well, much better than the scraping that I had in place prior to finding this!The text was updated successfully, but these errors were encountered: