Couldn't evaluate decision on [RELEASE NAME] Object reference not set to an instance of an object

Im having problems with Wayward Pines whenever I carry out a search for new episodes. Other Series seem to be downloading correctly.

Message

Couldn't evaluate decision on Wayward.Pines.S01E01.HDTV.x264-2HD: Object reference not set to an instance of an object.

Exception

System.NullReferenceException: Object reference not set to an instance of an object.
   at NzbDrone.Core.DecisionEngine.Specifications.QualityAllowedByProfileSpecification.IsSatisfiedBy(RemoteEpisode subject, SearchCriteriaBase searchCriteria) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\DecisionEngine\Specifications\QualityAllowedByProfileSpeci ication.cs:line 21
   at NzbDrone.Core.DecisionEngine.DownloadDecisionMaker.EvaluateSpec(IDecisionEngineSpecification spec, RemoteEpisode remoteEpisode, SearchCriteriaBase searchCriteriaBase) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\DecisionEngine\DownloadDecisionMaker.cs:line 123

Could you post a screenshot of the profile thats attached to this series?

Thats it, you just kicked my brain into gear.

I am using PlexRequests (https://github.com/lokenx/plexrequests-meteor/) so that my users can add content to my Plex Server themselves through the Sonarr API

One of the fields required to add a series is “qualityProfileId” which I have left at the default setting on “1” this obviously doesnt exist in my sonarr install which is what is causing the error.

So the question is…

How do I find the qualityProfileID for each of my profiles?

Just to add, this is definitly NOT a sonarr issue.

You can get it from the API, or database. Any network calls that have either the profile or the profile ID attached will, the developer console in the browser is probably the easiest.

Brilliant, thanks for the quick help.

Used http://localhost/api/profile?apikey=[APIKEY]

to grab the profiles and grabbed the ID from there.