The Movie Database Support

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

4 replies (on page 1 of 1)

Jump to last post

Good catch, I'll get this fixed later today.

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 grin

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 ? :

  • if date isn't complete,
  • if the data is missing

For example, here is a People ID that doesn't return a Birthday key : 963118

Thx !

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.

This should be fixed by the way. Let me know if you see it again.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login