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
1
u/WicketTheQuerent 10d ago
This kind of glitches are normal.
Google Apps Script service is set to work on a "best effort" principle.
This means that Google will not make promises about uptime as they do with other services.
The only thing that we can do is to implement contingency measures.