Failed to remove blob - GAE Java

With the correct blob key, I cannot delete the blob entry .. here is my code

BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService(); BlobKey blobKey = new BlobKey(thumbnailKey); blobstoreService.delete(blobKey); 

where the variable "thumbnailKey" has the correct key ...

I get an exception like

 com.google.appengine.api.blobstore.BlobstoreFailureException: An internal blobstore error occured. at com.google.appengine.api.blobstore.BlobstoreServiceImpl.delete(BlobstoreServiceImpl.java:112) 

Where am I mistaken?

+4
source share
1 answer

As Amit said in the comments, the problem was in the version, and the solution is to upgrade to the latest version of Google App Engine.

0
source

Source: https://habr.com/ru/post/1384584/


All Articles