• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Trakt add-on not exporting new library additions to collection.

    Pages (3): « Previous 1 2 3 Next »

     
    • 0 Vote(s) - 0 Average

    Trakt add-on not exporting new library additions to collection.

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #11
    2025-01-15, 03:09 PM
    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.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    KodiUser1138
    Offline

    Member

    Posts: 268
    Threads: 32
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #12
    2025-01-20, 09:37 PM
    Ended up stopping my server, un-installing 10.10.3, going through the ProgramData and Program Files deleting anything Trkt related, re-downloaded 10.10.3, rebooted, re-installed JF, re-install the Trkt app, re-started the server and re-authorizing Trakt to my user and that finally worked. No idea why.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    KodiUser1138
    Offline

    Member

    Posts: 268
    Threads: 32
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #13
    2025-01-22, 01:46 AM
    (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.

    Great googily moogily, I didn't even see you had replied as I checked the thread by going to my last post in it and saw nothing below becuase that was the end od the page which I did not see.

    I found the solution as I noted above, basically just re-install everything. Wish I'd seen your post sooner as you basically sugggest what I ended up doing.

    As always your help is greatly appreciated, even if it is sometimes overlooked by user error!
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    MWing
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    #14
    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
    rosid
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    #15
    2025-01-24, 12:45 PM
    Hi. I am having the same problem with the same error message as above.
    I have tried unauthorizing and reauthorizing as well as uninstall und reinstall of the trakt plugin. Still getting the error.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #16
    2025-01-24, 02:04 PM (This post was last modified: 2025-01-24, 02:05 PM by TheDreadPirate. Edited 1 time in total.)
    So, http code 420 is a non-standard code. From Trakt's documentation, code 420 means you've hit some limit for a non-VIP account.

    https://trakt.docs.apiary.io/#introducti...t%2C%20etc

    This forum post indicates that, for this user, they may have had more then 10 items for "plan to watch".

    https://forums.trakt.tv/t/http-error-420/41952

    Regardless, this isn't the same issue as OP, which was a code 401 (unauthorized). You've hit or exceeded some account limit for your account tier.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    MWing
    Offline

    Junior Member

    Posts: 2
    Threads: 0
    Joined: 2025 Jan
    Reputation: 0
    #17
    2025-01-24, 09:04 PM
    Thanks for your effort! The issue indeed lies with trakt and changes in their policy:

    Watchlist and Collection Limits: Free users are now limited to 100 items in their watchlists and collections, down from previous limits.

    Source: https://forums.trakt.tv/t/freemium-exper...-all/41641
    KodiUser1138
    Offline

    Member

    Posts: 268
    Threads: 32
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #18
    2025-02-03, 03:31 AM
    Looks like my new issues, unable to export any new media entries to my Trakt collection and several views not working, may be due to these recent Trakt changes and their desired attempt to force users into a paid subscription service. F that noise. I use Jellyfin BECAUSE it's free and open source. If they need more cash they can stuff more ads on their page which my adblock handles and they can solicit for more donations. Their VIP price isn't worth simply syning my watch states between multiple accounts. I'll just use 1 account for all my personal instances instead.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    kipke112
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2025 Feb
    Reputation: 0
    Country:Netherlands
    #19
    2025-02-04, 10:48 AM (This post was last modified: 2025-02-04, 10:54 AM by kipke112. Edited 4 times in total.)
    I dont know if I have the same problem with trakt but it doesnt export to collection. Not even 1 file this it gives :
    [2025-02-04 06:53:03.620 +01:00] [ERR] [43] 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-02-04 06:39:42.267 +01:00] [ERR] [8] Trakt.Helpers.LibraryManagerEventsHelper: Exception handled processing queued episode events
    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(IReadOnlyList1 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.Helpers.LibraryManagerEventsHelper.ProcessQueuedEpisodeEvents(IReadOnlyCollection`1 events, TraktUser traktUser, EventType eventType)

    it always worked fine when used trakt to collection but not anymore for days. maybe longer

    Ive already reinstalled Jellyfin and also did couple of force re-authorization but didnt work. Or maybe its because i am not a vip member on Trakt. Maybe trakt changed this?

    But when I watched something it sync with Jellyfin and for shows I am currently watching they are syncing with jellyfin only.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #20
    2025-02-04, 01:41 PM
    (2025-02-04, 10:48 AM)kipke112 Wrote: I dont know if I have the same problem with trakt but it doesnt export to collection. Not even 1 file this it gives :
    [2025-02-04 06:53:03.620 +01:00] [ERR] [43] 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-02-04 06:39:42.267 +01:00] [ERR] [8] Trakt.Helpers.LibraryManagerEventsHelper: Exception handled processing queued episode events
    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(IReadOnlyList1 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.Helpers.LibraryManagerEventsHelper.ProcessQueuedEpisodeEvents(IReadOnlyCollection`1 events, TraktUser traktUser, EventType eventType)

    it always worked fine when used trakt to collection but not anymore for days. maybe longer

    Ive already reinstalled Jellyfin and also did couple of force re-authorization but didnt work. Or maybe its because i am not a vip member on Trakt. Maybe trakt changed this?

    But when I watched something it sync with Jellyfin and for shows I am currently watching they are syncing with jellyfin only.

    You are not having the same issue. OP had code 401, unauthorized/authentication, issues. Yours is code 420, which means you've exceeded some limit.

    Read my post from Jan 24.

    (2025-01-24, 02:04 PM)TheDreadPirate Wrote: So, http code 420 is a non-standard code. From Trakt's documentation, code 420 means you've hit some limit for a non-VIP account.

    https://trakt.docs.apiary.io/#introducti...t%2C%20etc

    This forum post indicates that, for this user, they may have had more then 10 items for "plan to watch".

    https://forums.trakt.tv/t/http-error-420/41952

    Regardless, this isn't the same issue as OP, which was a code 401 (unauthorized). You've hit or exceeded some account limit for your account tier.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (3): « Previous 1 2 3 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode