PlexTraktSync: Trakt API Limits: 420 Account Limit Exceeded for list with 100 items

Confirmation

  • I have read the README.md on the project homepage
  • I have checked if an identical issue or discussion already exists
  • I have tried downgrading to find version that can be used as a workaround

The problem

Possible linked to #2159

Using version 0.33.0

Although it does eventually work I get a lot of warnings and errors

HTTPSConnectionPool(host=`api.trakt.tv' , port=443): Read timed out

It tried two times then carried on

Then I get loads of

Bad Response - Response could not be parsed for plextraktsync.queue.TraktBatchWorker.add_to_collection()

Other responses succeed but some get

Error: Bad Response - Response could not be parsed
Details: Unable to parse JSON: Expecting value: line 1 column 1 (char 0)
Last call: plextraktsync.queue.TraktBatchWorker.add_to_collection =((defaultdict(<class followed by values for program
Got exception while working on <plextraktsync.queue.TraktBatchWorker.TraktBatchWorker object at 0x2c8082e2a0>: API didn't respond properly, script will abort now. Please try again later

Then it succeeds in some more and others get the above error

Think the last run I did was last week on version 0.32.7 and no issues there so something has either changed in the script or the API

Steps to reproduce the behavior

run plextraktsync sync

Error trace / logs

Expected behavior

no errors an everything sync

Inspect of problematic items

Workarounds

No response

Config file contents

Install method

pipx

Version

0.33.0

Python Version

3.12.8

Plex Server Version

1.41.4.9380-34f46d871

Operating System and Version

termux 0.119.0 running on android tv 9.1.2

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 30

Commits related to this issue

Most upvoted comments

Even if collections and watchlists and such are now limited on the Trakt end and I have to turn them off, as far as I am aware this project is still the only viable free way to deal with scrobbling.

Obviously nobody is owed anything and passion projects are subject to the whims of the passionate, but I’m sure hoping this piece at least continues to be maintained.

At least until Trakt breaks that, too.

@blazer380 the limit for free users of trakt is a hard limit of 100 total shows/movies collected, you can no longer go above 100 as long as you are a free user.

So, it’s likely this update:

but I don’t understand what rate limit of 100 I’m hitting when I’m just registering collection?

I can have only 100 items in trakt collection? that’s absurd!

I created a fix for this issue :

Tested successfully on a small library. Can anyone try it ?

Can confirm that disabling “plex_to_trakt” collection solved the issue while using a free account.

Seems that trakt is slowly killing himself, so i moved my plex scrobbling to simkl + bought lifetime plex license, it would cost x2 in april Simkl also supports scrobbling through tautilli. Only thing it lacks now is watched percentage, but it’s not really widely used anyway

Have lots of errors regadring api limits lately, though i have disabled collection features month ago Image

Image

I disabled plex_to_trakt: collection setting and it runs without error and everything I have watched still syncs