I have the same issue when trying to read a file from Cloud Storage using the Java API. The documentation states you have to add the appengine service account as a team member in the API-console. However, we're using Cloud Storage within a GoogleApps domain, which only allows users from that domain to be added as team members. So I can't add the service account (which is <appid>@appspot.gserviceaccount.com). So I have an additional question on how to use the Cloud Storage Java API in combination which Google Apps.
On 24 jan, 14:08, michaelvb <mvonbodun...@gmail.com> wrote: > I've been trying to use the Google Cloud Storage API which is published now > under the Docs section of the App Engine site. The docs states the API is > supported on v1.6.0 and higher. I have tried running my app locally and in > App Engine and I get errors like: > java.io.IOException > at > com.google.appengine.api.files.FileServiceImpl.translateException(FileServi > ceImpl.java:586) > at > com.google.appengine.api.files.FileServiceImpl.makeSyncCall(FileServiceImpl > .java:561) > at > com.google.appengine.api.files.FileServiceImpl.create(FileServiceImpl.java: > 479) > at > com.google.appengine.api.files.FileServiceImpl.createNewGSFile(FileServiceI > mpl.java:149) > > Caused by: com.google.apphosting.api.ApiProxy$ApplicationException: > ApplicationError: 704: Only blobstore supported currently > at > com.google.appengine.api.files.dev.LocalFileService.throwError(LocalFileSer > vice.java:208) > at > com.google.appengine.api.files.dev.LocalFileService.create(LocalFileService > .java:218) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > The errors also seem to vary if I try using Google Storage under my Google > Apps account and my regular gmail account. > > Under my Google Apps account I get messages like: > Caused by: com.google.apphosting.api.ApiProxy$ApplicationException: > ApplicationError: 7: > at > com.google.apphosting.runtime.ApiProxyImpl$AsyncApiFuture.failure(ApiProxyI > mpl.java:517) > at > com.google.net.rpc3.client.RpcStub$RpcCallbackDispatcher$1.runInContext(Rpc > Stub.java:741) > at > com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.jav > a:455) > at com.google.tracing.TraceContext.runInContext(TraceContext.java:695) > > Is the Java Google Storage API supported? -- 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-java@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.