We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get resources from G Suite Reseller API
Python sample code for Admin SDK - Reseller API returns the following error:
HttpError 403 when requesting https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/login?maxResults=10&alt=json returned "Insufficient Permission"
The sample code shows scopes that are for Admin SDK - Reports API (starts at line 33)
service = build('admin', 'reports_v1', http=creds.authorize(Http()))
Code should instead use the following (and adjustments must be made to call the correct resource from Reseller API):
service = build('reseller', 'v1', http=creds.authorize(Http()))
The text was updated successfully, but these errors were encountered:
erickoledadevrel
No branches or pull requests
Expected Behavior
Get resources from G Suite Reseller API
Actual Behavior
Python sample code for Admin SDK - Reseller API returns the following error:
HttpError 403 when requesting https://www.googleapis.com/admin/reports/v1/activity/users/all/applications/login?maxResults=10&alt=json returned "Insufficient Permission"
Steps to Reproduce the Problem
Specifications
Root cause
The sample code shows scopes that are for Admin SDK - Reports API (starts at line 33)
service = build('admin', 'reports_v1', http=creds.authorize(Http()))
Code should instead use the following (and adjustments must be made to call the correct resource from Reseller API):
service = build('reseller', 'v1', http=creds.authorize(Http()))
The text was updated successfully, but these errors were encountered: