diff --git a/src/Prowlarr.Api.V1/Indexers/NewznabController.cs b/src/Prowlarr.Api.V1/Indexers/NewznabController.cs index e76bae68a..b5a7992e1 100644 --- a/src/Prowlarr.Api.V1/Indexers/NewznabController.cs +++ b/src/Prowlarr.Api.V1/Indexers/NewznabController.cs @@ -52,7 +52,7 @@ namespace NzbDrone.Api.V1.Indexers throw new BadRequestException("Missing Function Parameter"); } - request.imdbid = request.imdbid.TrimStart('t'); + request.imdbid = request.imdbid?.TrimStart('t') ?? null; if (request.imdbid.IsNotNullOrWhiteSpace()) {