Can't get DownloadedEpisodeScan to work

Sonarr version 2.0.0.5228:
Mono version 4.2.3:
OS: Debian Jessie:
Description of issue:

I am trying to manually import some shows from the cli via this command:

curl -d ‘{name: “DownloadedEpisodeScan”, path: “/srv/download/tv/Show.S08E17.720p.HDTV.x264-whatever”, importMode: “Move”}’ -H “Content-Type: application/json” -X POST http://localhost:8989/sonarr/api/command?apikey=xxxxxx

However I only get the following response:

{
“message”: “Sequence contains no matching element”,
“description”: "System.InvalidOperationException: Sequence contains no matching element\n at System.Linq.Enumerable.Single[TSource] (IEnumerable1 source, System.Func2 predicate) <0x412d5c60 + 0x0012b> in :0 \n at NzbDrone.Api.Commands.CommandModule.StartCommand (NzbDrone.Api.Commands.CommandResource commandResource) <0x4132dc10 + 0x0014f> in :0 \n at NzbDrone.Api.REST.RestModule1[TResource].<set_CreateResource>b__41_0 (System.Object options) <0x4132cc20 + 0x00032> in <filename unknown>:0 \n at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func2<object, object>,object)\n at Nancy.Routing.Route+<>c__DisplayClass4.b__3 (System.Object parameters, CancellationToken context) <0x4129a410 + 0x0014f> in :0 "
}

I tried the path with the Parse endpoint which works fine.

Edit: debug logs show this:

18-6-28 07:10:23.3|Trace|Http|Res: 580 [POST] /api/command?apikey=(removed) 500.InternalServerError (3 ms)
18-6-28 07:10:23.3|Debug|Api|[POST] /api/command?apikey=(removed) 500.InternalServerError (3 ms)
18-6-28 07:10:23.3|Trace|ConfigService|Using default config value for ‘downloadedepisodesfolder’ defaultValue:’’
18-6-28 07:10:23.3|Trace|DownloadedEpisodesCommandService|Drone Factory folder is not configured

Edit2: nvm found it

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