0
votes

I'm trying to download documents and for that working with document list api. Getging feed from https://docs.google.com/feeds/default/private/full of docuemnts and iterating over it, geting entry to download documents. Big part of the documents are downloaded fine, but there part of them that throws ResourceNotFoundException, here the trace:

at
 com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:591)
 at
 com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:563)
  at
 com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:552)
  at
 com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:530)
  at
 com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:535)
  at
 com.google.gdata.client.media.MediaService.getMediaResource(MediaService.java:234)
  at
 com.google.gdata.client.media.MediaService.getMedia(MediaService.java:276)
  at
 com.google.gdata.client.media.MediaService.getMedia(MediaService.java:302)

The exception text is:

 com.google.gdata.util.ResourceNotFoundException: Not Found

And followed by Google html page.

Any thought how this one could be resolved?

1

1 Answers

0
votes

Not sure what those numbers at the end of each line do, but if they are some sort of ID for the document that might be where your problem is. Because according to your error message I think the document you are trying to access does not exist.