Error in Radarr API when importing IMDB list #4655

Closed
opened 2026-02-19 22:47:58 -05:00 by deekerman · 9 comments
Owner

Originally created by @Morten14 on GitHub (Aug 13, 2020).

Originally assigned to: @Qstick on GitHub.

The Radarr API seems to incorrectly process some IMDB lists. My main watchlist can't be imported while there is no issue with my girlfriends list.

Radarr is running via Docker
OS: DSM 6.2.3
Browser: Chrome
Version: 3.0.0.3396
Package Version: 3.0.0.3396-ls19 by linuxserver.io

Debug log:
2020-8-13 12:28:49.1|Debug|Api|[GET] /api/v3/health: 200.OK (12 ms)
2020-8-13 12:28:50.0|Debug|Api|[PUT] /api/v3/config/host: 202.Accepted (8027 ms)
2020-8-13 12:28:50.2|Debug|Api|[GET] /api/v3/health: 200.OK (3 ms)
2020-8-13 12:28:52.1|Debug|Api|[GET] /api/v3/exclusions: 200.OK (597 ms)
2020-8-13 12:28:52.3|Debug|Api|[GET] /api/v3/config/netimport: 200.OK (839 ms)
2020-8-13 12:28:52.3|Debug|Api|[GET] /api/v3/netimport: 200.OK (913 ms)
2020-8-13 12:28:52.5|Debug|RootFolderService|Generating list of unmapped folders
2020-8-13 12:28:53.7|Debug|RootFolderService|10 unmapped folders detected.
2020-8-13 12:28:53.8|Debug|Api|[GET] /api/v3/rootFolder: 200.OK (2344 ms)
2020-8-13 12:28:59.2|Debug|IMDbListImport|Downloading List https://radarrapi.servarr.com/v1/list/imdb/ls000533573
2020-8-13 12:29:05.3|Warn|IMDbListImport|Unable to connect to list

[v3.0.0.3396] NzbDrone.Core.NetImport.Exceptions.NetImportException: Radarr API call resulted in an unexpected StatusCode [InternalServerError]
at NzbDrone.Core.NetImport.RadarrList2.RadarrList2Parser.PreProcess(NetImportResponse listResponse) in d:\a\1\s\src\NzbDrone.Core\NetImport\RadarrList2\RadarrList2Parser.cs:line 44
at NzbDrone.Core.NetImport.RadarrList2.RadarrList2Parser.ParseResponse(NetImportResponse netMovieImporterResponse) in d:\a\1\s\src\NzbDrone.Core\NetImport\RadarrList2\RadarrList2Parser.cs:line 19
at NzbDrone.Core.NetImport.HttpNetImportBase1.FetchPage(NetImportRequest request, IParseNetImportResponse parser) in d:\a\1\s\src\NzbDrone.Core\NetImport\HttpNetImportBase.cs:line 158 at NzbDrone.Core.NetImport.HttpNetImportBase1.TestConnection() in d:\a\1\s\src\NzbDrone.Core\NetImport\HttpNetImportBase.cs:line 194

2020-8-13 12:29:05.6|Warn|RadarrErrorPipeline|Invalid request Validation failed:
-- : Unable to connect to list. Radarr API call resulted in an unexpected StatusCode [InternalServerError]
2020-8-13 12:29:05.6|Debug|Api|[POST] /api/v3/netimport/test: 400.BadRequest (6406 ms)
2020-8-13 12:29:12.9|Debug|Api|[GET] /api/v3/health: 200.OK (14 ms)
2020-8-13 12:29:13.1|Debug|Api|[GET] /api/v3/system/status: 200.OK (213 ms)
2020-8-13 12:29:13.4|Debug|Api|[GET] /api/v3/diskspace: 200.OK (488 ms)
2020-8-13 12:29:21.5|Debug|Api|[GET] /api/v3/log/file: 200.OK (20 ms)

