I've come across several unique key failures when calling the People/Get Images API due to content duplication.
For example int he following call
https://api.themoviedb.org/3/person/60073/image
we receive the same "file_path": "/r8ZzoEYaoj7BCgDHRE1WDMYMvFW.jpg" several times.
This problem occurs across other People.
What is the best way to solve it? Shall I report it every instance? Can you fix your system to prevent to assign duplication across some key fields such as Ids, file_path and so on...
For that specific API, you don't have an Id field available meaning that we are forced to use file_path as unique identifier only that some times it is not unique due to duplication.
Thanks
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 ticao2 🇧🇷 pt-BR
le 19 mai 2020 Ă 20h12
I made the API request for this ID you entered, 60073.
https://api.themoviedb.org/3/person/60073/images?api_key=THE_KEY
I didn't find any repetition of this path that you reported.
"file_path": "/r8ZzoEYaoj7BCgDHRE1WDMYMvFW.jpg"
I found it only once in the answer. #31
And another 34 different paths.
Can you post here some examples of API Request with this problem?
I didn't understand what you're saying.
I believe that due to translation problems of Google Translate.
RĂ©ponse de Travis Bell
le 19 mai 2020 Ă 21h29
Hey @butri71, I did see the duplicate image on Brie Larson's page. Hard to say why the duplicates got added the way they did but in any case I removed the one here. The best thing to do as you find more is to use the "Report" link on the items page, and then a moderator can remove the duplicate image.
RĂ©ponse de butri71
le 20 mai 2020 Ă 18h11
Thanks @travisbell I'll keep reporting it the way you instructed in the future.
Cheers