GAM-team / GAM-team/got-your-back
403: Insufficient Permission - insufficientPermissions
- Dominant language
- Python
- Stars
- 3.1k
- Forks
- 245
- PR merge metrics
- No merged PRs in 30d
Description
1) as I had multiple gmail accounts and I wanted to save one specific one directly I had to change the default browser to MS Edge where I was only logged in with that one users. Otherwise the setup bat would create the cloud project with wrong permissions?
2) Even after that I got this 403 error.
To solve I went into
https://console.cloud.google.com/auth/scopes
esp:
- View your email messages and settings
- View your email message metadata such as labels and headers, but not the email body
for that project and manually added the gmail scopes I thought where important for backup. then I did --action revoke and after that --action backup worked
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the 403 using the setup batch script with multiple Gmail accounts, then compare the configured project permissions with the Gmail scopes shown in the Google Cloud console. Trace the setup, revoke, and backup actions to identify where insufficientPermissions is surfaced; done means the reported account can run backup without manually adding scopes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- google-cloud, python
- Domain
- api, authentication, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100