Google Groups is meant for general product discussions and not for technical support.
I recommend posting your code along with the stacktrace you are getting to Stack Overflow <https://cloud.google.com/support/docs/stackexchange>using one of the support Google Cloud tags. Our technical community support team is active there. The two common reasons for the error you are seeing are: 1. Manually allocating IDs and accidentally using the same value of an existing entity. The solution would be to issue ids using a method that gives you values spread uniformly across the key space (the Python uuid module, for example). 2. Hot tablets. This can happen with the Datastore automatic ID generator if you have high write throughput (100s of writes/sec on the same entity). The solution would be to batch write ops to lower QPS. If you are migrating your entities to a new Entity Group <https://cloud.google.com/appengine/docs/standard/python/datastore/entities#Python_Assigning_identifiers> (by changing its ancestor parent) but are attempting to keep the same ID you must first be sure to allocate the ID to prevent Cloud Datastore from assigning one of your manual numeric IDs to another entity. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a48cc9d6-4d23-47c8-9663-a9651bf5b6f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
