Jump to content

Free trakt.tv with emby not connecting


Go to solution Solved by Luke,

Recommended Posts

Airbender
Posted

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:

  1. Installed the Trakt.tv plugin in Emby.

  2. Went to Users and selected one user account.

  3. Clicked "Get Pin" and received a PIN.

  4. Saved the PIN.

  5. 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.

Posted

HI there, what exactly makes you think it isn't authenticating?

Airbender
Posted

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 

Airbender
Posted

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 
 
 

emby 7.PNG

emby 6.PNG

emby 5.PNG

emby 4.PNG

emby 3.PNG

emby 2.PNG

emby 4.PNG

Airbender
Posted

Trakt authorization isn't completing and it seem like mybe the plugin broke or something went wrong with new version of this plugin 

Posted

Look at your screenshot. You excluded every single folder from trakt.

Airbender
Posted

That was dump from my side I thought that was include wow such an idiot mistake 🙄 sorry about that 

  • Thanks 1
Airbender
Posted

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 

Posted
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
Posted

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.

 

 

Airbender
Posted

Here is more error from server 

emby 9.PNG

emby8.PNG

Posted

Hi, you might want to reconfigure trakt authentication for users soma and lgtech.

Airbender
Posted

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.

emby10.PNG

Posted
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
Posted
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/appsEmby 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!

lg2.PNG

LG.PNG

Airbender
Posted

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 

JF2.PNG

JF.PNG

  • 3 weeks later...
Posted

@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.

  • 1 month later...
Posted

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.

 

 

  • Thanks 2
Airbender
Posted

I don't have VPN 

Posted (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 by deuto
Airbender
Posted

The issue is the plugin is broken or outdated 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...