trakt-api: Incorrect results returned from shows/id/progress/watched
For some shows shows/id/progress/watched is occasionally returning incorrect results. For example, I have marked all the episodes of the show “Lucifer” (slug = “lucifer”, traktid = 98990) watched yet the API reports that I have only completed 29 of the 83 aired episodes.
Most of the time it returns the correct number of completed shows. I have seen this behavour a few times for various shows.


About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 3
- Comments: 20 (5 by maintainers)
And FYI, I have the same issue on another show (last watched 2 days ago). So it’s not really the last one I watched it’s really random. And it’s not missing like the last episode. For the first show it’s 5 episodes (all watched in a 2 weeks span) and for the other one it’s 4 episodes (2-3 week watch span). I watched other episodes in that same span from other shows that aren’t missing anything. What I mean is it’s not always the last watched episodes or show. Really random. Sometimes it’s only 1 show I didn’t watch in like a year or something.
I just pushed a potential fix to the API. I still couldn’t reproduce the problem, but I adjusted how some data is cached and I’m hoping that fixes the bug. Let me know!
Could be. I’ve looked it this issue several times in the last and never got anywhere since I can’t reproduce the issue. I can try again this week, so please let me know if you find any specific steps. Thanks!