Jump to content

Trakt Sync


Recommended Posts

Posted

Trakt stopped syncing for me today.

I tried getting  a new pin but that still didn't resolve the issue.

I attached the logs. I am not sure what trigged it.

Thanks for the help

embyserver.txt.crdownload

Posted

Hi there, what makes you think it stopped syncing?

Posted (edited)

My watch history isn't updating on Trakt.

 

The last update on Trakt was yesterday but I watched something/updated a watch state today.

I use trakt mainly to track the things I watch it serves as a back up of watch states in emby.

 

 

The state updates in normally a few minutes... It's been about an hour since I watched the episode.

Edited by jayfizze
Posted
Quote

The last update on Trakt was yesterday but I watched something/updated a watch state today.

Hi there, please provide a specific example. Thanks.

Posted

Last thing watched on emby is Chainsawman was watched today at about 12pm

Last thing showing watched on Trakt is YuYu Hakusho was watched last night at about 11pm.

Screenshot_20250312-141135.png

Screenshot_20250312-141123.png

Posted

OK please attach the emby server log from when that happened as a plain text (.txt file). Thanks.

Posted (edited)
21 minutes ago, Luke said:

OK please attach the emby server log from when that happened as a plain text (.txt file). Thanks.

 

 

I have tried getting a new PIN but that did not work, I am a VIP sub on Trakt so I don't think the account is disabled because of too many pulls. 

 

It stopped today right before i did the update to the latest emby, i figued the update would fix it but it did not.

 

I run emby in docker, if that makes any difference

embyserver.txt

Edited by jayfizze
Posted
Quote

so I don't think the account is disabled because of too many pulls. 

Maybe it is? They are sending back a forbidden response, so we need to know why.

Posted

Hi! I have this issue too.
Yesterday works well but today fails to sync to collection and watched statuses...

🫠

briancameron
Posted

Same issue.  Trakt not syncing with emby.  Can't re-authorize.

Posted

Issue is resolved. Trakt is now working, after i got a new pin.

  • Thanks 1
  • 2 weeks later...
scottymeuk
Posted

This seems to be happening again. Getting 403 even with a new pin

  • Agree 1
Posted

Happens to me too with new PIN..

Posted

Same, failing for me too. New PINs don't work either.

Kyrunner
Posted

Me also changed pin Line 4615: 2025-03-21 03:27:37.722 Error TaskManager: Error
    Line 4616:     *** Error Report ***
    Line 4657: 2025-03-21 03:28:43.226 Error Trakt: Error syncing trakt data for user kyrunner
    Line 4658:     *** Error Report ***
    Line 4681: 2025-03-21 03:28:43.227 Error TaskManager: Error
    Line 4682:     *** Error Report ***
    Line 4744: 2025-03-21 03:31:06.355 Error Trakt: Exception handled sending status update
    Line 4745:     *** Error Report ***

Posted

Similar problem here. Track 3.7.8.0

2025-03-21 14:40:15.349 Info TaskManager: Export Library to Trakt Failed after 0 minute(s) and 1 seconds
2025-03-21 14:40:22.636 Info Server: http/1.1 POST https://host2:8920/emby/ScheduledTasks/Running/515a9565f7d0dfe5f375d92153f7c25d?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=38d34b26-351a-4951-a829-7447f45d3254&X-Emby-Client-Version=4.8.11.0&X-Emby-Token=x_secret1_x&X-Emby-Language=fr. Source Ip: host1, UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0
2025-03-21 14:40:22.637 Info Server: http/1.1 Response 204 to host1. Time: 1ms. POST https://host2:8920/emby/ScheduledTasks/Running/515a9565f7d0dfe5f375d92153f7c25d?X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=38d34b26-351a-4951-a829-7447f45d3254&X-Emby-Client-Version=4.8.11.0&X-Emby-Token=x_secret1_x&X-Emby-Language=fr
2025-03-21 14:40:22.637 Info TaskManager: Executing Export Library to Trakt
2025-03-21 14:40:22.637 Info Trakt: Syncing user data for Maison
2025-03-21 14:40:23.738 Info HttpClient: POST https://api.trakt.tv/oauth/token
2025-03-21 14:40:23.752 Error Trakt: Error in SyncUserData
	*** Error Report ***
	Version: 4.8.11.0
	Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk -noautorunwebapp
	Operating system: Linux version 4.4.302+ (root@build5) (gcc version 12.2.0 (GCC) ) #72806 SMP Thu Sep 5 13:44:44 CST 2024
	Framework: .NET 6.0.36
	OS/Process: x64/x64
	Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /var/packages/EmbyServer/var
	Application path: /volume1/@appstore/EmbyServer/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Forbidden
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at Trakt.Api.TraktApi.GetResponseFromTrakt(HttpRequestOptions options, String method, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.PostToTrakt(String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.SetRequestHeaders(HttpRequestOptions options, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.Api.TraktApi.GetFromTrakt[T](String url, TraktUser traktUser, CancellationToken cancellationToken)
	   at Trakt.ScheduledTasks.TraktUserSync.SyncMovies(User user, TraktUser traktUser, TraktApi traktApi, ISplittableProgress`1 progress, CancellationToken cancellationToken)
	   at Trakt.ScheduledTasks.TraktUserSync.SyncUserData(User user, TraktUser traktUser, TraktApi traktApi, ISplittableProgress`1 progress, CancellationToken cancellationToken)
	   at Trakt.ScheduledTasks.SyncLibrary.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2025-03-21 14:40:23.752 Error TaskManager: Error
	*** Error Report ***
	Version: 4.8.11.0
	Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk -noautorunwebapp
	Operating system: Linux version 4.4.302+ (root@build5) (gcc version 12.2.0 (GCC) ) #72806 SMP Thu Sep 5 13:44:44 CST 2024
	Framework: .NET 6.0.36
	OS/Process: x64/x64
	Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /var/packages/EmbyServer/var
	Application path: /volume1/@appstore/EmbyServer/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Forbidden
	   at Trakt.ScheduledTasks.SyncLibrary.Execute(CancellationToken cancellationToken, IProgress`1 progress)
	   at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2025-03-21 14:40:23.752 Info TaskManager: Export Library to Trakt Failed after 0 minute(s) and 1 seconds
Posted

Yeah it is not syncing for me. I have not tried changing the pin yet.

I'm posting on their side as well

Posted

Is ti because of new version of Trakt 3.7.8 ?

Posted
1 minute ago, MAX92 said:

Is ti because of new version of Trakt 3.7.8 ?

Fails for me on earlier version, and latest. 

I'm pretty confident this is a result of the Trakt API token changes that came about on the 20th March, that Trakt has been informing users about...

https://github.com/trakt/trakt-api/discussions/495
 

Quote

⚠️ Starting on March 20, 2025, an OAuth access_token will expire in 24 hours, instead of 3 months.

All API developers have been emailed twice with this info.

 

Seems like the smoking gun, since this started failing today, and changes were implemented yesterday.
 

Posted

Currently all requests to Trakt are sending back a forbidden response. This is what happened last week to many apps, and several hours later Trakt resolved it on their end.

Posted

I don't expect them to resolve it.  They made changes to their API.

Has that changed been implemented for us?

  • Agree 1
Posted
49 minutes ago, jayfizze said:

I don't expect them to resolve it.  They made changes to their API.

Has that changed been implemented for us?

Yes it has.

  • Thanks 1

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