diff --git a/api/core/tools/utils/uuid_utils.py b/api/core/tools/utils/uuid_utils.py index 6e60e881e5..dff49e0c84 100644 --- a/api/core/tools/utils/uuid_utils.py +++ b/api/core/tools/utils/uuid_utils.py @@ -2,7 +2,7 @@ import uuid def is_valid_uuid(uuid_str: str | None) -> bool: - if uuid_str is None: + if uuid_str is None or len(uuid_str) == 0: return False try: