Summary of failures for Google Apps Script - Troubleshoot

You may sometimes receive a “Summary of failures for Google Apps Script” email notification from Google (apps-scripts-notifications@google.com). The error messages may say:

  • Exceeded maximum execution time
  • Service using too much computer time for one day
  • Authorization is required to perform that action
  • Service using too much computer time for one day

Google Scripts run on Google cloud servers and Google allows fixed CPU quota (time) to a script per user. These time quotas are different for Gmail (90 minutes / day) and Google Apps (3 hours / day) and the daily quotas are refreshed at the end of a 24-hour window.

If you get any of these service errors from Google, it indicates that the script exceeded the total allowable execution time for one day. The script execution is temporarily stopped and the execution is resumed as soon as Google resets your daily quota.

How to Stop Failure Emails from Google Script

The service warning emails are harmless and can be ignored but you can also complete stop Google from sending these email notifications. Here’s how.

Step 1: Open the email from apps-scripts-notifications@google.com and click the link that says “Click here” as shown below.

summary-failures-google-script.png

Step 2: On the triggers page, click the notifications link.

google-apps-script-notifications.png

Step 3: On the Execution failure notification screen, click the little x button and press OK. Click Save to triggers page to apply your settings.

execution-failure-notifications.png

How to Delete Inactive Triggers in Google Scripts (403)

“Summary of failures” email messages like these are the result of scripts or webapps you have used in the past that created automatic triggers. These reports are sent out when those triggers fail.

If you receive a 403 forbidden error when opening the scripts page, you need to delete the corresponding trigger.

In most cases, you can stop the messages by deleting the corresponding trigger. You can see what triggers you have by going to https://script.google.com. Then select “Resources > All your triggers”. You will be asked to save the current project; do so. The Trigger listing dialog that appears should list all the active triggers associated with your account. You’ll need to find the trigger that is failing, click the X icon next to it, and then Save.

You can then close the editor and delete the script file you created via Drive.

Amit Agarwal is a web geek, solo entrepreneur and loves making things on the Internet. Google recently awarded him the Google Developer Expert and Google Cloud Champion title for his work on Google Workspace and Google Apps Script.

Awards & Recognition

Google Developer Expert

Google Developer Expert

Google awarded us the Developer Expert title recogizing our work in Workspace

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional title for 5 years in a row

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator award for technical expertise

Want to stay up to date?
Sign up for our email newsletter.

We will never send any spam emails. Promise 🫶🏻