Hi there,
I am using app engine and (Java) Google Base API to do a UPC query
lookup, using the following code:
GoogleBaseService service = new GoogleBaseService("Service");
GoogleBaseQuery query = new
GoogleBaseQuery(FeedURLFactory.getDefault().getSnippetsFeedURL());
query.setGoogleBaseQuery(upcCode);
query.setMaxResults(3);
GoogleBaseFeed feed = service.query(query);
When running locally, it works great. I get entries that contain data
about the product. However, when I upload my app to app engine and try
running the same code from myapp.appspot.com , I get an error with the
following stack trace:
com.google.gdata.client.http.HttpGDataRequest:558
isOAuthProxyErrorResponse()
com.google.gdata.client.http.HttpGDataRequest:549 checkResponse()
com.google.gdata.client.http.HttpGDataRequest:530 execute()
com.google.gdata.client.http.GoogleGDataRequest:535 execute()
com.google.gdata.client.Service:1135 getFeed()
com.google.gdata.client.Service:1077 getFeed()
com.google.gdata.client.GoogleService:662 getFeed()
com.google.gdata.client.Service:1237 query()
com.google.gdata.client.Service:1178 query()
com.google.api.gbase.client.GoogleBaseService:397 query()
It seems it is expecting me to do some sort of user authentication.
However, I believe that the query doesn't require authentication.
Does using the Java Google Base API on App Engine require some extra
steps that I am missing? Can anyone help me? Thanks!
--
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.