Unable to deploy Google Apps Script as a Web App

2019-03-14 09:39发布

I'm not able to deploy Google Apps Script as a web app since yesterday. I am getting the following errorGoogle Drive Encountered an 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条回答
虎瘦雄心在
2楼-- · 2019-03-14 10:05

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).

查看更多
登录 后发表回答