diff --git a/modules/grpc/pubsub/filterx/object-pubsub-message.cpp b/modules/grpc/pubsub/filterx/object-pubsub-message.cpp index 054504def..5a27b7438 100644 --- a/modules/grpc/pubsub/filterx/object-pubsub-message.cpp +++ b/modules/grpc/pubsub/filterx/object-pubsub-message.cpp @@ -101,10 +101,6 @@ Message::set_attribute(const std::string &key, const std::string &value) { throw std::invalid_argument("Key cannot be empty"); } - if (value.empty()) - { - throw std::invalid_argument("Value cannot be empty"); - } auto attributes = message.mutable_attributes(); if (attributes) {