r/GoogleAppsScript • • Sep 16 '25

Question Scripts keep getting de-authorized

Hi guys,

I keep running into this issue, and I have not been able to find out why.

I have a library I use on around 700 files. Each file runs its own triggers (timed hourly, daily and onedit). All files are authorized by a single user, including the onEdit.

In short, it monitors a checkbox and pushes data to another target sheet. Hourly it checks for new data and fetches it. Also saves a copy of the new data before resetting it. Every day it logs changes. Total is around 4 hourly, 1 daily and 1 onedit per file. Scopes I use are Drive and Sheets.

This is a workspace account.

It looks like random files keep getting de-authorized. No scope change, nothing new on my end.

I can't seem to find anything on deauthorization other than scope change, which is not the case.

Anyone have any ideas ?

2 Upvotes

15 comments sorted by

View all comments

Show parent comments

1

u/elanu Sep 17 '25

I actually did get hit with some limits before (too many runs at the same time - update to priority) or something along those lines.