Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 使用应用程序脚本从Google电子表格向LINE Notify发送消息_Javascript_Forms_Google Apps Script_Spreadsheet - Fatal编程技术网

Javascript 使用应用程序脚本从Google电子表格向LINE Notify发送消息

Javascript 使用应用程序脚本从Google电子表格向LINE Notify发送消息,javascript,forms,google-apps-script,spreadsheet,Javascript,Forms,Google Apps Script,Spreadsheet,因此,我试图通过谷歌表单响应从谷歌电子表格向LINE Notify发送消息,我已经用Postman测试了API,它可以工作了,我收到了通知,但它在应用程序脚本代码中不起作用。以下是错误日志: 解决了这个问题,我只是忘记了有效负载上的“message=“” "payload": "message=" + messageNama + " telah mendaftar di Bidang " + messageBidang, 尝试将函数

因此,我试图通过谷歌表单响应从谷歌电子表格向LINE Notify发送消息,我已经用Postman测试了API,它可以工作了,我收到了通知,但它在应用程序脚本代码中不起作用。以下是错误日志:


解决了这个问题,我只是忘记了有效负载上的
“message=“

"payload": "message=" + messageNama + " telah mendaftar di Bidang " + messageBidang,

尝试将函数
sendLineNotify
appendTable
移到函数
autofillpendankankontak
之外。如果将sendLineNotify移到函数autofillpendankankontak之外,appendTable函数工作正常,不会发生任何事情(仍然错误)
"payload": "message=" + messageNama + " telah mendaftar di Bidang " + messageBidang,