Web Applications Asked by Kartal Tabak on November 3, 2021
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?
There is a #REF
in one of the named ranges. Apparently, the linked range is deleted, but the named range is still there.
Unfortunately, Google Apps Script is throwing a server error in that case, instead of a meaningful exception/message.
Answered by Kartal Tabak on November 3, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP