Sonarr version (exact version): 3.0.9.1549
Mono version (if Sonarr is not running on Windows): 6.12.0.182
OS: Docker container on Ubuntu server 22.04 (through DockSTARTer)
Debug logs: PrivateBin
Description of issue: Sonarr cannot import the default “Watchlist” of a Trakt user.
I believe the relevant part of the logs is:
[v3.0.9.1549] NzbDrone.Common.Http.HttpException: HTTP request failed: [404:NotFound] [GET] at [https://api.trakt.tv/users/vitalpixel/lists/watchlist/items/shows?limit=100]
Possible cause:
Sonarr treats Trakt’s “Watchlist” as any other list (which it can import without issues, btw) and so it appends lists/
to the list URL (after the username/
portion).
Trakt on the other end seems to treat the default “Watchlist” as different from other lists. While other lists are accessible through https://trakt.tv/users/<USERNAME>/lists/<LISTNAME>
, the default Watchlist is only accessible through https://trakt.tv/users/<USERNAME>/watchlist
.
So in the example from the logs above, if you try the URL with /lists
you get a 404:
https://trakt.tv/users/vitalpixel/lists/watchlist/shows?limit=100
If you remove the /lists
portion from the URL you get the expected 200:
All of this is using the user-facing URLs btw, the api endpoints might have a different behaviour but I’m not sure how to test that…
Any ideas on how to fix this?