diff --git a/proto/caosdb/entity/v1/main.proto b/proto/caosdb/entity/v1/main.proto
index ce0f1ea505ba88c7fbdb5612e0c4be47acddc91c..c04ca35d0ee57dda78a4b74ef61de1bfcea0ab33 100644
--- a/proto/caosdb/entity/v1/main.proto
+++ b/proto/caosdb/entity/v1/main.proto
@@ -321,6 +321,10 @@ enum MessageCode {
   // out of range. The integer range is an implementation detail and thus this
   // can happen even though the API allows the value.
   MESSAGE_CODE_INTEGER_VALUE_OUT_OF_RANGE = 58;
+
+  // This entity caused an unexpected integrity violation. This is a strong
+  // indicator for a server bug. Please report.
+  MESSAGE_CODE_INTEGRITY_VIOLOATION = 59;
 }
 
 // Messages are used by server's or client's to transport *transient*