diff --git a/Shoko.Server/API/v3/Helpers/FilterFactory.cs b/Shoko.Server/API/v3/Helpers/FilterFactory.cs
index 5158c62ea..d43809b52 100644
--- a/Shoko.Server/API/v3/Helpers/FilterFactory.cs
+++ b/Shoko.Server/API/v3/Helpers/FilterFactory.cs
@@ -336,7 +336,7 @@ public FilterPreset GetFilterPreset(Filter.Input.CreateOrUpdateFilterBody filter
existing.ParentFilterPresetID = filter.ParentID;
existing.FilterType = filter.IsDirectory ? GroupFilterType.UserDefined | GroupFilterType.Directory : GroupFilterType.UserDefined;
- existing.Name = filter.Name;
+ existing.Name = filter.Name ?? string.Empty;
existing.Hidden = filter.IsHidden;
existing.ApplyAtSeriesLevel = filter.ApplyAtSeriesLevel;
if (!filter.IsDirectory)
diff --git a/Shoko.Server/API/v3/Models/Shoko/Filter.cs b/Shoko.Server/API/v3/Models/Shoko/Filter.cs
index 4237988b1..6a246ec9a 100644
--- a/Shoko.Server/API/v3/Models/Shoko/Filter.cs
+++ b/Shoko.Server/API/v3/Models/Shoko/Filter.cs
@@ -260,8 +260,7 @@ public class CreateOrUpdateFilterBody
///
/// The filter name.
///
- ///
- public string Name { get; set; } = string.Empty;
+ public string? Name { get; set; }
///
/// The id of the parent filter. If you want to add/move this filter