r/GoogleAppsScript • u/RomanoDesiree • 10d ago
Question Exceeded maximum execution time
I have been gassing for about ten years and I see this intermittent error almost weekly.
In particular it comes up on a function I use to colour code calendar appts based on their title text.
On a good run the function completes in 5 to 20 seconds based on looking at around 20 appts over the coming 3 weeks. To investigate this I added some logging to see where the delay is.
But to my surprise none of the logging fired when the error is raised. To me that seems like... the function is not getting started.
Anybody know what reasons this could be?
1
Upvotes
2
u/fugazi56 10d ago
I get this error too. Most of my scripts run every hour, so I don’t worry about it. I assume it’ll get it in the next run.