The Movie Database 지원

Hello,

I'm encountering an issue with the Season Details API endpoint (https://api.themoviedb.org/3/tv/2316/season/0), where crew data for some episodes shows two different object structures for crew members. Specifically, Episode 30 of Season 0 from "The Office" returns the following for the crew array:

"crew": [
    {
        "department": "Writing",
        "job": "Writer",
        "credit_id": "52573091760ee3776a342426",
        "adult": false,
        "gender": 0,
        "id": 1225966,
        "known_for_department": "Writing",
        "name": "Jonathan Hughes",
        "original_name": "Jonathan Hughes",
        "popularity": 0.832,
        "profile_path": null
    },
    {
        "department": "Writing",
        "job": "Writer",
        "credit_id": "525730a1760ee3776a343728",
        "adult": false,
        "gender": 0,
        "id": 1230853,
        "known_for_department": "Writing",
        "name": "Nate Federman",
        "original_name": "Nate Federman",
        "popularity": 1.224,
        "profile_path": null
    },
    {
        "job": "Director",
        "department": "Directing",
        "person_id": "5aa23117c3a36829b0006a04",
        "credit_id": "63314514293835009111309d"
    }
]

The first two contain all the expected fields, as outlined in the TMDb documentation. The last one has a much simpler object structure that lacks many of the documented fields and uses a string ("person_id") instead of an integer ("id") for identification.

Additionally, the Episode Details endpoint (/tv/{series_id}/season/{season_number}/episode/{episode_number}) doesn’t include this director role at all, only listing the two writers in the crew array.

Is this an intentional design, or could this be a bug with the API? If it is intentional, is there a way to ensure consistency in the returned data? Any guidance would be greatly appreciated. Also sorry if this was brought up before. I couldn't find anything related to this in the forum.

Thank you!

4 댓글 (1 / 1)

Jump to last post

i tried with same endpoint on postman and return as should be

"crew": [
    {
        "department": "Writing",
        "job": "Writer",
        "credit_id": "52573091760ee3776a342426",
        "adult": false,
        "gender": 0,
        "id": 1225966,
        "known_for_department": "Writing",
        "name": "Jonathan Hughes",
        "original_name": "Jonathan Hughes",
        "popularity": 1.631,
        "profile_path": null
    },
    {
        "department": "Writing",
        "job": "Writer",
        "credit_id": "525730a1760ee3776a343728",
        "adult": false,
        "gender": 0,
        "id": 1230853,
        "known_for_department": "Writing",
        "name": "Nate Federman",
        "original_name": "Nate Federman",
        "popularity": 0.44,
        "profile_path": null
    },
    {
        "job": "Director",
        "department": "Directing",
        "credit_id": "6249ea4b9ba86a0063a0ac56",
        "adult": false,
        "gender": 2,
        "id": 84416,
        "known_for_department": "Writing",
        "name": "Gene Stupnitsky",
        "original_name": "Gene Stupnitsky",
        "popularity": 3.356,
        "profile_path": "/xAgtuSwjc8t7K4Z7AquN6a0wD0G.jpg"
    },
    {
        "job": "Director",
        "department": "Directing",
        "credit_id": "6249ea53a3b5e6004fb18a5e",
        "adult": false,
        "gender": 2,
        "id": 84417,
        "known_for_department": "Writing",
        "name": "Lee Eisenberg",
        "original_name": "Lee Eisenberg",
        "popularity": 2.88,
        "profile_path": "/qxA2eLl3AmBKfXqeCQy7RDlZSkE.jpg"
    }
],

Hmm, I still get the same result even on Postman. It's the same object for episodes 30-33. I just looked it up and it seems all 4 are pointing to Kelly Cantley-Kashima. I also noticed that the "Directed by" field is empty on the season page of TMDb instead of the usual "No director has been added.". Funny enough, if you open the "Full Cast & Crew" Kelly Cantley-Kashima is listed as director (but still missing through the API - https://api.themoviedb.org/3/tv/2316/season/0/episode/30).

@Titus040 said:

Hmm, I still get the same result even on Postman. It's the same object for episodes 30-33. I just looked it up and it seems all 4 are pointing to Kelly Cantley-Kashima. I also noticed that the "Directed by" field is empty on the season page of TMDb instead of the usual "No director has been added.". Funny enough, if you open the "Full Cast & Crew" Kelly Cantley-Kashima is listed as director (but still missing through the API - https://api.themoviedb.org/3/tv/2316/season/0/episode/30).

ow thats the problem, i tried id and same result with you

Don't know if this helps, but I found another similar issue for Parks and Recreation. This time, some objects in the cast array are different.

Season 5 - Episode 11 (https://api.themoviedb.org/3/tv/8592/season/5)

{
    "episode_count": 1,
    "person_id": "5e6ea13fcabfe40015154140",
    "character": "Görkem",
    "credit_id": "5e6ea13fcabfe40015154152",
    "order": 916
}

Season 7 - Episode 7 (https://api.themoviedb.org/3/tv/8592/season/7)

{
    "episode_count": 1,
    "person_id": "58ee434c925141687000b482",
    "character": "Jennifer",
    "credit_id": "5b08841c0e0a262fae000059",
    "order": 641
}

찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.

전체

s 검색 바 띄우기
p 프로필 메뉴 열기
esc 열린 창 닫기
? 키보드 단축키 창 열기

미디어 페이지

b 돌아가기
e 편집 페이지로 이동

TV 시즌 페이지

(우 화살표) 다음 시즌으로 가기
(좌 화살표) 이전 시즌으로 가기

TV 에피소드 페이지

(우 화살표) 다음 에피소드로 가기
(좌 화살표) 이전 에피소드로 가기

모든 이미지 페이지

a 이미지 추가 창 열기

모든 편집 페이지

t 번역 선택 열기
ctrl+ s 항목 저장

토론 페이지

n 새 토론 만들기
w 보기 상태
p 공개/비공개 전환
c 열기/닫기 전환
a 활동 열기
r 댓글에 글쓰기
l 마지막 댓글로 가기
ctrl+ enter 회원님의 메세지 제출
(우 화살표) 다음 페이지
(좌 화살표) 이전 페이지

설정

이 항목을 평가하거나 목록에 추가할까요?

로그인