DownloadDecisionMaker couldn't evaluate decision on Docker

Sonarr version (exact version): Docker linuxserver/sonarr:3.0.10
Mono version (if Sonarr is not running on Windows): Docker linuxserver/sonarr:3.0.10
OS: Debian 12 // Docker linuxserver/sonarr:3.0.10

Debug logs:

2023-07-07 10:57:03.2|Warn|ArgumentValidator|The string can't be left empty, null or consist of only whitespaces.
2023-07-07 10:57:03.2|Error|DownloadDecisionMaker|Couldn't evaluate decision on The.Walking.Dead.Dead.City.S01E01.PROPER.VOSTFR.1080p.10bit.WEBRip.6CH.x265.HEVC-FERVEX

[v3.0.10.1567] System.ArgumentException: The string can't be left empty, null or consist of only whitespaces.
Parameter name: key
  at NzbDrone.Common.EnsureThat.EnsureStringExtensions.IsNotNullOrWhiteSpace (NzbDrone.Common.EnsureThat.Param`1[T] param) [0x0001e] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\EnsureThat\EnsureStringExtensions.cs:18 
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x0000d] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Cache\Cached.cs:89 
  at NzbDrone.Core.Profiles.Releases.TermMatcherService.GetMatcher (System.String term) [0x00014] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Profiles\Releases\TermMatcherService.cs:35 
  at NzbDrone.Core.Profiles.Releases.TermMatcherService.IsMatch (System.String term, System.String value) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Profiles\Releases\TermMatcherService.cs:25 
  at NzbDrone.Core.DecisionEngine.Specifications.ReleaseRestrictionsSpecification+<>c__DisplayClass9_0.<ContainsAny>b__0 (System.String t) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\DecisionEngine\Specifications\ReleaseRestrictionsSpecification.cs:70 
  at System.Linq.Enumerable+WhereListIterator`1[TSource].ToList () [0x00017] in <f6c405b973804b5c804e7e759353765f>:0 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <f6c405b973804b5c804e7e759353765f>:0 
  at NzbDrone.Core.DecisionEngine.Specifications.ReleaseRestrictionsSpecification.ContainsAny (System.Collections.Generic.List`1[T] terms, System.String title) [0x00014] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\DecisionEngine\Specifications\ReleaseRestrictionsSpecification.cs:70 
  at NzbDrone.Core.DecisionEngine.Specifications.ReleaseRestrictionsSpecification.IsSatisfiedBy (NzbDrone.Core.Parser.Model.RemoteEpisode subject, NzbDrone.Core.IndexerSearch.Definitions.SearchCriteriaBase searchCriteria) [0x000a7] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\DecisionEngine\Specifications\ReleaseRestrictionsSpecification.cs:42 
  at NzbDrone.Core.DecisionEngine.DownloadDecisionMaker.EvaluateSpec (NzbDrone.Core.DecisionEngine.Specifications.IDecisionEngineSpecification spec, NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode, NzbDrone.Core.IndexerSearch.Definitions.SearchCriteriaBase searchCriteriaBase) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\DecisionEngine\DownloadDecisionMaker.cs:187 

2023-07-07 10:57:03.2|Warn|ArgumentValidator|The string can't be left empty, null or consist of only whitespaces.
2023-07-07 10:57:03.2|Error|DownloadDecisionMaker|Couldn't evaluate decision on The.Walking.Dead.Dead.City.S01E01.FRENCH.1080p.WEB.x264-FW

[v3.0.10.1567] System.ArgumentException: The string can't be left empty, null or consist of only whitespaces.
Parameter name: key
  at NzbDrone.Common.EnsureThat.EnsureStringExtensions.IsNotNullOrWhiteSpace (NzbDrone.Common.EnsureThat.Param`1[T] param) [0x0001e] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\EnsureThat\EnsureStringExtensions.cs:18 
  at NzbDrone.Common.Cache.Cached`1[T].Get (System.String key, System.Func`1[TResult] function, System.Nullable`1[T] lifeTime) [0x0000d] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Cache\Cached.cs:89 
  at NzbDrone.Core.Profiles.Releases.TermMatcherService.GetMatcher (System.String term) [0x00014] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Profiles\Releases\TermMatcherService.cs:35 
  at NzbDrone.Core.Profiles.Releases.TermMatcherService.IsMatch (System.String term, System.String value) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\Profiles\Releases\TermMatcherService.cs:25 
  at NzbDrone.Core.DecisionEngine.Specifications.ReleaseRestrictionsSpecification+<>c__DisplayClass9_0.<ContainsAny>b__0 (System.String t) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\DecisionEngine\Specifications\ReleaseRestrictionsSpecification.cs:70 
  at System.Linq.Enumerable+WhereListIterator`1[TSource].ToList () [0x00017] in <f6c405b973804b5c804e7e759353765f>:0 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <f6c405b973804b5c804e7e759353765f>:0 
  at NzbDrone.Core.DecisionEngine.Specifications.ReleaseRestrictionsSpecification.ContainsAny (System.Collections.Generic.List`1[T] terms, System.String title) [0x00014] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\DecisionEngine\Specifications\ReleaseRestrictionsSpecification.cs:70 
  at NzbDrone.Core.DecisionEngine.Specifications.ReleaseRestrictionsSpecification.IsSatisfiedBy (NzbDrone.Core.Parser.Model.RemoteEpisode subject, NzbDrone.Core.IndexerSearch.Definitions.SearchCriteriaBase searchCriteria) [0x000a7] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\DecisionEngine\Specifications\ReleaseRestrictionsSpecification.cs:42 
  at NzbDrone.Core.DecisionEngine.DownloadDecisionMaker.EvaluateSpec (NzbDrone.Core.DecisionEngine.Specifications.IDecisionEngineSpecification spec, NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode, NzbDrone.Core.IndexerSearch.Definitions.SearchCriteriaBase searchCriteriaBase) [0x00000] in C:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Core\DecisionEngine\DownloadDecisionMaker.cs:187 

Description of issue:
Hello !

I have this error when I want to download an episode of any series. I don’t understand what’s the problem and I can’t find someone with the same issue than me :confused: (ReleaseRestrictionsSpecification)

Here’s what I see on Sonarr when I start a search manually

If someone could help me, thanks a lot =)

not sure but under settings > profiles > release profiles - edit (and save) each one and confirm that the must contain, must not contain, and any preferred words, are all setup correctly and there isnt somehow a blank value in any of them.

saving them again should show any issues with the data, and hopefully save them correctly if there was an issue on the backend

note - for future reference this, linuxserver/sonarr:latest, is meaningless, the latest tag is just whatever version was current at the time you downloaded the image - so it could be anything at all. check the system > status page to find the actual version you are running, and use that.

Indeed, I left blank the “Must not contain” section of a profile, thanks a lot man !

Oh… The problem is still there :confused:

you can have completely empty must, and must not, contain, youre looking for something that is there, but empty.

the images look fine, so it might be simpler to just create new versions of your release profiles and then pick one series to test it on. remove the old tags, and add the new ones - see if that fixes it or not.

if it does then use the mass editor to update the tags on everything with the old tags (and eventually delete the old ones), if it doesnt then im not sure.

Okayy, I have finally found the problem ! Look what I found in the table “ReleaseProfiles” from the latest backup…

Thanks a lot man, it works perfectly now :sunglasses:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.