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
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von superboy97
am 20. März 2025 um 14:17
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.