"Access Not Configured" When using javascript API.

1,860 views
Skip to first unread message

Neal

unread,
Dec 29, 2011, 10:19:46 AM12/29/11
to Google AJAX APIs
I am trying to do:

https://www.googleapis.com/plus/v1/people/116004737922927360371?key=API_KEY

But it keeps giving me:

// API callback
jQuery1704282662065234035_1325171836436({
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}
],
"code": 403,
"message": "Access Not Configured"
}
}
);

Jeremy Geerdes

unread,
Dec 29, 2011, 11:58:44 AM12/29/11
to google-ajax...@googlegroups.com
There have been some exceptions to this, but generally speaking, I believe this error is supposed to occur when you have not yet enabled the API via the API Console. I am assuming that you have at least registered your project with the Console since you are getting the "accessNotConfigured" message rather than "bad request." And you've no doubt replaced API_KEY in your url with the appropriate project key. But did you flip the little switch in the console to activate the Plus API?

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
jrge...@gmail.com

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

> --
> You received this message because you are subscribed to the Google
> Groups "Google AJAX APIs" group.
> To post to this group, send email to
> google-ajax...@googlegroups.com
> To unsubscribe from this group, send email to
> google-ajax-searc...@googlegroups.com
> To view this message on the web, visit
> http://groups.google.com/group/google-ajax-search-api?hl=en_US
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Neal

unread,
Dec 30, 2011, 9:34:28 AM12/30/11
to Google AJAX APIs
Yes I did flip the switch and the Plus API is enabled, but it still
does not work....

On Dec 29, 11:58 am, Jeremy Geerdes <jrgeer...@gmail.com> wrote:
> There have been some exceptions to this, but generally speaking, I believe this error is supposed to occur when you have not yet enabled the API via the API Console. I am assuming that you have at least registered your project with the Console since you are getting the "accessNotConfigured" message rather than "bad request." And you've no doubt replaced API_KEY in your url with the appropriate project key. But did you flip the little switch in the console to activate the Plus API?
>
> Jeremy R. Geerdes
> Generally Cool Guy
> Des Moines, IA
>
> For more information or a project quote:
> jrgeer...@gmail.com
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!
>
> On Dec 29, 2011, at 9:19 AM, Neal wrote:
>
>
>
>
>
>
>
> > I am trying to do:
>
> >https://www.googleapis.com/plus/v1/people/116004737922927360371?key=A...

Adam Feldman

unread,
Jan 10, 2012, 11:49:11 PM1/10/12
to google-ajax...@googlegroups.com
Hello,

Sorry for the delayed response.  This error (which we're working on improving the descriptiveness of) also occurs when you have a restriction on your key (e.g. locked to a specific referer or IP address).  Please confirm that if you've set such a restriction in the APIs Console, that the referer or IP address that you're making the requests from.  Pay special attention to any wildcards used on the referer - for instance, if you use *.abc.com, it won't work if your request comes from "http://abc.com".

Assuming that it appears correct, please reply directly back to me (don't click "reply", but send a message to adam.f...@google.com) with your project number and I'll investigate further.

Thanks,
Adam
Reply all
Reply to author
Forward
0 new messages