plugin-GoogleAnalyticsImporter icon indicating copy to clipboard operation
plugin-GoogleAnalyticsImporter copied to clipboard

User does not have sufficient permissions for this account

Open Daniel123454321 opened this issue 3 years ago • 5 comments
trafficstars

We have a problem importing data from an analytics account where we are not the owner but got access granted (full administration rights).

The error is the following: { "error": { "code": 403, "message": "User does not have sufficient permissions for this account.", "errors": [ { "message": "User does not have sufficient permissions for this account.", "domain": "global", "reason": "insufficientPermissions" } ] } }

image

For me it sounds as it might be the same problem as described in this WP Plugin: https://github.com/google/site-kit-wp/issues/1548 https://github.com/google/site-kit-wp/issues/1707

I have no problems importing other GA Data. I can even import one site where the admin status was also granted (but from another person).

Daniel123454321 avatar Apr 07 '22 06:04 Daniel123454321

Hi @Daniel123454321, can you double check your permissions in the google analytics account? It needs more than View permissions. If the account does have Administrator rights as you say that should work fine, but this error suggests it isn't Administrator.

Screen Shot 2022-04-07 at 7 35 22 PM

I will close this issue for now please use our forum at https://forum.matomo.org for such questions but feel free to reopen here if you believe there's a bug.

justinvelluppillai avatar Apr 07 '22 07:04 justinvelluppillai

@justinvelluppillai more than double checked. It's the Administration role. I can also add users and change everything with my account directly in GA (same account as the account used with the importer)

image

It's really a strange problem. I have this with 3 out of 4 shared GA properties.

Daniel123454321 avatar Apr 07 '22 07:04 Daniel123454321

@justinvelluppillai After two weeks the problem still exists and yes I think there is a bug. If you want I can create you also an admin account so you can test/try it yourself.

Daniel123454321 avatar Apr 19 '22 10:04 Daniel123454321

Thanks @Daniel123454321 for reporting. I will put it in the backlog for prioritization.

justinvelluppillai avatar Apr 19 '22 21:04 justinvelluppillai

@justinvelluppillai thank you. If someone from the the dev team needs access I can add them to one of the sites. I can also create some test credentials for testing on google cloud for that prupose.

Daniel123454321 avatar Apr 20 '22 12:04 Daniel123454321

@Daniel123454321 Just checking, is this still an issue for you ?

AltamashShaikh avatar Jun 06 '24 03:06 AltamashShaikh

Closing due to inactivity

AltamashShaikh avatar Jul 29 '24 03:07 AltamashShaikh