The Movie Database Support

quant je cherche un acteur avec l'api le profile_path est vide

when I am looking for an actor with the API the profile_path is empty

ex: https://api.themoviedb.org/3/person/2185139?api_key=####

adult   false
also_known_as   []
biography   ""
birthday    null
deathday    null
gender  0
homepage    null
id  2185139
imdb_id null
known_for_department    "Crew"
name    "Actor"
place_of_birth  null
popularity  0.6
profile_path    null

Thank you for your reply

6 replies (on page 1 of 1)

Jump to last post

Hi @thorgal-06,

That person doesn't have a profile image added, as you can see here: https://www.themoviedb.org/person/2185139-actor

Cheers.

Ok sorry i made a mistake !

but I have another problem when I invoke movie credits for the actors I only have truncated information

resultat :

id cast -- ---- 619592 {@{adult=False; gender=2; id=2461; known_for_department=Acting; name=Mel Gibson; original_name=Mel Gibson; popularity=12,878; profile_path=/uHldNnlyi73x9hoZB…

for the film "force of nature" id 619592

@thorgal-06 said:

Ok sorry i made a mistake !

No worries.

but I have another problem when I invoke movie credits for the actors I only have truncated information

619592 {@{adult=False; gender=2; id=2461; known_for_department=Acting; name=Mel Gibson; original_name=Mel Gibson; popularity=12,878; profile_path=/uHldNnlyi73x9hoZB…

I'm not following, what's the issue? That looks like a programming issue, and not something I can really help with.

OK I had to display all the properties of the object

thank you another question how to activate the adult parameter in the results!

@thorgal-06 said:

OK I had to display all the properties of the object

thank you another question how to activate the adult parameter in the results!

Use &include_adult=true
In addition, I believe that in your profile this option needs to be enabled.
In this link put Yes in the option.
https://www.themoviedb.org/settings/account

Ok thanks !

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