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
Nemôžeš nájsť film alebo seriál? Prihlás sa a pridaj ho.
Chcete ohodnotiť alebo pridať túto položku do zoznamu?
Nie ste členom?
Odpoveď od superboy97
dňa 20. marec, 2025 o 2:17PM
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.