Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Tags used for linking issues. [ID: 1172495]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Before opening a new issue, please search for other related issues , click the ★ to subscribe to updates, and click
+1
to vote.Description
I am getting the following error on my "on edit" trigger: We're sorry, a server error occurred while reading from storage. Error code INTERNAL.
Code
function newClient() { var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); var dataRange = sheet.getDataRange(); var data = dataRange.getValues(); var sheetUrl = SpreadsheetApp.getActiveSpreadsheet().getUrl();
for (var i = 3; i < data.length; i++) { // Start from row 4 to skip headers var status = data[i][9]; // Column J (index 9) var emailSent = data[i][10]; // Column K (index 10) - Check if email has been sent for this row
} }
Output
It should send me an email with information from my spreadsheet whenever certin columns are edited
Steps