Skip to content

Gmail blocked access, unable to run app script #503

Open
@yudataguy

Description

@yudataguy

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?

Activity

adlainewson

adlainewson commented on Apr 23, 2025

@adlainewson

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @jpoehnelt@adlainewson@yudataguy

      Issue actions

        Gmail blocked access, unable to run app script · Issue #503 · googleworkspace/apps-script-samples