Airbender 128 Posted May 1, 2025 Posted May 1, 2025 Hey everyone, Just signed up for a free Trakt.tv account and tried to connect it to my Emby server using the official Trakt.tv plugin. Here's what I did: Installed the Trakt.tv plugin in Emby. Went to Users and selected one user account. Clicked "Get Pin" and received a PIN. Saved the PIN. Navigated back to the Trakt.tv verification page no change stayed at pin code page and wont authenticate I've tried this with two different Emby user accounts, each linked to its own separate Trakt.tv account (with unique emails, usernames, and passwords), and I'm still running into the same issue. Has anyone else experienced this or have any ideas on why the sync isn't working? I double checked today all i see as far connected account are Trakt Lite for Web Jellyfin Trakt for Android plex Also, are there any Emby apps that do the same thing as Plex's Trakt sync Thanks in advance.
Luke 42077 Posted May 2, 2025 Posted May 2, 2025 HI there, what exactly makes you think it isn't authenticating?
Airbender 128 Posted May 2, 2025 Author Posted May 2, 2025 Last few days since I attempted to sync trakt to emby anything I watch in emby will not post in trakt. Zero history. Also as I said in app page I don't see emby so that indicate that sync not happening also authorization never completed after I enter the pin. Typically trakt will show me name of the user and logo and allw me to swipe on it then it will say something like success that did not happen
Luke 42077 Posted May 2, 2025 Posted May 2, 2025 HI there, can you please provide a specific example? How to Report a Problem Thanks !
Airbender 128 Posted May 2, 2025 Author Posted May 2, 2025 Hi Luke, Not sure what other info you need or example beside what i explain but let me try here Trakt 3.8.0 Installed on ENTERTAINMENTCE 4/28/25, 8:01 PM Emby Version 4.8.11.0 Soma is playing Once Upon a Witch's Death - The Witch With One Year to Live on SM-G981U 5/2/25, 3:41 AM That all i can show at this moment since i am not sure where to look for this issue
Airbender 128 Posted May 4, 2025 Author Posted May 4, 2025 Trakt authorization isn't completing and it seem like mybe the plugin broke or something went wrong with new version of this plugin
Luke 42077 Posted May 4, 2025 Posted May 4, 2025 Look at your screenshot. You excluded every single folder from trakt.
Airbender 128 Posted May 4, 2025 Author Posted May 4, 2025 That was dump from my side I thought that was include wow such an idiot mistake sorry about that 1
Airbender 128 Posted May 4, 2025 Author Posted May 4, 2025 So I did select all categories and hit save and restart emby server and then watched few anime. I check today and still status won't sync
Luke 42077 Posted May 4, 2025 Posted May 4, 2025 24 minutes ago, Airbender said: So I did select all categories and hit save and restart emby server and then watched few anime. I check today and still status won't sync HI there, can you please provide a specific example? How to Report a Problem Thanks !
Airbender 128 Posted May 5, 2025 Author Posted May 5, 2025 Hi Luke, Issue Summary: Trakt plugin (v3.8.0.0) fails to sync with Trakt.tv after PIN authorization. Error appears to occur during token exchange, resulting in repeated BadRequest responses. PIN was generated and activated on Trakt.tv successfully, but authentication does not complete in Emby. 2025-05-04 00:00:00.014 Info Trakt: Syncing user data for Soma 2025-05-04 00:00:01.143 Info HttpClient: POST https://api.trakt.tv/oauth/token 2025-05-04 00:00:01.310 Error Trakt: Error in SyncUserData MediaBrowser.Model.Net.HttpException: BadRequest at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken) at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser, CancellationToken cancellationToken) 2025-05-04 20:08:57.059 Info BaseItem: Updating trakt user, reset pin info: True 2025-05-04 00:00:02.503 Error Trakt: Error syncing trakt data for user Soma MediaBrowser.Model.Net.HttpException: BadRequest at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken) at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser, CancellationToken cancellationToken) Still receiving BadRequest during oauth/token POST.
Luke 42077 Posted May 5, 2025 Posted May 5, 2025 Hi there, please attach the Emby server log from when the problem occurred: How to Report a Problem Thanks!
Airbender 128 Posted May 5, 2025 Author Posted May 5, 2025 22 minutes ago, Luke said: Hi there, please attach the Emby server log from when the problem occurred: How to Report a Problem Thanks! embyserver-63881740800.txt
Luke 42077 Posted May 5, 2025 Posted May 5, 2025 Hi, you might want to reconfigure trakt authentication for users soma and lgtech.
Airbender 128 Posted May 5, 2025 Author Posted May 5, 2025 Hi, I’ve already tried everything multiple times without success. I even deleted the trakt.dll and the plugin reference file, then reinstalled and attempted to connect again — but the same issue keeps happening. It feels like something is broken in the plugin itself, or maybe Trakt has changed something on their end. Emby never shows up under my connected apps on Trakt, so the connection doesn’t seem to complete at all.
Luke 42077 Posted May 5, 2025 Posted May 5, 2025 22 minutes ago, Luke said: Hi, you might want to reconfigure trakt authentication for users soma and lgtech. I would just do this. Thanks.
Airbender 128 Posted May 5, 2025 Author Posted May 5, 2025 28 minutes ago, Luke said: I would just do this. Thanks. Hi Luke, Thanks for talking your time to help me I've been trying to get the Trakt plugin working in Emby but I keep running into the same issue: PIN-based authentication never completes, and Emby never shows up in my Trakt account under "Connected Apps." Here’s what I’ve already done: Generated a new Trakt PIN using the Emby user profile → Trakt → “Get PIN”. Entered the PIN into Emby and clicked Save. Confirmed the Trakt PIN screen stayed open (did not auto-confirm connection). Checked https://trakt.tv/settings/apps — Emby never appears. Manually ran the sync task (Export Library to Trakt) → results in BadRequest error Even after entering the PIN and saving in Emby, Trakt never confirms the connection, and Emby is not authorized in my Trakt account. Here's a visual showing the Trakt PIN page still waiting, even after saving the PIN in Emby: 2025-05-04 00:00:01.143 Info HttpClient: POST https://api.trakt.tv/oauth/token 2025-05-04 00:00:01.310 Error Trakt: Error in SyncUserData MediaBrowser.Model.Net.HttpException: BadRequest at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, ...) clearly isn’t completing the Trakt handshake. t seems the plugin is either: Not sending the final token request to Trakt.tv after PIN input, or Sending it incorrectly and receiving a 400 BadRequest during the /oauth/token exchange. Would appreciate any guidance, patch, or workaround. Happy to provide more log samples or test versions if needed. Thanks!
Airbender 128 Posted May 5, 2025 Author Posted May 5, 2025 Hi here is different example i went a head and connected JellyFin to trakt just to see if there is a differences in how connections works Working Behavior in Jellyfin (and Plex) In Jellyfin, the Trakt connection process is smooth: I select the user I want to connect to Trakt. Jellyfin initiates the Trakt authentication and opens a page asking for a PIN. The PIN is displayed inside Jellyfin, not on the Trakt site. I enter that PIN into the Trakt authorization page. Once submitted, I get a success message like this: "Woohoo! Your device is now connected" attached After that, Jellyfin shows up under my Trakt connected apps: Trakt Connected Apps Screenshot for JellyFin NOT EMBY I hope this help
Luke 42077 Posted May 22, 2025 Posted May 22, 2025 @Airbenderit seems to be working just fine in my testing. Can you try it again? I would try disabling any vpns as well as browser extensions. Please see if that helps. Thanks.
deuto 6 Posted July 14, 2025 Posted July 14, 2025 Just to add to this topic if anyone else runs into this issue. I was having the exact error as Airbender when trying to authenticate trakt premium with a fresh Premiere install. It ended up working when turning off Tailscale as Luke mentioned in this thread above (turn off VPNs). Note though, that i did not get the usual "Wohoo! Your device is now successfully connected to trakt". It just stayed same page with the 'next step' button greyed out. I confirmed it via the 'Connected Apps' page on trakt and then the emby logs. 2
deuto 6 Posted July 14, 2025 Posted July 14, 2025 (edited) Just to add to that I also used safari, I seemed to have no success with firefox. Also emby didnt show up on the 'connected apps' until I played some content on emby. Edited July 14, 2025 by deuto
Airbender 128 Posted July 14, 2025 Author Posted July 14, 2025 The issue is the plugin is broken or outdated
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now