Originally created by @Morten14 on GitHub (Aug 13, 2020). Originally assigned to: @Qstick on GitHub. The Radarr API seems to incorrectly process some IMDB lists. My main watchlist can't be imported while there is no issue with my girlfriends list. Radarr is running via Docker OS: DSM 6.2.3 Browser: Chrome Version: 3.0.0.3396 Package Version: 3.0.0.3396-ls19 by linuxserver.io Debug log: 2020-8-13 12:28:49.1|Debug|Api|[GET] /api/v3/health: 200.OK (12 ms) 2020-8-13 12:28:50.0|Debug|Api|[PUT] /api/v3/config/host: 202.Accepted (8027 ms) 2020-8-13 12:28:50.2|Debug|Api|[GET] /api/v3/health: 200.OK (3 ms) 2020-8-13 12:28:52.1|Debug|Api|[GET] /api/v3/exclusions: 200.OK (597 ms) 2020-8-13 12:28:52.3|Debug|Api|[GET] /api/v3/config/netimport: 200.OK (839 ms) 2020-8-13 12:28:52.3|Debug|Api|[GET] /api/v3/netimport: 200.OK (913 ms) 2020-8-13 12:28:52.5|Debug|RootFolderService|Generating list of unmapped folders 2020-8-13 12:28:53.7|Debug|RootFolderService|10 unmapped folders detected. 2020-8-13 12:28:53.8|Debug|Api|[GET] /api/v3/rootFolder: 200.OK (2344 ms) 2020-8-13 12:28:59.2|Debug|IMDbListImport|Downloading List https://radarrapi.servarr.com/v1/list/imdb/ls000533573 2020-8-13 12:29:05.3|Warn|IMDbListImport|Unable to connect to list [v3.0.0.3396] NzbDrone.Core.NetImport.Exceptions.NetImportException: Radarr API call resulted in an unexpected StatusCode [InternalServerError] at NzbDrone.Core.NetImport.RadarrList2.RadarrList2Parser.PreProcess(NetImportResponse listResponse) in d:\a\1\s\src\NzbDrone.Core\NetImport\RadarrList2\RadarrList2Parser.cs:line 44 at NzbDrone.Core.NetImport.RadarrList2.RadarrList2Parser.ParseResponse(NetImportResponse netMovieImporterResponse) in d:\a\1\s\src\NzbDrone.Core\NetImport\RadarrList2\RadarrList2Parser.cs:line 19 at NzbDrone.Core.NetImport.HttpNetImportBase`1.FetchPage(NetImportRequest request, IParseNetImportResponse parser) in d:\a\1\s\src\NzbDrone.Core\NetImport\HttpNetImportBase.cs:line 158 at NzbDrone.Core.NetImport.HttpNetImportBase`1.TestConnection() in d:\a\1\s\src\NzbDrone.Core\NetImport\HttpNetImportBase.cs:line 194 2020-8-13 12:29:05.6|Warn|RadarrErrorPipeline|Invalid request Validation failed: -- : Unable to connect to list. Radarr API call resulted in an unexpected StatusCode [InternalServerError] 2020-8-13 12:29:05.6|Debug|Api|[POST] /api/v3/netimport/test: 400.BadRequest (6406 ms) 2020-8-13 12:29:12.9|Debug|Api|[GET] /api/v3/health: 200.OK (14 ms) 2020-8-13 12:29:13.1|Debug|Api|[GET] /api/v3/system/status: 200.OK (213 ms) 2020-8-13 12:29:13.4|Debug|Api|[GET] /api/v3/diskspace: 200.OK (488 ms) 2020-8-13 12:29:21.5|Debug|Api|[GET] /api/v3/log/file: 200.OK (20 ms)
Author
Owner

@austinwbest commented on GitHub (Aug 13, 2020):

I think @ta264 manages the lists. Ive also passed him a bug with my list throwing errors as well (except it is because mine is empty lol)

@austinwbest commented on GitHub (Aug 13, 2020): I think @ta264 manages the lists. Ive also passed him a bug with my list throwing errors as well (except it is because mine is empty lol)
Author
Owner

@Qstick commented on GitHub (Aug 13, 2020):

Empty lists were fixed in a commit this AM. We'll look at what's blowing up server side on this case

@Qstick commented on GitHub (Aug 13, 2020): Empty lists were fixed in a commit this AM. We'll look at what's blowing up server side on this case
Author
Owner

@Morten14 commented on GitHub (Sep 7, 2020):

So I just made a new IMDB account and imported all the movies from the old watchlist to this new account. I still get the same error on the new watchlist. I think the error may be related to some specific movie on IMDB.

@Morten14 commented on GitHub (Sep 7, 2020): So I just made a new IMDB account and imported all the movies from the old watchlist to this new account. I still get the same error on the new watchlist. I think the error may be related to some specific movie on IMDB.
Author
Owner

@austinwbest commented on GitHub (Sep 7, 2020):

You are gonna need to reproduce the issue and provide the logs from it

@austinwbest commented on GitHub (Sep 7, 2020): You are gonna need to reproduce the issue and provide the logs from it
Author
Owner

@ta264 commented on GitHub (Sep 7, 2020):

As I remember I could reproduce from the URL in the logs, I need to fix it server side. Not quite sure how yet...

@ta264 commented on GitHub (Sep 7, 2020): As I remember I could reproduce from the URL in the logs, I need to fix it server side. Not quite sure how yet...
Author
Owner

@austinwbest commented on GitHub (Sep 7, 2020):

Ah gotcha. Well not much I can do for that one lol

@austinwbest commented on GitHub (Sep 7, 2020): Ah gotcha. Well not much I can do for that one lol
Author
Owner

@Morten14 commented on GitHub (Sep 7, 2020):

Okay so the new list is working now, which is basically just a copy of the other list.

When I export the lists from IMDb to .csv files, I notice one difference. Each seperate line in the bugged list ends with ",,". In the other list it just ends normally. I attached the two exported lists so you can see the difference.

lists.zip

@Morten14 commented on GitHub (Sep 7, 2020): Okay so the new list is working now, which is basically just a copy of the other list. When I export the lists from IMDb to .csv files, I notice one difference. Each seperate line in the bugged list ends with ",,". In the other list it just ends normally. I attached the two exported lists so you can see the difference. [lists.zip](https://github.com/Radarr/Radarr/files/5184858/lists.zip)
Author
Owner

@Qstick commented on GitHub (Sep 7, 2020):

Interesting, can you leave the old one up for testing for now?

@Qstick commented on GitHub (Sep 7, 2020): Interesting, can you leave the old one up for testing for now?
Author
Owner

@Qstick commented on GitHub (Sep 7, 2020):

Got a fix PRd on metadata side for the cases that were returning status 500, looks like it was due to one or more items on the list returning error code from tmdb during the movie map. We'll just ignore the errors and still return movies with no error

@Qstick commented on GitHub (Sep 7, 2020): Got a fix PRd on metadata side for the cases that were returning status 500, looks like it was due to one or more items on the list returning error code from tmdb during the movie map. We'll just ignore the errors and still return movies with no error
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Radarr#4655
No description provided.