【发布时间】:2009-11-18 17:31:13
【问题描述】:
我在打电话
service.insert(new URL(getContentFeedUrl()), newAttachment);
在 servlet 中使用 MediaStreamSource 上传 Google 网站文件并获得以下异常
com.google.gdata.util.ServiceForbiddenException:好的 无权写入此提要
at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:561)
at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:543)
at com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:536)
at com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:515)
at com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:515)
at com.google.gdata.client.media.MediaService.insert(MediaService.java:390)
at morefile.UploadApp.uploadAttachment(UploadApp.java:95)
【问题讨论】:
-
它与appengine有什么关系?
-
它是一个托管在 appengine 上的谷歌数据服务 java 客户端库应用程序
-
我认为您正在混合使用 Google 代码和 App Engine。 Google 库托管在 Google Code 网站上,而 App Engine 是其他人运行自己的应用程序的地方
标签: java google-app-engine permissions