GAM already does exponential back off on temp errors but 403 not authorized is a permanent error, not temp. If you're not authorized to do something not, why would you be authorized to do it in a few seconds time? The error you are seeing is not an API quota error so support's response doesn't really fit.
Are you sure the user you authorized gam to run as has full admin rights? What command are you running? Does it ever work?
Jay
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/647ebd39-7b3e-4e19-b71d-4219c80ab922%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jay
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp8oSBwDBQMm%2BNsRxBaZ56BUBjUScfJy4BRi6QW_X0i_DQ%40mail.gmail.com.
GAM already does exponential back off on temp errors but 403 not authorized is a permanent error, not temp. If you're not authorized to do something not, why would you be authorized to do it in a few seconds time? The error you are seeing is not an API quota error so support's response doesn't really fit.
Are you sure the user you authorized gam to run as has full admin rights? What command are you running? Does it ever work?
Jay
On Thu, Jul 14, 2016, 6:26 AM Zoeb Bharmal <zoeb.b...@whitestratus.com> wrote:
Hi,--I've had an open Google case with support for an error I've been encountering which is "ERROR: 403: Not Authorized to access this resource/api - forbidden". It's been identified that GAM has been correctly setup and all relevant scopes/oauth is correct. After Google investigated, they came back with the following:"The support engineer found the related log entries by checking the requests made at the time the screenshot was made and could confirm that the 403 error generated has the code reason "quota exceeded." This behavior is expected and explains why you see this error without a clear pattern. As documented at https://developers.google.com/admin-sdk/directory/v1/limits "quota exceeded" is caused because "the limit of concurrent requests for a certain operation has been reached."So they recommend implementing the exponential backoff but I don't see how this can be done using GAM? I am using the latest version at the moment. Any ideas or tips would be greatly appreciated.Thanks,Zoeb.
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/647ebd39-7b3e-4e19-b71d-4219c80ab922%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Jay
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/FBE1C751-A3DD-492B-9A7F-8AACF7BF24D9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Jay
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/647ebd39-7b3e-4e19-b71d-4219c80ab922%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Jay
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp8oSBwDBQMm%2BNsRxBaZ56BUBjUScfJy4BRi6QW_X0i_DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/FBE1C751-A3DD-492B-9A7F-8AACF7BF24D9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Jay
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp_omMu7KdTNSLC8YT8d4ZWOE5dfwgw_kcZSaZn6zucTjw%40mail.gmail.com.
python gam.py print groups-members
After a little while I got the same error as before when using a different command as previously mentioned:
ERROR: 403: Not Authorized to access this resource/api - forbidden
There is definitely something that has changed somewhere which needs looking at. I have used GAM for many commands and cannot believe two different commands are a resulting in the same error. Ross is another case where he's experiencing the same but not using the same command as myself so this would point to GAM having an inherent issue, no?
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/8593bcbe-6b43-4cc4-b9a8-6822ee3b9b32%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.