ERROR: API access Denied

164 views
Skip to first unread message

John Shearer

unread,
Jun 7, 2023, 3:42:00 PM6/7/23
to google-ap...@googlegroups.com
I use GAM on two machines as two different users.  I believe they both worked fine yesterday, but today I get:

ERROR: API access Denied

That's it!

With debug:
c:\GAMADV-XTD3>gam config debug_level 1 info domain
connect: (oauth2.googleapis.com, 443)
send: b'POST /token HTTP/1.1\r\nHost: oauth2.googleapis.com\r\nContent-Length: 252\r\ncontent-type: application/x-www-form-urlencoded\r\nx-goog-api-client: gl-python/3.11.3 auth/2.19.1 cred-type/u\r\n
user-agent: GAMADV-XTD3 6.60.06 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <ross.s...@gmail.com> / Python 3.11.3 final / Windows-10-10.0.10586-SP0 AMD64 /\r\naccept-encoding: gzip, d
eflate\r\n\r\n'
send: b'grant_type=refresh_token&client_id=651670274878-i2ahrv3u20m6l6erm1d7resdnrm7sag6&client_secret=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&refresh_token=1%2F%2F0dNBFBJeM85HJCgYIARAAGA0SNwF-L9IrxLQ8U-T
PkrluJOdiNRcXCG6YJVcW-qzGAmfrGNryE-LQLUAYa6qikCubjEKCPJM0h0M'
reply: 'HTTP/1.1 403 Forbidden\r\n'
header: Cache-Control: no-cache, no-store, max-age=0, must-revalidate
header: Expires: Mon, 01 Jan 1990 00:00:00 GMT
header: Pragma: no-cache
header: Date: Wed, 07 Jun 2023 19:39:20 GMT
header: Content-Type: application/json; charset=utf-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Server: scaffolding on HTTPServer2
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
header: Transfer-Encoding: chunked

ERROR: API access Denied

I upgraded to GAMADV-XTD3 with the same result.

I'm still digging ("must-revalidate"?), but anyone?

Thanks

--

John D. Shearer, Associate Director
Department of Information Technology
Northfield Mount Hermon


One Lamplighter Way, Mount Hermon, MA 01354  nmhschool.org

NMH CONFIDENTIALITY NOTICE: This transmission may contain privileged and confidential information, including information protected by federal and state privacy laws such as HIPAA and FERPA. It is intended only for the use of the person(s) named above. If you are not the intended recipient, please contact the sender by reply email or by telephone, and destroy all copies of the original message.

Ross Scroggs

unread,
Jun 7, 2023, 3:44:44 PM6/7/23
to google-ap...@googlegroups.com
Send me a Meet/Zoom invitation and I'll help.

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CABa1FxjJzoUNJ6pJVtB5V0Oe-bquksWyjCRdFvqAc7i1L-K5Ew%40mail.gmail.com.


--
Reply all
Reply to author
Forward
0 new messages