You need to go the script editor and attempt to run any function manually first.
A first authorization popup is shown when you first deploy as web app, but if you go and change the code accessing new services you have to re-authorize it.
More Related Contents:
- Moving google apps script to v8 file upload stopped working from sidebar
- Where is my iframe in the published web application/sidebar?
- Navigating embedded Google Apps Script iFrame from the parent
- UiApp has been deprecated. Please use HtmlService instead
- Call a custom GAS function from external URL
- How do I communicate a page(modal dialog) with its sibling (sidebar)?
- Is there any limit on number of concurrent hits or simultaneous executions on Google App Script Web App
- Call a function from external URL
- “function not found” error when making both GET and POST requests to a Web App
- Use project Javascript and CSS files in a Google Apps Script web app?
- Download file from Google Drive to local folder from Google Apps Script
- onclick function runs automatically
- No permission to call msgBox in Google Apps Scripting
- How to define global variable in Google Apps Script
- Periodically refresh IMPORTXML() spreadsheet function
- Export (or print) with a google script new version of google spreadsheets to pdf file, using pdf options
- Transfer ownership of a file to another user in Google Apps Script
- Format a Google Sheets cell in plaintext via Apps Script
- How to get form values in the submit event handler?
- Google app scripts: email a spreadsheet as excel
- Is there a way to keep two sheets synchronized?
- Selecting the last value of a column
- How to use the Gmail API, OAuth2 for Apps Script, and Domain-Wide Delegation to set email signatures for users in a G Suite domain
- How to get filtered values from Filter after using setColumnFilterCriteria?
- GAS “On edit” trigger not running when edited from API
- Difference between getValue() and getDisplayValue() on google app script
- How to allow onEdit function to affect protected cell in a Google Sheet?
- MailApp.sendEmail() in Google Apps Script not sending email
- Is it possible to create macro buttons to navigate in Google Sheets?
- Dynamically show / hide form items using Google App Script in Google Form