Google Sheets Error: "Exception: Service Timed Out: Spreadsheets" or "Service Spreadsheets timed out when accessing document"

Google Sheets Error: "Exception: Service Timed Out: Spreadsheets" or "Service Spreadsheets timed out when accessing document"

When using the Power My Analytics spreadsheets add-on in Google Sheets, you may encounter a timeout error that prevents your reports from refreshing. This guide will help you understand the cause of this error and provide a straightforward solution to get your reports running smoothly again.

Error

"Exception: Service Timed Out: Spreadsheets"



"Exception: Service Spreadsheets timed out when accessing document with id"


Cause

This error may occur when your spreadsheet contains a large number of complex formulas.

  1. PMA must wait for all formulas in a sheet to calculate before executing its queries.
  2. When there are too many time-consuming formulas, it can lead to a timeout error.
  3. This issue originates from Google Sheets limitations, not from the PMA add-on itself.

Solution

First, go to the "PMA Configuration" tab of your spreadsheet and look at the "Error" column.



If there is any error message present:
  1. Try running your report again.
  2. If the error remains, please contact us by submitting a support ticket.
If no error messages are present, the timeout error may be caused by a spreadsheet using a large number of complex formulas. If you're using many formulas in your spreadsheet, we recommend implementing a two-sheet strategy: Load your report data into a raw data sheet that doesn't use any formulas, then create a second sheet with your formulas, making sure that the formulas reference the data from the first sheet. 
  1. Create a new sheet in your spreadsheet for raw PMA data.
  2. Set up your report to load data into this new sheet.
  3. Create another sheet for your formulas.
  4. In the formula sheet, write your formulas referencing the raw data sheet.
  5. Refresh your PMA data in the raw data sheet when needed.

By adopting this two-sheet approach, you can effectively bypass the timeout error.



    Still having issues?
    Send us a ticket and we will get back to you.
      • Related Articles

      • Google Sheets Error: "Exception: You do not have permission to access the requested document."

        This article will assist you with the following error: "Exception: You do not have permission to access the requested document." Cause This error can occur when you are logged into two or more Google accounts while using the spreadsheets add-on. ...
      • Report a Different Time Zone in Spreadsheets

        When reporting your data with our spreadsheets addon, you may want to adjust the date and time reported to account for a timezone offset. This article will show you how to use a formula to adjust the reported date and time in Sheets. Some connectors ...
      • Google Sheets Error: Query Inactivity Error

        If you are receiving a Query Inactivity Error when using our Sheets add-on, the following steps may help to resolve the issue. This page will assist you with the following error in Google Sheets: Query Inactivity Error Solution First, duplicate the ...
      • Unable to Schedule Refresh in Google Sheets

        This article will address the following error: Unable to schedule refresh in Google Sheets. Error shown is "Exception: Bad Value." Cause Google Sheets requires you to set a Time Zone. Additionally, you must be a member of the report's hub in order to ...
      • Installing the Power My Analytics Add-on for Google Sheets

        If you'd like to merge and manipulate data from popular sales and advertising platforms with Google Sheets to create insightful and automated reporting, follow the instructions below to install and launch the Power My Analytics Sheets Data Connector. ...