gmail-no-response.js Exception: You do not have permission to call Session.getActiveUser
HammyHavoc opened this issue · 0 comments
Hi!
What a brilliant idea for a script! I've tried to get this up and running, however I've fallen at the final hurdle it seems.
Apps Script presents me with this error in Failed Executions:
Exception: You do not have permission to call Session.getActiveUser. Required permissions: https://www.googleapis.com/auth/userinfo.email at getEmailAddresses(Code:107:22) at isMe(Code:90:19) at [unknown function](Code:67:9) at processUnresponded(Code:60:18) at main(Code:35:3)
I have a gut feeling it is something relating to Triggers:
Under 'Choose which function to run', I've currently got it set to main
(the default that auto-populated), and 'Which runs at deployment' set to Head
(again, auto-populated default).
The blog URL in the JavaScript itself doesn't seem to go anywhere as you've changed your website, so I've been trying to feel around myself for how to do this. I think 4am brain has well and truly kicked in. :- ) Sorry to disturb you with my silly problem!