Analytics
5.8K members online now
Discuss regaining access to Analytics accounts, restoring accounts, changing user access levels, and navigating the homepage
 
Guide Me
star_border
Reply

Google Analytics api call rejecting my key that has been working for the last few months

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello,

 

Fot the alst 4 months I have used the google analitics API to display data on a site I'm working on. I request the visitor data and display it in a graph.

Up until last week everything was working fine. Now all of a sudden I get a '(403) User does not have sufficient permissions for this profile.' messages when requesting the data. 

I've cheked my settings, id's and everything is still the same as before.

Have there been changes made to the API? I'm using the following url GET https://www.googleapis.com/analytics/v3/data/ga

 

If somebody has any idea as to why this functionality has stopped working , please let me know.

 

Regards,

Bas

1 Expert replyverified_user
Marked as Best Answer.
Solution
Accepted by topic author Bas B
May 2016

Re: Google Analytics api call rejecting my key that has been working for the last few months

Top Contributor
# 2
Top Contributor
A few changes happened as v4 of the API became available.
You may need to adjust your app to accomodate changes in authentication:
https://developers.google.com/analytics/devguides/reporting/core/v4/migration
VP & Chief Evangelist at Hub'Scan | Contact me
Level 80 Digital Analytics Warrior, KPI Therapist and Keeper of the One True Tagging Plan

Re: Google Analytics api call rejecting my key that has been working for the last few months

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hello Julien,

Thanks for the reply. I've got things up and running again. I requested a new certificate, new clientId and used these. Now things are back online.
I will certainly bookmark your link, right now we are still using v3 of the api, but I think we will be switching to the new version very soon.