Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

I'm getting server errors while using Apps Script Admin SDK and can't find the free Support for it.

I'm sorry if this is the wrong forum, but I could not find any about Apps Script, much less its support.

I have a script that runs every day between 1-2 AM. It runs ok almost all the time, but, kind of weekly, I'm geting some random error. The data is basically the same - it dumps our Google Directory users data to a spreadsheet for statistical and preservation purposes - even the ammount of processing load is the same because the number of users growth is slow and sometimes the ammount of users decrease.

The error messages are always server-related ones:
2024-11-30 -" GoogleJsonResponseException: API call to directory.users.get failed with error: The service is currently unavailable".
2024-12-05 - "Exception: API call to directory.users.get failed with error: Empty response".
2024-12-09 - "We're sorry, a server error occurred. Please wait a bit and try again".

I use the Admin API SDK and the first two errors happened during an API call (

let user = AdminDirectory.Users.get(email,{  projection: 'full' }); ) and the third one simply made the script to abend, so there is no try/catch information - it just stopped.

The script runs under a login with administrative capabilities and a Google Workspace Enterprise License.

I guess that's it. If anyone can point me to the free Google Support for Apps Script, or help me with this issue, I'd appreciate it.



0 0 147
0 REPLIES 0
Top Labels in this Space