apps-script-samples
apps-script-samples copied to clipboard
Gmail blocked access, unable to run app script
Summary
Testing app script with gmail, but keep getting app access blocked. I already added Gmail API, but nothing changes.
Expected Behavior
Sample URL: https://github.com/googleworkspace/apps-script-samples/blob/main/gmail/quickstart/quickstart.gs Description: list all labels in user's mail box
Actual Behavior
This app is blocked
This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.
Steps to Reproduce the Problem
- Tried multiple different scripts, all showing the same result. Is there something that I need to change on my account?
Same issue here. The problem is that rather than prompt for credentials (as suggested should happen by the documentation) user is simply denied access.