diff --git a/include/caosdb/message_code.h b/include/caosdb/message_code.h
index 0657601539d060e4b2971bf64ed28480a90e7708..17ec1c1a9fdfb58a512eaa5e7940686ea9ccbaa3 100644
--- a/include/caosdb/message_code.h
+++ b/include/caosdb/message_code.h
@@ -39,15 +39,15 @@ enum MessageCode {
   UNKNOWN = caosdb::entity::v1alpha1::MessageCode::MESSAGE_CODE_UNKNOWN,
   ENTITY_DOES_NOT_EXIST =
     caosdb::entity::v1alpha1::MessageCode::MESSAGE_CODE_ENTITY_DOES_NOT_EXIST,
+  ENTITY_HAS_NO_PROPERTIES = caosdb::entity::v1alpha1::MessageCode::
+    MESSAGE_CODE_ENTITY_HAS_NO_PROPERTIES,
 };
 
 [[nodiscard]] inline auto get_message_code(int code) noexcept -> MessageCode {
   // TODO(tf) smarter, less forgot-it-prone implementation
   static MessageCode all_codes[] = {
-    MessageCode::UNSPECIFIED,
-    MessageCode::UNKNOWN,
-    MessageCode::ENTITY_DOES_NOT_EXIST,
-  };
+    MessageCode::UNSPECIFIED, MessageCode::UNKNOWN,
+    MessageCode::ENTITY_DOES_NOT_EXIST, MessageCode::ENTITY_HAS_NO_PROPERTIES};
 
   for (MessageCode known_code : all_codes) {
     if (known_code == code) {
diff --git a/proto b/proto
index d6f2197731060a66934a9d45825cc9635a31131a..8febce70a96b3322d61a74e4567ade8b33f75369 160000
--- a/proto
+++ b/proto
@@ -1 +1 @@
-Subproject commit d6f2197731060a66934a9d45825cc9635a31131a
+Subproject commit 8febce70a96b3322d61a74e4567ade8b33f75369