"code": 403, "message": "The user does not have sufficient permissions for file {fileId}." To fix this error, instruct the user to contact the file's owner and request edit access. You can also check user access levels in the metadata retrieved by files.
You can add only users whose email addresses are registered in Google accounts. To add or modify users, you must have the Administrator role at the account, property, or view level. You can add or modify users at each level for which you have permission.
If you receive a link to Analytics data, for example, to a report or dashboard, and you don't have access to the account, you can request access. When you click the link, then click Request access to send an email request to administrators of the Analytics account.
I had this problem too. I fixed it by adding the email address for my service account to the Google Analytics profile I wanted it to access.
I got the email address (something like [email protected]) for the service account by looking under the "API Access" tab in the Google APIs console.
Then, I followed Google's instructions for adding an email address to an Analytics profile. Now everything's working as expected.
Good luck!
Just add you given email (format of 71667655853644-o653rrdkq5hthsgo0otbpojoo@developer.gserviceaccount.com
)
to User Managers:
Wish it helps you
I was facing the same issue. It got resolved by adding the email id of the service account user(your [email protected]
), to the users in your Analytics account under-
Analytics-Home Page ->Admin(left pane) -> User Management -> add (click on plus sign on right side of the menu) -> Add new User -> Add the email id in enter email addresses.
Now, this will solve the issue.
It is mentioned in a comment above but if you add the email address under the User Management for your account, it won't work. You have to click on the User Management under the view part of the screen.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With