need help in debugging this error

41 views
Skip to first unread message

Kashwiin Kavundeer

unread,
Apr 20, 2023, 4:05:32 AM4/20/23
to Google Apps Script Community
hi all, im having trouble on this error, where im trying to do a google script where integrating esp32 data and send to google sheet

pls inform me tq
11.png


code google scrpt.txt

Brett Grear

unread,
Apr 20, 2023, 9:57:53 AM4/20/23
to Google Apps Script Community
It looks like you've tried to run the addData function through the editor console.  e only exists if you run the doGet or doPost function through by accessing the browser url.  You need to use the Deployment button in the top right and deploy your webapp, then you can use the test url which ends with /dev to test your code.

Andrew Roberts

unread,
Apr 21, 2023, 4:18:38 AM4/21/23
to google-apps-sc...@googlegroups.com
And that looks like a comma, rather than a full-stop (period). And I don't think there is a sheet property on that event.

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/f66305d0-575a-475f-bab5-f13991971faen%40googlegroups.com.

Kashwiin Kavundeer

unread,
May 5, 2023, 1:49:54 AM5/5/23
to google-apps-sc...@googlegroups.com
image.png

now im trying the code, but the error is error in reading the parameter

You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/In8zhrShWIY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAN1QPJSbrKiiZz29XL%3D1NdoYnrEeyg2fgyBmOBxTmRUnOgpZUg%40mail.gmail.com.

Kashwiin Kavundeer

unread,
May 5, 2023, 1:50:21 AM5/5/23
to google-apps-sc...@googlegroups.com
this is the error code
image.png

Brett Grear

unread,
May 5, 2023, 8:00:49 AM5/5/23
to Google Apps Script Community
Did you read my response? You can't run that code through the editor. It has to be deployed and run through the browser URL. Use the deployment menu and deploy as a webapp.
Reply all
Reply to author
Forward
0 new messages