2025-01-24, 08:14 AM
(This post was last modified: 2025-01-24, 10:52 AM by MWing. Edited 3 times in total.)
(2025-01-15, 03:09 PM)TheDreadPirate Wrote: Ok. I see you mentioned that you tried reinstalling the plugin. But I was wondering if files were left behind that the reinstalled plugin is continuing to use. Perhaps with a bad authentication token.
So I uninstalled the plugin and found that there is still an XML left behind and it does contain all the access tokens in it. So I'm thinking that somehow the Trakt plugin isn't updating that XML on your system and this fragment survives reinstalls with the bad token.
You shouldn't need to reinstall the plugin, but let's go ahead revoke this device's access, uninstall the Trakt plugin, then restart Jellyfin. I don't have a Windows system anymore so I'm going from memory, the XML with the Trakt tokens should be C:\ProgramData\Jellyfin\Server\plugins\configurations\Trakt.xml.
Delete that file. Reinstall the Trakt plugin, restart Jellyfin, reauthorized, and then try to export to Trakt again.
I'm having the same issue, new additions to jellyfin library are not synced to Trakt collection since v10.10.4. Watched history does get synced.
I tried the above, but this didn't solve the issue for me and I'm not (yet) feeling for reinstalling Jellyfin altogether.
Jellyfin logs (in trakt debug mode):
Code:
[2025-01-24 09:01:14.729 +01:00] [INF] [15] Trakt.ScheduledTasks.SyncLibraryTask: Movies to "add to" collection: 2
[2025-01-24 09:01:14.863 +01:00] [ERR] [15] Trakt.Api.TraktApi: Exception handled in PostToTrakt
System.Net.Http.HttpRequestException: Response status code does not indicate success: 420.
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Trakt.Api.TraktApi.PostToTrakt[T](String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
[2025-01-24 09:01:14.866 +01:00] [ERR] [15] Trakt.ScheduledTasks.SyncLibraryTask: Exception handled sending movies to trakt.tv
System.Net.Http.HttpRequestException: Response status code does not indicate success: 420.
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Trakt.Api.TraktApi.PostToTrakt[T](String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
at Trakt.Api.TraktApi.SendLibraryUpdateAsync(ICollection`1 movies, TraktUser traktUser, EventType eventType, CancellationToken cancellationToken)
at Trakt.ScheduledTasks.SyncLibraryTask.SendMovieCollectionUpdates(Boolean collected, TraktUser traktUser, List`1 movies, IProgress`1 progress, Double currentProgress, Double availablePercent, CancellationToken cancellationToken)
[2025-01-24 09:01:38.913 +01:00] [INF] [24] Trakt.ScheduledTasks.SyncLibraryTask: Episodes to "add to" collection 16
[2025-01-24 09:01:39.078 +01:00] [ERR] [24] Trakt.Api.TraktApi: Exception handled in PostToTrakt
System.Net.Http.HttpRequestException: Response status code does not indicate success: 420.
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Trakt.Api.TraktApi.PostToTrakt[T](String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
[2025-01-24 09:01:39.081 +01:00] [ERR] [24] Trakt.ScheduledTasks.SyncLibraryTask: Exception handled sending episodes to trakt.tv
System.Net.Http.HttpRequestException: Response status code does not indicate success: 420.
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Trakt.Api.TraktApi.PostToTrakt[T](String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
at Trakt.Api.TraktApi.SendLibraryUpdateInternalAsync(IReadOnlyList`1 episodes, TraktUser traktUser, EventType eventType, CancellationToken cancellationToken, Boolean useProviderIds)
at Trakt.Api.TraktApi.SendLibraryUpdateAsync(ICollection`1 episodes, TraktUser traktUser, EventType eventType, CancellationToken cancellationToken)
at Trakt.ScheduledTasks.SyncLibraryTask.SendEpisodeCollectionUpdates(Boolean collected, TraktUser traktUser, List`1 episodes, IProgress`1 progress, Double currentProgress, Double availablePercent, CancellationToken cancellationToken)
[2025-01-24 09:01:39.084 +01:00] [INF] [24] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Export library to trakt.tv" Completed after 0 minute(s) and 27 seconds