googleapis / python-analytics-data

This library has moved to https://github.com/googleapis/google-cloud-python/tree/main/packages/google-analytics-data
Apache License 2.0
159 stars 36 forks source link

Credentials generated by Analyst user unable to pull data from API #361

Closed hashimg closed 1 year ago

hashimg commented 1 year ago

Environment details:

We encountered this error where if we are using credentials generated by a user that has Analyst permission, we get a User does not have sufficient permissions but then if we downgrade that to Viewer we are able to use the API and pull the data.

parthea commented 1 year ago

Thanks for reporting this issue. Please use the resources on this support page to reach out directly to the API team as this is not something that can be fixed in the client library.

Please also submit feedback via the Contact Us button on the page below which mentions that Analyst includes the permission of the Viewer role https://support.google.com/analytics/answer/9305587?hl=en#zippy=%2Cgoogle-analytics

I'm going to close this issue but please feel free to open a new issue with more information.