I'm having the same problem. My app on google app engine uses 2 cron jobs set up which run every 2 minutes. Each of those does a single query (for multiple items separated by spaces), then a batch insert (or update, depending on the job). I've configured the insert and update to do 7 at a time, since any more than that produces timeouts during the urlfetch. I've got my api key set properly.
I guess my question is: If I call it to do 7 batch inserts on one thread, and 7 batch updates on another, and they get called around the same time, does that count as 14 calls? Also, it seems like once I'm in this state I stay that way for quite some time. Cheers, Steve On May 25, 8:40 am, Tom Wilson <[email protected]> wrote: > Are you guys using an API Key to sign requests > ?http://code.google.com/apis/base/starting-out.html#authDev > > If i remember the 5 queries per second is a guide the system is > smarter than that. > > > > > > On Fri, May 14, 2010 at 17:41, mcrady <[email protected]> wrote: > > I'm also running into this problem running on Google App Engine. > > > I'm making less than one request per minute. > > > Calls to the query method of a GoogleBaseService object intermittently > > return with a ServiceException. > > > Calling getResponseBody on that exception gives me the following: > > > <html><head><meta http-equiv="content-type" content="text/html; > > charset=utf-8"/><title>Sorry...</title><style> body { font-family: > > verdana, arial, sans-serif; background-color: #fff; color: #000; }</ > > style></head><body><div><table><tr><td><b><font face=times > > color=#0039b6 size=10>G</font><font face=times color=#c41200 > > size=10>o</font><font face=times color=#f3c518 size=10>o</font><font > > face=times color=#0039b6 size=10>g</font><font face=times > > color=#30a72f size=10>l</font><font face=times color=#c41200 > > size=10>e</font></b></td><td style="text-align: left; vertical-align: > > bottom; padding-bottom: 15px; width: 50%"><div style="border-bottom: > > 1px solid #dfdfdf;">Sorry...</div></td></tr></table></div><div > > style="margin-left: 4em;"><h1>We're sorry...</h1><p>... but your > > computer or network may be sending automated queries. To protect our > > users, we can't process your request right now.</p></div><div > > style="margin-left: 4em;">See <a href="http://www.google.com/support/ > > bin/answer.py?answer=86640">Google Help</a> for more information.<br/ > >><br/></div><div style="text-align: center; border-top: 1px solid > > #dfdfdf;">© 2009 Google - <a href="http://www.google.com">Google > > Home</a></div></body></html> > > > On Mar 17, 3:10 pm, Craig van Nieuwkerk <[email protected]> wrote: > >> You are limited to 5 queries per second. If you are using anautomated > >> system to do more than the limit you may be banned. > > >> On Wed, Mar 17, 2010 at 2:17 AM, Got Haggis? <[email protected]> > >> wrote: > >> > Should this be happening? I've been experimenting with searching > >> > Google Base using PHP with the Zend Framework. Using the examples > >> > provided on the Google Code page, my servers IP address gets banned > >> > after a few queries - Google starts returning a 404 page saying > >> > something like "It appears you are using anautomatedsystem to query > >> > Google, which breaks Googles TOS" - I see nothing aboutautomated > >> > queries in the Google Base TOS. Isn't the entire point of having an > >> > API for use withautomatedsystems? > > >> > Or is Google Base really just for people to upload their listing and > >> > not have other people search them? I did notice that you are limited > >> > to 1000 results per query. > > >> > -- > >> > You received this message because you are subscribed to the Google > >> > Groups "Google Base Data API" 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-base-data-api?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Base Data API" 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-base-data-api?hl=en. > > -- > Thanks, > > Tom Wilson > Web and Media Developer > > e: [email protected] > w:www.tomthedeveloper.com > > Google Base Tools -http://dev.tomthedeveloper.com/googlebase > Featured Project > :http://google-code-featured.blogspot.com/2008/02/google-base-competit... > > -- > You received this message because you are subscribed to the Google Groups > "Google Base Data API" 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-base-data-api?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Base Data API" 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-base-data-api?hl=en.
