Fixed
Status Update
Comments
jp...@google.com <jp...@google.com> #2
Generated Metadata
- Summary: Users are reporting a "TypeError: a.keys(...).va is not a function" error when using the
sort()
method in Google Sheets Apps Script. The issue appears to be intermittent and may be related to specific environments. - Tags:
Additional resources:
https://stackoverflow.com/.../google-apps-script-keeps-throwing-function-n... https://stackoverflow.com/.../response-getselectedbutton-is-not-a-function https://stackoverflow.com/.../google-apps-script-typeerror-data-foreach-is-n... https://stackoverflow.com/.../error-message-typeerror-spreadsheetsub-getas-... https://stackoverflow.com/.../push-is-not-a-function-error-in-google-app-sc...
You can
em...@gmail.com <em...@gmail.com> #3
Another user has reported that the clear() method also gets the same error.
Their script:
function save() {
var spreadsheet = SpreadsheetApp.getActiveSpreadsheet();
var sell = spreadsheet.getSheetByName("銷貨單");
var storage = spreadsheet.getSheetByName("銷售資料");
var array = sell.getRange("b2:i16").getValues();
var last = storage.getLastRow() ;
storage.getRange(last+1,1,15,8).setValues(array); // method getRange(row, column, optNumRows, optNumColumns)
var spreadsheet = SpreadsheetApp.getActive();
spreadsheet.getRange('b2:b16').activate();
spreadsheet.getActiveRangeList().clear({contentsOnly: true, skipFilteredRows: true});
spreadsheet.getRange('b2').activate();
}
Reference:
go...@siuyeong.com <go...@siuyeong.com> #4
Since yesterday, all functions related to getRange have encountered the following two errors.
TypeError: a.keys(...).va is not a function
Error: The parameters (RangeApiAdapter,null,Boolean) don't match the method signature for SpreadsheetApp.Range.copyTo.
Even if I use a brand new Google Sheets to record a macro that uses getRange, I still encounter errors.
TypeError: a.keys(...).va is not a function
Error: The parameters (RangeApiAdapter,null,Boolean) don't match the method signature for SpreadsheetApp.Range.copyTo.
Even if I use a brand new Google Sheets to record a macro that uses getRange, I still encounter errors.
bl...@google.com <bl...@google.com> #5
Automated by Blunderbuss job workspace-devrel-public-issue-tracker-blunderbuss-autoassigner for config assign for component 191640.
m....@arst.sardegna.it <m....@arst.sardegna.it> #6
Since yesterday:
Error: The parameters (RangeApiAdapter,null,Boolean) don't match the method signature for SpreadsheetApp.Range.copyTo.
Thanks in advance for your work
Error: The parameters (RangeApiAdapter,null,Boolean) don't match the method signature for SpreadsheetApp.Range.copyTo.
Thanks in advance for your work
jp...@google.com <jp...@google.com> #7
I have reported this to the engineering team and future updates will be shared here. Thank you for your patience.
jp...@google.com <jp...@google.com> #8
A rollback is occurring. I'll update when I have more information.
Description
Before opening a new issue, please search for other related issues , click the ★ to subscribe to updates, and click
+1
to vote.Description
Multiple users in Google Docs Editors forum have reported that functions used to sort() data are getting the "TypeError: a.keys(...).va is not a function" error. The user has provided a sample file where their own testing gets the error, but in my testing I don't get the error. So this problem doesn't yet affect all users.
Enquiries where the issue has been reported:
Code
Output
Steps