The OAuth client was disabled.

14,636 views
Skip to first unread message

ambi...@gmail.com

unread,
Dec 23, 2013, 9:49:03 AM12/23/13
to google-analytics...@googlegroups.com
Hello everyone, I've been banging my head against the desk for several days now trying to figure out how to use the google analytics reporting API. I tried to use both the OAuth and Service Account methods, and both are giving me the same error.

The complete error is:
There was an error : - Error refreshing the OAuth2 token, message: '{ "error" : "disabled_client", "error_description" : "The OAuth client was disabled." }'

Even loading the sample code provided with the PHP library and plugging in my values gives the same errors.

Any help is appreciated.

-Lance

Pete

unread,
Dec 26, 2013, 2:23:46 PM12/26/13
to google-analytics...@googlegroups.com
Have you checked the project settings in the Developer Console? (cloud.google.com/console). Check if the client is active.

Rick Tait

unread,
Dec 27, 2013, 4:17:27 AM12/27/13
to google-analytics...@googlegroups.com
you're 100% sure that you've given correct permissions to the oauth clientID email@address to the specific analytics property you're trying to query?

RMT.


On Monday, December 23, 2013 6:49:03 AM UTC-8, ambi...@gmail.com wrote:

ambi...@gmail.com

unread,
Dec 27, 2013, 6:47:20 PM12/27/13
to google-analytics...@googlegroups.com
How do I check if it is active?  I don't see any settings for active/inactive.

Thanks.

ambi...@gmail.com

unread,
Dec 27, 2013, 6:47:58 PM12/27/13
to google-analytics...@googlegroups.com
Yes, I just double checked.

Preeti

unread,
Feb 13, 2014, 1:07:09 AM2/13/14
to google-analytics...@googlegroups.com
Hello,

what was your problem?
did you solve that?

I had problem as:

Error: disabled_client

The OAuth client was disabled.

I checked with my client ID and all details.
everything is ok.
If I run only that script , then it working but what I put it in my application then it gives that error.
Reply all
Reply to author
Forward
0 new messages