You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running into an issue where I'm able to query 1 GA4 property that outputs in my ga_account_list() but 2 of the other properties in ga_account_list() get the error:
Error: API returned: User does not have sufficient permissions for this profile.
I'm using the same gmail user that created/admin all 3 GA4 properties and which created the Google Console credentials. Google Analytics Data API and Admin API are both enabled. Seems odd that 1 out of the 3 properties works while 2 do not work.
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered:
I'm also receiving this error and have also enabled the Google Analytics Data API.
Error: http_403 User does not have sufficient permissions for this profile.
Here's the steps I've been following:
ga_auth()
account_df <- ga_accounts()
account_df$id
## View account_list and pick the viewId you want to extract data from.
ga_id <- account_df$id[2]
## simple query to test connection, get 10 rows
google_analytics(ga_id,
date_range = c("2021-01-01", lubridate::today()),
metrics = "sessions",
dimensions = "date",
max = 10)
Hello,
Running into an issue where I'm able to query 1 GA4 property that outputs in my ga_account_list() but 2 of the other properties in ga_account_list() get the error:
Error: API returned: User does not have sufficient permissions for this profile.
I'm using the same gmail user that created/admin all 3 GA4 properties and which created the Google Console credentials. Google Analytics Data API and Admin API are both enabled. Seems odd that 1 out of the 3 properties works while 2 do not work.
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: