Downloads getting deleted after they have finished

Sonarr version (exact version): 3.0.10.1567
Mono version (if Sonarr is not running on Windows):N/A
OS: Windows Server 2019
Debug logs: 2023-09-14 13:58:47.5|Warn|SonarrErrorPipeline|Invalid request Validation failed:
– BaseUrl: ‘Base Url’ must not be empty.
– BaseUrl: must be valid URL that starts with http(s)://
– ApiKey: ‘Api Key’ must not be empty.
Description of issue: After the episodes have downloaded they get deleted because of the above error from the log.

I have Radarr setup exactly the same and this has no issues

Solved this by just reinstalling Sonarr