apps-script-samples icon indicating copy to clipboard operation
apps-script-samples copied to clipboard

Gmail blocked access, unable to run app script

Open yudataguy opened this issue 11 months ago • 1 comments

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

  1. Tried multiple different scripts, all showing the same result. Is there something that I need to change on my account?

yudataguy avatar Dec 02 '24 02:12 yudataguy

Same issue here. The problem is that rather than prompt for credentials (as suggested should happen by the documentation) user is simply denied access.

Image

adlainewson avatar Apr 23 '25 19:04 adlainewson