You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's because the nextRow didn't exist yet. On each call an empty error object was returned. By removing this line the code was working (without inserting the data obviously).
So I changed the script a bit, instead of using setValues I'm using appendRow.
Here is the final version of the doPost function I'm using:
Hi,
I tried to use your script but it didn't work straight away.
The issue was coming from this line
I think it's because the
nextRow
didn't exist yet. On each call an emptyerror
object was returned. By removing this line the code was working (without inserting the data obviously).So I changed the script a bit, instead of using
setValues
I'm usingappendRow
.Here is the final version of the
doPost
function I'm using:Debugging Google Scripts is a real pane so thanks for the amazing work you've done on the script 👍
The text was updated successfully, but these errors were encountered: