Intermittent 'JavaScript runtime exited unexpectedly' failures on time-driven triggers

Hi,

I have 4 Google Apps Script projects, each with 2 time-driven triggers, that send emails via MailApp based on data from Google Sheets. The scripts have been running reliably for a long time but over the past few months have started failing intermittently with the error ‘The JavaScript runtime exited unexpectedly.’

Key observations:

  • Failures are intermittent — the same scripts complete successfully most of the time
  • When they fail, the duration is typically 2-7 seconds, suggesting the runtime is being killed very early
  • Failures occur across all 4 scripts on the same day, at different times
  • There are no code changes on my end — the scripts themselves are unchanged
  • The frequency of failures has been increasing over time, with up to 11 failures in a single day across all scripts
  • Google’s status dashboard shows no current incidents for Apps Script
  • Storage usage is minimal (20GB of 2TB)
  • All projects are set to Europe/London timezone and have the V8 runtime enabled

I have implemented retry logic, duplicate prevention using PropertiesService, and backup triggers to mitigate the impact, and emails are still going out successfully most of the time. However the underlying cause of the runtime crashes remains unclear.

Has anyone else experienced a similar increase in intermittent runtime failures recently? Is there a known infrastructure issue with Apps Script time-driven triggers? Any guidance would be appreciated.

Thank you

2 Likes