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 use custom font during html to pdf conversion?
- parameter values only being sent to certain columns in google sheet?
- AppScript to replace image in google slides
- Email Sent Using AppScript Appears in Sent Box, but does not appear in Recipient's Inbox
- Update a MySQL row depending on the ID in Google Sheets Apps Script
- Would like the script to return the PDF letter via email with the sheet name not the spreadsheet name
- App script to prevent duplicate form submission
- Redirect Users to another website using GAS
- How do I create a Line Graph on App Script?
- Error (Status of 500) and X-Frame-Options with google apps script redirect function
- How do I add the Luxon library google sheet script
- AppScript For Google Form
- google sheet script to convert the Scientific notation in the selected area to number
- onEdit() 'row is not defined' error using checkboxes
- Regex expression not working on Google Form
Related Questions in GOOGLE-SHEETS
- google sheets, search and replace for next colum
- AppScript to replace image in google slides
- Regex to match repeated substring in Google Sheets
- How to append row to specific columns with gspread?
- Find a value in a range of cells (multiple rows and columns)
- Create date column based on range
- Look up a value using month of the date
- Data recovery based on other data
- Gsheet - Automatically send an email using a date & time in a Cell
- google sheet script to convert the Scientific notation in the selected area to number
- How can I limit the number of dropdown entries in a column in Google Sheets
- Parse tag in html via Google Sheets (importxml)
- Why is the background color of my google sheet web app not being applied?
- Google Sheets script that automatically locks a sheet 24 hours after a cell is edited
- My Google Sheets formulas mysteriously break as time passes, fix themselves when refreshed
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.