I have a script to get a list of Named Ranges on a google spreadsheet. I was working fine until yesterday, where the execution is failing with:
We're sorry, a server error occurred. Please wait a bit and try again.
I have waited and tried again, as instructed. As expected, nothing changed.
I simplified my script until nothing left but:
SpreadsheetApp.getActiveSpreadsheet().getNamedRanges();
Interestingly, if I call getNamedRanges()
, the script generates a server error.
Any ideas on the root cause?