Unable to deploy Google Apps Script as a Web App

只谈情不闲聊 提交于 2019-12-03 11:21:24

问题


I'm not able to deploy Google Apps Script as a web app since yesterday. I am getting the following error

(please see the screenshot)

I've tried to use different computers, different google accounts and different networks, to no avail.

Would request for prompt support. Thanks in advance!


回答1:


Hi all the quick fix is as follow:

add these lines of code at the end of you doPost() method

var app = UiApp.getActiveApplication();
return app;

This should fix the problem and now it's returning 200 (ok).



来源:https://stackoverflow.com/questions/21570143/unable-to-deploy-google-apps-script-as-a-web-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!