Google Apps Script Instability – “Exception: Service error: Drive”

54 views
Skip to first unread message

dung nguyen

unread,
Apr 28, 2026, 4:50:52 AM (21 hours ago) Apr 28
to Google Apps Script Community
I’ve been running a Google Apps Script for a long time without issues, and there haven’t been any recent changes to the code. However, lately I’ve been frequently encountering this error:
Exception: Service error: Drive at ******(****:14:25) at ******(******:99:9) at *****(*****:17:9)   

The script structure is still solid, and it usually works again if I rerun it, but the error keeps appearing intermittently.

Has anyone experienced this issue before? What could be the root cause, and is there a way to resolve it permanently instead of relying on reruns?

Ashley Beck

unread,
Apr 28, 2026, 3:23:29 PM (10 hours ago) Apr 28
to Google Apps Script Community
My company has also been having this issue with all of our Apps Script submissions since yesterday morning (27 Apr 2026, approx 8am PST).  

We have multiple Apps Scripts that run from inputs given in a spreadsheet, then make copies of files based on the entries.  This is not working for us now.  Smaller input files worked yesterday, but today not even that is working.  Every execution fails, throwing a 403 error with "Exception: Service error: Drive", when before our scripts were executing without issue.

Does this possibly connect to the current AppSheets outage?

Bennett, Scott

unread,
Apr 28, 2026, 4:49:24 PM (9 hours ago) Apr 28
to google-apps-sc...@googlegroups.com
I had a similar issue when our tech department changed the settings in the Google Workspace Admin Console.  It was location filtering apps script and that was causing it.  Not sure if that is what is going on here.

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/f99e68cd-9580-4563-9d4d-2d0292fdf023n%40googlegroups.com.


--
Scott Bennett


Michael O'Shaughnessy

unread,
Apr 28, 2026, 6:50:29 PM (7 hours ago) Apr 28
to google-apps-sc...@googlegroups.com
Ah yes!  It is good to know I am not alone!!  I took the opportunity to finally learn about "exponential backoff".  With the help of Gemini I created this document:

I have folders containing over 100 Google Docs that need to be saved as PDFs in another folder before being sent to parents.  I kept hitting the service error.  So, I worked out the "expoential backoff" and it was great to watch the logs when it hit the drive error and then reported "successful on 2nd attempt"!!!  I was able to finish my task with out pulling my hair out!!

The key step is in the "while loop".  If you have coded at all you will understand what it is doing.  

If you want to dig into this more check out Bruce McPherson's page at: 

I hope this helps!

Thanks,
Michael

Gaurav

unread,
Apr 28, 2026, 10:34:56 PM (3 hours ago) Apr 28
to google-apps-sc...@googlegroups.com
Share your file. I can help you.

Regards
Gaurav Arora
7228022709
 

--
Reply all
Reply to author
Forward
0 new messages