Поддержка The Movie Database

Hi,

Using GET /tv/{tv_id}/credits for Westworld season 1 episode 3 I am getting nulls for all 'id' in the cast array. The definition for the object says id for cast should return' integer', not 'integer or null'.

21 ответов (на странице 1 из 2)

Jump to last post

Следующая страницаПоследняя страница

same problem

https://api.themoviedb.org/3/tv/63247/credits?api_key=####

Also with show ID 62264 in season one:

{
  "crew": [
    {
      "credit_id": "551ff0129251415c7a0018f0",
      "department": "Production",
      "gender": 1,
      "id": null,
      "job": "Casting",
      "name": "Lauren Grey",
      "profile_path": null
    },
    {
      "credit_id": "551ff0529251415c87001939",
      "department": "Directing",
      "gender": 2,
      "id": null,
      "job": "Director",
      "name": "Sam Raimi",
      "profile_path": "/uEAaCUJzyMI8N5mOVyLtaOPKoEf.jpg"
    }
  ],
  "id": 65657
}

On a related note. What does the "optional" bit mean, in the API documentation. If nullables are specified as " .. or null".. I don't get the "optional" bit.?

Pic: https://github.com/LordMike/TMDbLib/issues/269#issuecomment-382818504

Hey guys,

I'll take a look at this and see why the id is not being returned properly.

@LordMike Well, technically the field isn't optional... it's just the default state of fields when you create the mocked response. In TMDb's case, if a field is showing up in the schema, it's "required". Where by "required" simply means always included.

Can you let me know if you see anymore of these?

Works now for me with the tv show I had issues. Thx.

Hi @horse315,

Both of those series have been fixed. You might not see the changes until the cached items expire (within 8 hours).

Let me know if you see any more.

If have a very similar problem (null id's for cast persons) with this one: https://api.themoviedb.org/3/tv/60802/season/1?api_key=API_KEY&append_to_response=credits

@betamagic Fixed (you might have to wait for the cache to expire.)

Thanks a lot, it's already live!

This issue re-appears a lot, if I look at the recent crash reports of Movie Explorer. Unfortunately, the reports don't include details about the show and season. One user contacted me, which resulted in this example: https://api.themoviedb.org/3/tv/46296/season/1?api_key=API_KEY&append_to_response=credits

@betamagic Spartacus will be fixed when the cache expires.

This bug only affects the series that were edited during a ~72 hour window in early April. Given the slowdown of reports (first one today in basically a month) I imagine we're close to getting them all.

If you see anymore let me know.

I just checked all comments of the 70 related crashlogs. One user detected, apparently after some trial-and-error, TV show 'Six Feet Under' as a problematic source.

Thanks, I just cleared Six Feet Under.

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти