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
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de superboy97
pe data de 20 martie 2025 la ora 2:17 PM
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.