Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmail-no-response.js Exception: You do not have permission to call Session.getActiveUser #14

Open
HammyHavoc opened this issue Sep 25, 2021 · 0 comments

Comments

@HammyHavoc
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant