I've tried to run the new gam-3 show tokens and show asps commands and keep getting insufficient permissions errors. I've added a bunch of scopes to my domain's 3rd party oauth list and the api key (including
https://www.googleapis.com/auth/admin.directory.user.security), but I think I've been missing something somewhere, or did something wrong.
0e00aa236b981f3a9ae627df0a12&alt=json&prettyPrint=true HTTP/1.1\r\nHost: www.
gleapis.com\r\ncontent-length: 0\r\nauthorization: Bearer ya29.1.AADtN_WGvsMj
xRtv-EmRulG7tQgwjUI9obIsgt121A88kJPnx9s22lQHED5fahs-Rnq9i4xc\r\naccept-encodi
gzip, deflate\r\naccept: application/json\r\nuser-agent: Dito GAM 3.04 / jay
toweb.com (Jay Lee) / Python 2.7.6 final / Windows-7-6.1.7601-SP1 AMD64 / goo -api-python-client/1.2 (gzip)\r\n\r\n'
reply: 'HTTP/1.1 403 Forbidden\r\n'
directory.user.security"
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: Date: Wed, 19 Feb 2014 15:00:04 GMT
header: Expires: Wed, 19 Feb 2014 15:00:04 GMT
header: Cache-Control: private, max-age=0
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: X-XSS-Protection: 1; mode=block
header: Content-Length: 136
header: Server: GSE
header: Alternate-Protocol: 443:quic
body: {
"error": {
"errors": [
{
"domain": "global",
"reason": "insufficientPermissions",
"message": "Insufficient Permission"
}
],
"code": 403,
"message": "Insufficient Permission"
}
}
Error 403: Insufficient Permission - insufficientPermissions