I'm using the remote_api to bulk delete my items, batch size 100. Here is what my python class looks like:
class BulkItemDeleter(Mapper): KIND = Item def map(self, entity): return ([], [entity]) Here is the error: Traceback (most recent call last): File "<console>", line 1, in <module> File "/Users//Documents//BulkItemDeleter.py", line 14, in <module> bid.run() File "/Users//Documents/Mapper.py", line 41, in run db.delete(to_delete) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/ext/db/__init__.py", line 1241, in delete datastore.Delete(keys) File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/api/datastore.py", line 281, in Delete raise _ToDatastoreError(err) My logs from the dashboard show this: Exception while handling service_name: "datastore_v3" method: "Delete" request < lots of item references here ....> File "/base/python_lib/versions/1/google/appengine/ext/remote_api/ handler.py", line 291, in post response_data = self.ExecuteRequest(request) File "/base/python_lib/versions/1/google/appengine/ext/remote_api/ handler.py", line 322, in ExecuteRequest response_data) File "/base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py", line 72, in MakeSyncCall apiproxy.MakeSyncCall(service, call, request, response) File "/base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py", line 266, in MakeSyncCall rpc.CheckSuccess() File "/base/python_lib/versions/1/google/appengine/api/ apiproxy_rpc.py", line 111, in CheckSuccess raise self.exception ApplicationError: ApplicationError: 5 -- 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-j...@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=.