Hi Jason, - The GAE Application ID is aslituberprod - Yes, we are caching youtube data and refreshing it only 6 times an hour (not exactly once an hour). - And yes, I am using googe data client library for java to read data from Youtube. - I used to get "<error><domain>yt:quota</ domain><code>too_many_recent_calls</code></error>" very frequently when querying for videos from a particular user using the feedurl: "http://gdata.youtube.com/feeds/api/users/<userid>/uploads". It stopped after replaced it with - ""http://gdata.youtube.com/feeds/api/ videos" and used query.setAuthor(userID); - Now, I have the Comments-read for a given video is failing with the same error almost 90% of the times. I am using the url feed: "http:// gdata.youtube.com/feeds/api/videos/<videoID>/comments" to read comments...I tried using "http://gdata.youtube.com/feeds/api/videos/ <videoID>/comments/client=aslitubeprod", but still the same. I am not using youtube authentication. Below is the stack trace I get.
And yes, this happens only when I host it on GAE. It does not happen on my localhost (Jetty)...and it does not happen if I host it on other free hosts like Eat Jsp etc. Please advise. com.dtkt.tasveer.business.VideoManager populateVideoComments: Loading comments failed from url http://gdata.youtube.com/feeds/api/videos/x-eVZgK9O8w/comments. Probably a youtube issue com.google.gdata.util.ServiceForbiddenException: OK <?xml version='1.0' encoding='UTF-8'?><errors><error><domain>yt:quota</ domain><code>too_many_recent_calls</code></error></errors> at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse (HttpGDataRequest.java:560) at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse (GoogleGDataRequest.java:543) at com.google.gdata.client.http.HttpGDataRequest.checkResponse (HttpGDataRequest.java:535) at com.google.gdata.client.http.HttpGDataRequest.execute (HttpGDataRequest.java:514) at com.google.gdata.client.http.GoogleGDataRequest.execute (GoogleGDataRequest.java:515) at com.google.gdata.client.Service.getFeed(Service.java:1034) at com.google.gdata.client.Service.getFeed(Service.java:897) at com.google.gdata.client.GoogleService.getFeed(GoogleService.java: 631) at com.google.gdata.client.Service.getFeed(Service.java:916) Thanks - Kishore On Jan 12, 3:03 pm, "Jason (Google)" <apija...@google.com> wrote: > First, what is your application ID? Second, how do you guarantee that you > only make the call once per hour? Do you have it set up as a cron job or are > you just making the call once a memcache value expires or are you using > another mechanism? What kind of call are you making to the YouTube API and > what is the specific YouTube quota that you are hitting? Lastly, are you > using the YouTube API directly or are you using the Google Data client > library for Java? > > - Jason > > On Mon, Jan 11, 2010 at 6:18 PM, Kishore Jaladi > <kishorejal...@gmail.com>wrote: > > > Hi, > > We have a small YoutubeAPI mashup App hosted on Google App engine. > > From last friday; we have been getting yt:quota - > > too_many_recent_calls error from youtube even though we call once in > > an hour. We suspected Google App engine; and hosted our war to some > > hosting provider & it was Rock Solid & we are NOT getting those > > youtube quota limit errors (too_many_recent_calls). Unable to > > understand why we are getting that error only when we host on Google > > App engine . Are there any problems with Google App engine from the > > last few days? > > > Any help would be greatly appreciated > > > Thanks, > > -Kishore > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > google-appengine-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en.
-- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.