Slides App: getActivePresentation error after v8 migration
问题 Seems to happen when you are logged in with 2 different accounts to Google and test the app - 1 account in Chrome browser and another in Google Slides app or Apps Script panel. Other than that, all works fine. I have a function imageToSlide called from html template like this: google.script.run .withSuccessHandler(sidebar.onSuccess) .withFailureHandler(sidebar.onAddDocumentError) .imageToSlide(url, link, width, height); Inside it I do var presentation = SlidesApp.getActivePresentation();