If you do run across any issues you can post them here and we can try
to help you from there. The main issues I run into with non 200 codes
(or no results) are usually when fetching a feed where the api times
out before the Google feedfetcher is able to fetch a feed, cache it
then return it to the API or the source feed site is experiencing
technical issues, but usually if there is a feed in the cache the API
should return that then. Just wanted to give you an FYI about feeds is
the main one I come across. You can search this group for some posts
on it that have been previously discussed if needed. :)

Cheers!
Vision Jinx

On Feb 11, 10:12 am, Phil-H <[email protected]> wrote:
> I've gotten the captcha in the past while normally browsing Google for
> something (although I was also using firefox so that might have been
> the issue) so i just assumed it was something that happened
> occasionally- i haven't actually experienced it while testing this
> program. I am supplying the necessary information so if you insist it
> shouldn't be a problem then i'll just do as you say and provide an
> oops-message on the off chance and take it from there. I've setup the
> program to log any non-200 responses also.
>
> In redards to Jeremy i'm not referring to how to get around being
> banned from the API and i'm not doing anything to cause it. I'm just
> trying to be complete in making sure no errors arise unexpectedly in
> the future :)
>
> Thanks again for the help!
> Phil
>
> On Feb 11, 4:47 pm, Vision Jinx <[email protected]> wrote:
>
> > Yeah, that's what I was saying (or meaning), maybe I wasn't specific
> > enough, sorry.
>
> > On Feb 11, 9:17 am, Jeremy Geerdes <[email protected]> wrote:
>
> > > I don't believe they display a captcha when you get banned from the API. 
> > > Rather, they return a JSON object which includes an error message that 
> > > encourages you to contact Google to resolve the situation.
>
> > > 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 11, 2010, at 8:05 AM, Phil-H 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 
> > > > 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