StorageB/Google-Sheets-Logging

Function not found: doPost

ctnalves opened this issue · 1 comments

I implemented the code as recommendations, but after establishing wifi connection and connecting to host, publishing returns this error message. What could be causing this problem?

Connecting to Ypyeng 2g ...
......

Connection established!
IP address: 192.168.1.17
Connecting to script.google.com
Connected
Publishing data...
{"command": "insert_row", "sheet_name": "Sheet1", "values": "1,925,4191"}

<title>Erro</title><style type="text/css" nonce="rDYaOuvfXEeHBGg0FiPF0w">body {background-color: #fff; margin: 0; padding: 0;}.errorMessage {font-family: Arial,sans-serif; font-size: 12pt; font-weight: bold; line-height: 150%; padding-top: 25px;}</style>
Google Apps Script
Script function not found: doPost

It worked just following the additional notes:
"When making changes to the Google Scripts code, you will need to click Save then Deploy > New deployment for any new changes to take effect. You will be given a new Deployment ID that you will have to update in the ESP8266 code each time (each new deployment is given a new Deployment ID)".

So, if you have the same problem, just do it. It may solve.