Hi! On the people method birthday key is missing. For every not non existing data empty value is provided, but here key is omitted. https://api.themoviedb.org/3/person/59285?api_key=&language=en-US&append_to_response=images
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on August 29, 2017 at 11:01 AM
Good catch, I'll get this fixed later today.
Reply by Kantandane
on April 3, 2018 at 11:18 AM
Hi @travisbell ,
This a recurrent problem that I see : missing keys in json responses of the API. It's problematic (even if we can handle it with lines of code), because we have to handle multiple exceptions
Sometimes the key is missing, sometimes the value isn't complete (for the Birthday for example, sometimes I just get the year, not the complete date. Wouldn't be better to return Null in both cases ? :
For example, here is a People ID that doesn't return a Birthday key : 963118
Thx !
Reply by Travis Bell
on April 7, 2018 at 11:51 AM
Hi @Kantandane,
Good catch. I'll take another swing at this. I know why this is happening so it's just a matter of figuring out the best way to show the defaults. I have an open ticket for it here.
Reply by Travis Bell
on June 29, 2018 at 11:02 AM
This should be fixed by the way. Let me know if you see it again.