How to fix Google Apps Script: Script function not found: doGet

Every webapp in Google Apps Script must have a main function called doGet() which is the entry point of the app, the function that your app will start with when you type the webapp url.

This is true for every application deployed as a standalone app and called by its url - with a user interface or not.

If you read the documentation you'll see that all the standalone apps examples for HTMLService or UiApp have a doGet function.

Only container embedded ui scripts or scripts that run on triggers are not concerned by this rule.

Popular posts from this blog

Selenium supports Java

Installing chocolatey on Windows