Handle: ERROR: Authentication Token Error - invalid_account: Forbidden

This commit is contained in:
Ross Scroggs
2025-10-06 12:15:18 -07:00
parent d63fdb4ed9
commit f68aca8361
3 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
7.24.01
Updated GAM to handle the following error that occurs when GAM tries to authenticate
as a user that has been disabled by Google.
```
ERROR: Authentication Token Error - invalid_account: Forbidden
```
7.24.00
If you want to disable a user's service account access to Drive and Sheets but still allow reading command data from Google Docs and Sheets,

View File

@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
"""
__author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
__version__ = '7.24.00'
__version__ = '7.24.01'
__license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
#pylint: disable=wrong-import-position

View File

@@ -158,6 +158,7 @@ OAUTH2_TOKEN_ERRORS = [
'access_denied: Account restricted',
'internal_failure: Backend Error',
'internal_failure: None',
'invalid_account: Forbidden',
'invalid_grant',
'invalid_grant: Bad Request',
'invalid_grant: Invalid email or User ID',