I found this here: http://code.google.com/p/gdata-issues/issues/detail?id=1472
<http://code.google.com/p/gdata-issues/issues/detail?id=1472>Here's the answer from the comment: CAPTCHA usually means your credentials are incorrect. I suspect what's happening in your case is that you're authenticating the user in a for loop or something similar? Instead, you should be re using the auth token:http://code.google.com/apis/gdata/clientlogin.html#RecallAuthToken Sending rapid https requests to ClientLogin will invoke a captcha. Does this apply? You may want to ask here: http://www.google.com/support/forum/p/apps-apis/label?lid=18118739cdcf1a08&hl=en On Wed, Feb 24, 2010 at 3:03 PM, AlxRise <[email protected]>wrote: > Hi guys, > > I have a Java app running on appengine that needs to read data from > Google Spreadsheets (via Spreadsheet API). It's been running fine > until today, but today I keep getting: > > com.google.gdata.client.GoogleService$CaptchaRequiredException: > Captcha required > > every time I try to access that spreadsheet. > > The funny thing is: the exact same code runs fine when I run it on my > local machine using the SDK, but when I deploy it to AppEngine I get > the captcha error above. > > The piece of code in question: > > SpreadsheetService ssClient = new > SpreadsheetService(Globals.GDATA_APP); > ssClient.setUserCredentials(Globals.GDATA_USER, > Globals.GDATA_PASSWORD); > SpreadsheetFeed ssFeed = ssClient.getFeed(new > URL(Globals.GDATA_SS_URL), SpreadsheetFeed.class); > > If anyone could shed some light on what's going on it would be most > appreciated. > > Regards, > Alexey > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine http://googleappengine.blogspot.com | http://twitter.com/app_engine -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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-appengine?hl=en.
