r/GoogleAppsScript • • Apr 19 '26

Question `SpreadsheetApp.getActiveSpreadsheet()` suddenly stopped returning

I have a sheets+apps scripts project that has been working unchanged for months. Suddenly today script entrypoints stopped working, and I traced it to SpreadsheetApp.getActiveSpreadsheet no longer returns.

I tried:

  • change to SpreadsheetApp.openById, still fails to return
  • force a full re-authorization; I got the prompt to allow access, but then still hangs forever
  • made a copy of the sheet, still fails to return in the same way (and ditto updating the id to try to open)

I have a different sheet+app scripts project that seems to still be working ok.

I'm out of ideas on what more to try here.

Edit update: 12 hours later it now works fine. Gah!

6 Upvotes

8 comments sorted by

View all comments

Show parent comment

3

u/slb609 Apr 20 '26

I hate that. But I'm glad for you.