IOException: The filename, directory name, or volume label syntax is incorrect. : 'C:\Users\zayee\AppData\Roaming\StardewValley\Screenshots\Bartleton
-Farm-Screenshots-314997482\Farm'
at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
at System.IO.Directory.CreateDirectory(String path)
at DailyScreenshot.ModEntry.TakeScreenshot(ModRule rule) in C:\Users\comps\OneDrive\Desktop\workspace\stardew-valley-daily-screenshot-mod\DailyScreenshot\ModEntry.cs:line 528
at DailyScreenshot.ModEntry.<>c__DisplayClass62_0.<RunTriggers>b__0() in C:\Users\comps\OneDrive\Desktop\workspace\stardew-valley-daily-screenshot-mod\DailyScreenshot\ModEntry.cs:line 441
at DailyScreenshot.ModEntry.OnUpdateTicked(Object sender, UpdateTickedEventArgs e) in C:\Users\comps\OneDrive\Desktop\workspace\stardew-valley-daily-screenshot-mod\DailyScreenshot\ModEntry.cs:line 486
at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args) in SMAPI\Framework\Events\ManagedEvent.cs:line 101```
Screenshot is taken but not saved in the default directory, changing it to a custom one doesn't fix the issue.
Config.json
Steps to reproduce the behavior:
Smapi Log: