The word captcha is something a bit different from the api usually (in
my experience) and is usually triggered by Googles Network Security
DDOS protection so I would wonder what you doing that would trigger it
as its kinda hard to get that under normal circumstances (don't read
as pointing fingers, not what I'm saying ;)). I had it once but it was
being caused by a bug in Firefox (about:config caching setting) and I
was discussing it with Googles Network Security team to isolate the
issue.

Usually, for this api though, if you supply your API key or in the
case of server side requests still use an API key (when possible) and
a valid HTTP Referrer and now a client userip param as this will help
them determine legit requests from automated ones and also provide
them with a way to contact you before blocking your IP/Server or app.

Usually in general use the most common case of something like this
(with blocking requests) would be triggered from a bit of code that
needs fixing like when iterating through a loop where it fires off
events in rapid succession.

For most cases though I would not really worry about it, if it does
become an issue then you can follow up here and the team will try to
investigate for you, as long as your TOS compliant they don't want
legit apps to get affected.

You can also (like I mentioned) provide a Oops link and try again even
potentially log any non 200 status codes and review your log files for
problems and then help the team to compare with their log files to see
what the trigger is.

Hope this helps :)

Cheers!
Vision Jinx

On Feb 11, 7:05 am, Phil-H <[email protected]> wrote:
> Well around the captcha basicallly yea. What you've said there is
> another possible solution in this case, i'm just trying to check all
> my options before choosing one! I don't suppose you know if there's
> any way of responding with the word from the captcha if i did want to
> display it to the user through my program and offer a text box?
>
> On Feb 10, 8:14 pm, Vision Jinx <[email protected]> wrote:
>
> > Around the captcha or checking the status codes from the API? In my
> > apps if I get a non-200 response I give an Oops with a link to error
> > codes and provide a try again link.
>
> > On Feb 10, 10:56 am, Phil-H <[email protected]> wrote:
>
> > > That is what i believed to be the case, although i'm looking for a
> > > good way around the problem (assuming the querys sent by the program
> > > are correct)
>
> > > On Feb 10, 5:52 pm, Jeremy Geerdes <[email protected]> wrote:
>
> > > > You can get at least a couple of other response codes. I've seen 400, 
> > > > which is a bad query. They also send a code for those who get banned. 
> > > > In general, I believe they are a subset of the HTTP status codes.
>
> > > > Jeremy R. Geerdes
> > > > Effective website design & development
> > > > Des Moines, IA
>
> > > > For more information or a project quote:http://jgeerdes.home.mchsi.com
> > > > [email protected]
>
> > > > If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan 
> > > > Church!
>
> > > > On Feb 10, 2010, at 11:48 AM, Phil-H wrote:
>
> > > > > Its not automated and as far as i know does follow the TOS, here is
> > > > > the process that occurs:
>
> > > > > User selects a document
> > > > > User presses a button to generate X number of random phrases with Y
> > > > > words each
> > > > > User can add additional phrases using a text box
> > > > > User presses a button to search for the phrases
> > > > > Search terms are sent to google
> > > > > Search results are returned as JSON objects
>
> > > > > My question is whether or not Google will return a response status
> > > > > other than 200 at any time, since when using Google manually i've in
> > > > > the past been asked to enter the word from an image to continue.
>
> > > > > Thanks for the quick response,
> > > > > Phil
>
> > > > > On Feb 10, 5:39 pm, Vision Jinx <[email protected]> wrote:
> > > > >> Hi,
>
> > > > >> The TOS does not allow automated queries so if that's what your doing
> > > > >> you may very likely get blocked by the Goog.
>
> > > > >> Is that what you have been doing or did I mis-understand your
> > > > >> question?
>
> > > > >> Since this has been an issue in the past they are also asking for
> > > > >> people using server side queries to pass along the client IP (userip
> > > > >> param) so if your not passing valid client (end user) IP addys your
> > > > >> chances of getting blocked just increased also.
>
> > > > >> Additional info in this post here 
> > > > >> >>http://groups.google.com/group/google-ajax-search-api/browse_thread/t...
>
> > > > >> Please make a follow up post if I missed what you were asking. :)
>
> > > > >> Cheers!
> > > > >> Vision Jinx
>
> > > > >> On Feb 10, 10:09 am, Phil-H <[email protected]> wrote:
>
> > > > >>> Hi,
>
> > > > >>> I'll start off by explaining my situation; I'm using JSON objects 
> > > > >>> and
> > > > >>> the Google AJAX APIs in a Java program as my degree final year
> > > > >>> dissertation project. The program works by taking a document,
> > > > >>> selecting x random phrases from the document and searching Google 
> > > > >>> for
> > > > >>> them using the APIs.
>
> > > > >>> It has worked as intended thus far but I expect that at some point
> > > > >>> rather than returning the request status 200 along with the search
> > > > >>> results Google will try to check that my client is not just a 
> > > > >>> machine
> > > > >>> spamming the system with searches and produce an anti-spam image. My
> > > > >>> questions are:
>
> > > > >>> 1. Does this in fact happen as it occasionally does when using a
> > > > >>> Google search manually?
>
> > > > >>> 2. What can i do to get around this?
>
> > > > >>> My thoughts are that I'd have to display the image through the 
> > > > >>> program
> > > > >>> and return the user input but is there any support for this in the
> > > > >>> AJAX APIs using JSON objects?
>
> > > > >>> Thanks in advance,
> > > > >>> Phil
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google 
> > > > > Groups "Google AJAX APIs" group.
> > > > > To post to this group, send email to 
> > > > > [email protected].
> > > > > To unsubscribe from this group, send email to 
> > > > > [email protected].
> > > > > For more options, visit this group 
> > > > > athttp://groups.google.com/group/google-ajax-search-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to