gae: crash due to gae limitation when storing bigger items
Original report by Thomas Waldmann (Bitbucket: thomaswaldmann, GitHub: thomaswaldmann).
RequestTooLargeError: The request to API call datastore_v3.Put() was too large.
2.2MB (i wanted to store a jpg photo) is enough to crash it.
looks like the current gae store implementation is a bit too limited for any non-text item usage.
2 things we can do:
-
maybe somehow catch the exception and tell the user in a nice way that this was bigger than whatever the api allows (find out the limit and tell it).
-
find a way to store bigger items
Original comment by Thomas Waldmann (Bitbucket: thomaswaldmann, GitHub: thomaswaldmann).
https://developers.google.com/appengine/docs/java/datastore/overview#Quotas_and_Limits