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
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط ticao2 🇧🇷 pt-BR
در تاریخ مه 19, 2020 ساعت 8:12 ب.ض
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.
پاسخ توسط Travis Bell
در تاریخ مه 19, 2020 ساعت 9:29 ب.ض
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.
پاسخ توسط butri71
در تاریخ مه 20, 2020 ساعت 6:11 ب.ض
Thanks @travisbell I'll keep reporting it the way you instructed in the future.
Cheers