Nevermind - found out the problemo - was using the wrong URL - the original URL I used was "http://docs.google.com/feeds/documents/private/full". Read another post and found it should be "http://docs.google.com/feeds/default/private/full" - Just a little different but that did the trick...
On Dec 27, 2:24 am, Lior Harsat <[email protected]> wrote: > Hi Zack, > > I has some (bad) experience with the google docs api. > there are two options that I know of that might cause the error you > see. > 1. you have a missing jar in your bin folder. > 2. GAE strange behavior I've noticed (not sure If i should call it a > bug). > > I assume you have explorer option one and it is not the case. > regarding option 2. I have witnessed the following: > a. many times a call to the DocsService.get*** will fail with no > apparent reason. subsequent calls may succeed. What I did is , I've > set a retry counter and simply caught the exceptions and retried > calling them. for most api setting the counter to 5 did the trick. for > others I needed 10. > b. the code examples in google docs code simply didn't work. In order > to work around this issue I played around with the API until I was > able to hack something. (use the local GAE for these games). > > I know my answer may not be a solution for you but at least its nice > to know that I wasn't the only one having issues with Google Docs > APIs. > > Thanx. Lior > > On Dec 27, 3:03 am, zackmac <[email protected]> wrote: > > > I'm just trying to do an initial google docs example but am getting an > > error at the DocumentListFeed call (DocumentListFeed feed = > > service.getFeed(documentListFeedUrl, DocumentListFeed.class)): > > > com.google.gdata.util.ResourceNotFoundException: Not Found > > > This is my full code listing (with user and pwd changed): > > > DocsService service = new DocsService("TEST"); > > service.setUserCredentials("[email protected]","my_pwd"); > > URL documentListFeedUrl = new URL("http://docs.google.com/feeds/ > > documents/private/full"); > > DocumentListFeed feed = service.getFeed(documentListFeedUrl, > > DocumentListFeed.class); > > > I've read some forums on this but it seems like I have everything in > > place that's needed... > > -- 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 [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-java?hl=en.
