diff --git a/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs b/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs index 43658c5f6..251a54550 100644 --- a/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs +++ b/src/NzbDrone.Core/Notifications/Plex/PlexServerProxy.cs @@ -240,6 +240,11 @@ namespace NzbDrone.Core.Notifications.Plex throw new PlexAuthenticationException("Unauthorized - Username or password is incorrect"); } + if (response.Content.IsNullOrWhiteSpace()) + { + _logger.Trace("No response body returned, no error detected"); + } + var error = response.Content.Contains("_children") ? Json.Deserialize(response.Content) : Json.Deserialize>(response.Content).MediaContainer;