I am building a movie website with TMDB's API. I’ve noticed that movies like The Hobbit and Captain America: Brave New World appear twice in the database. It seems like this could be an error, and I wanted to bring it to attention. I post it here beacuse I couldn't find a mail og something for bugs.
you can see it in e.g. https://api.themoviedb.org/3/discover/movie?api_key=KEY&language=en-US&page=1&with_genres=28 and https://api.themoviedb.org/3/discover/movie?api_key=KEY&language=en-US&page=2&with_genres=28
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de superboy97
le 20 mars 2025 à 14h17
The 2 "The Hobbit" links point to the same movie entry (you can see it by looking at the Id value). This is the same for the 2 "Captain America: Brave New World" links.
The fact that this happen is generally due to the cache that is present on the API requests. Your application should be aware that this can happen.