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

Amit Agarwal

Google Developer Expert, Google Cloud Champion

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

0

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

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

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

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

We will never send any spam emails. Promise.