Invalid TMDb IDs in Watchlist and History

Hello,

I’ve noticed that several items in both the watchlist and history are returning invalid TMDb IDs for one of the users of my app. I tried adding one of these items to my own watchlist/history, and it was fixed after being updated. However, when I added another item, it did not update, so I’m unsure if this issue always resolves itself automatically.

Here are the Trakt IDs I’ve identified:

  • 988180
  • 946800
  • 155571
  • 574544

These are all listed as movies, with older refresh dates ranging from a few months to up to 5 years in the case of 574544. Interestingly, I believe 574544 is actually a TV show, but it’s stored in Trakt as a movie and doesn’t exist on TMDb as a movie.

Additionally, I have some items where I only have the invalid TMDb ID, as I didn’t log the corresponding Trakt ID:

  • movie-794552
  • movie-1154019
  • movie-716049
  • movie-1109347
  • movie-414452
  • show-126159

I suspect this happens when TMDb returns an invalid ID, but I cannot figure out why it would return an invalid ID other than if the resource has been deleted and Trakt still stores it.

Looking at these IDs, they all seem to be pages that have been removed from TMDB. We don’t automatically remove pages when TMDB removes them, to avoid losing users data.
When users report those pages, I try merging them with pages that have the correct IDs on TMDB. If the item isn’t allowed on TMDB, we usually remove it.
I’ll check these IDs you listed and merge/remove them accordingly.

EDIT: Done. Let us know if you find any others. You can report them in the website if you want. There is a report button on every movie, show, season and episode page. Thanks!

1 Like

Thank you.