I have a google spreadsheet with a script to calculate tallies, weights, etc., and the spreadsheet calls the script's functions many times in it's cells. A few days ago, it started giving me "Script invoked too many times per second for this Google user account" when I would change the data, how can I fix this? I would add a sleep or wait function into the functions, but that would only make them execute slower, correct? It shouldn't effect how fast the spreadsheet invokes them?
Google Spreadsheet Script invoked too many times per second for this Google user account
1.9k Views Asked by user2679878 At
2
There are 2 best solutions below
Related Questions in GOOGLE-APPS-SCRIPT
- How to display a Google Document inline image on HTML page?
- How to add Named Ranges to sub-paragraph elements in Google apps-script
- Output API data to a csv file
- automated email sending - variable in Htmlbody
- union data in multiple tabs
- How to real-time monitor the emails?
- How to pass function arguments to another function?
- Google sheers: On edit event trigger
- TypeError: Cannot read property "length" from undefined
- How to upload any file to FTP Server using Google Apps Script
- Authentication Error while using google SpreadSheet API
- Javascript on Google Sheets - Get Column Number from Prompt Input
- Apps Script, Count BG Color function on conditionally formatted cells
- Edit a google spreadsheet using javascript/client side code
- Import google spreadsheet data to google doc app script
Related Questions in GOOGLE-SHEETS
- Ignore #VALUE! error in SORT function
- Count Unique Values Repeated Dates
- Skyscanner Flights API and Google script
- Not able to access spreadsheet using google spreadsheet API
- SPLIT using " " delimiter in Google Sheets won't always preserve period following number
- union data in multiple tabs
- Google sheers: On edit event trigger
- Conditionally formatting multiple rows with the same conditions
- Authentication Error while using google SpreadSheet API
- Javascript on Google Sheets - Get Column Number from Prompt Input
- Apps Script, Count BG Color function on conditionally formatted cells
- Unable to authenticate with Google through the Java SDK for reading spreadsheet data
- Edit a google spreadsheet using javascript/client side code
- Google Spreadsheets, match/lookup in ALL rows, except the current one
- Google apps script for Spreadsheet - russian symbol substitute as a question mark
Related Questions in GOOGLE-SHEETS-CUSTOM-FUNCTION
- Custom Functions with add-ons?
- Google Scripts Error: "You do not have permission to call sort"
- Stop a custom function from recalculating every time the spreadsheet is open?
- New Google Sheets custom functions sometimes display "Loading..." indefinitely
- Combining Data From Many Cells into One
- Is there some way to populate all the cells from 1 function call instead of 1 call for each cell?
- Google Spreadsheet Script invoked too many times per second for this Google user account
- Can I pass an array into a Google App Script method from a Google Spreadsheet?
- Conditional formatting in Google Sheets: Can I use custom function in the 'custom formula is:' field?
- Parallelizing requests with fetchAll in a custom function causes it to crash
- Google Spreadsheet Custom Functions when evaluated/executed?
- -Custom function return does not update
- Calculating with time
- Custom Sheets function to be used with ARRAYFORMULA
- Custom function with variable arguments implementation using apps script
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Looking at the error you are getting, which says "Script invoked too many times per second for this Google user account", I don't think adding a sleep will help. It is because the number of times your script is called is the point of contention. Try reducing the number of calls to your script in the spreadsheet (basically reduce the number of cells with formulas invoking the script). If your script has cyclic calls, try removing / reducing them.
You might get a better answer if you can provide some more information on how many cells call your script and perhaps some relevant code from your script itself.