Hello!
I followed the tutorial below and was able to sync a google sheet to Coda, thanks for the tutorial!
How to sync data from Coda to Google Sheets (and vice versa) with Google Apps Script tutorial
The issue I am running into is I get the following error:
TypeError: Cannot read property 'length' of undefined
updateCoda@ Code.gs:103
runSync @ Code.gs:39
There’s a loop on line 103 and something isn’t being defined before that loop starts. When I ran the debugger, the only variable that was undefined was updateTargetRows
on line 129, maybe that’s the issue? I’m not sure though.
The script still works, my table gets updated in Coda and everything. I’m just worried that this might cause issues down the line.
Here’s a direct link to the github page: coda-google-apps-script/sheets_to_coda.js at master · al-codaio/coda-google-apps-script · GitHub
Thanks!