Search API - Access Not Configured

746 views
Skip to first unread message

MARK

unread,
Dec 29, 2011, 5:15:47 PM12/29/11
to Google AJAX APIs
hi

All the search API queries return the error message below, i paid for
it (using the billing interface) as i heard you had todo this yet i
still get the error;

{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}
],
"code": 403,
"message": "Access Not Configured"
}
}

MARK

unread,
Jan 1, 2012, 6:45:05 AM1/1/12
to Google AJAX APIs
hi

just to add, even when i use the "try it now" feature it gives this
error;

{
"error": {
"errors": [
{
"domain": "global",
"reason": "badRequest",
"message": "Bad Request"
}
],
"code": 400,
"message": "Bad Request"
}
}

Jeremy Geerdes

unread,
Jan 1, 2012, 7:14:48 AM1/1/12
to google-ajax...@googlegroups.com
If you activated the API from the Console, as you say that you have, then this may be related to similar issues which have cropped up in the Translate API since it was migrated to a paid service. Adam Feldman or another member of the dev team will need to look into it. I can almost guarantee that, in order to do that, they're going to need your project ID, which can be found by going to the API Console, viewing the configuration for the project in question, and then checking out the end of the URL.

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

Adam Feldman

unread,
Jan 10, 2012, 11:51:03 PM1/10/12
to google-ajax...@googlegroups.com
Hi Mark,

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 (as Jeremy suggested) and I'll investigate further.

Thanks,
Adam

Adam Šimek

unread,
Feb 2, 2012, 4:05:28 PM2/2/12
to google-ajax...@googlegroups.com
Hi, please has it been already solved, because my search script returns exact the same message
I haven't any referers filter set on..
Please could you help me? I am pretty sure my script was working, but few days ago my client made a complaint it does not..So I am looking on it right now and getting this error.
Thank your for your help.

Adam

Jeremy Geerdes

unread,
Feb 6, 2012, 8:27:24 AM2/6/12
to google-ajax...@googlegroups.com
This error can be the result of a number of issues. Could you provide the exact URL you're using to access the API?


Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:

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

Adam Šimek

unread,
Feb 6, 2012, 10:47:34 AM2/6/12
to google-ajax...@googlegroups.com
The url looks like:
"https://www.googleapis.com/customsearch/v1?key=".$apiKey."&cx=010540894320074985160:xt5u3nrnoko&q=test";


Adam Feldman

unread,
Feb 6, 2012, 12:23:40 PM2/6/12
to google-ajax...@googlegroups.com
Hi Adam,

Can you please send me a direct email (to adam.f...@google.com) with your project id (the number in the URL when you're at the APIs Console)?  Also, please send an exact query that you're making which fails (including key).

Because your key is sensitive, please don't just reply to this message, but instead send me a new message to the email address I mentioned above.

Thanks,
Adam

On Mon, Feb 6, 2012 at 7:47 AM, Adam Šimek <sime...@gmail.com> wrote:
The url looks like:
"https://www.googleapis.com/customsearch/v1?key=".$apiKey."&cx=010540894320074985160:xt5u3nrnoko&q=test";

--
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
Reply all
Reply to author
Forward
0 new messages