I found this entry:
{'adult': False,
'backdrop_path': None,
'genre_ids': ['Drama'],
'id': 830366,
'original_language': 'ru',
'original_title': 'Thoughts in the forest',
'overview': 'A man comes to an isolated forest to confront his troubled relationship with his girlfriend and brother.',
'popularity': 0.6,
'poster_path': '/nM7Gajs2mQxykQdFIE8sj4Md5Vn.jpg',
'release_date': '2021-05-04',
'title': 'Thoughts in the forest',
'video': False,
'vote_average': 10,
'vote_count': 1}
where the genre_ids is not an integer. This messes up my code, as I have to keep adding exceptions and checking that the fields are what they are expected to be. Is there a regular maintenance of the MTDB database to guarantee that the fields contain the correct type of data? Thanks
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 Travis Bell
am 22. Juli 2021 um 12:24
That looks like something client side as a number of the values you have in your response are not values that we return on the API. For example:
We don't return
False
,None
integers forvote_average
, or an array of string genres.Request
Response
Antwort von BuBanGo
am 22. Juli 2021 um 13:15
I used the discover movie end:
I don't remember the page number, though.