Document not found

牧云@^-^@ 提交于 2019-12-12 05:01:31

问题


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:


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.



来源:https://stackoverflow.com/questions/12448323/document-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!