I have a google script running that takes data from about 5 different spreadsheets and adds them to one centralized spreadsheet. The script gives a timeout error for accessing the centralized sheet after the approximate 5-6 minutes it takes for GAS to time itself out. The weird thing is; although it gives a timeout error when adding certain values to certain tabs, it still completes the task consistently. This is the error message:
Exception: Service Spreadsheets timed out while accessing document with id ##########.
with # signifying the ID of the centralized spreadsheet.