How to Fix the 403:Insufficient Authentication Scopes Error from Google Analytics User Deletion API

Google Analytics reports API - Insufficient Permission 403

Had the same problem, but now is solved.
Use View ID Not account ID, the 'View ID', can be found in the Admin->Profiles->Profile Settings tab

UPDATE
now, if you have more a account , you must go: Admin -> Select account -> under View-> click on View Settings

403 - Insufficient Permission only on accountSummaries call

It was just a scope issue: accounts needs at least one among

https://www.googleapis.com/auth/analytics
https://www.googleapis.com/auth/analytics.edit
https://www.googleapis.com/auth/analytics.readonly

while accountSummaries allows only the last two; it seems to be the only one that does not work with the analytics scope, which is the one our client was requesting.

Google spreadsheet api Request had insufficient authentication scopes

  1. Firstly delete the credentials files ~/.credentials/sheets.googleapis.com-nodejs-quickstart.json (depending on your setting)

  2. Change the scope variable used for reading cells from Google Spreadsheets from

var SCOPES =
['https://www.googleapis.com/auth/spreadsheets.readonly'];

to

var SCOPES = ['https://www.googleapis.com/auth/spreadsheets'];


  1. After the execution of code, API will authenticate again and then the issue will be resolved.

Create Google Analytics Goal 403 Error Message: Your project does not have access to this feature

As you said you need to request access to the beta @ https://developers.google.com/analytics/devguides/config/mgmt/v3/account-management#limits .

According (403) Your project does not have access to this feature it can take up to multiple weeks (2 years ago it took 3 weeks) till you get a confirmation message. I assume you got this message?

After this I would minimize the possibilities of code and try it over https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/goals/insert#try-it

In the Management API, the write operations (e.g., create, update,
delete, and patch)—for Web Property, View (Profile), and Goal
resources—are in limited beta. To use them, request access to the
beta. If you try to use the following embedded APIs explorer to call
the write operations, you'll get an error message because it uses its
own project and credential. To set up the stand-alone APIs explorer to
work with your project and credential to call them, see Can I use my
own API key and/or OAuth 2.0 client ID with the Explorer?.



Related Topics



Leave a reply



Submit