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'.
.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם
?רוצה לדרג או להוסיף פריט אל רשימה
?לא חבר אתר
תגובה מאת Ali
ב-אפריל 19, 2018 ב-10:57לפני חצות יום
same problem
תגובה מאת Stephan Schück
ב-אפריל 19, 2018 ב-1:32אחרי חצות יום
Also with show ID 62264 in season one:
תגובה מאת LordMike
ב-אפריל 19, 2018 ב-1:35אחרי חצות יום
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
תגובה מאת Travis Bell
ב-אפריל 19, 2018 ב-2:05אחרי חצות יום
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.
תגובה מאת Travis Bell
ב-אפריל 21, 2018 ב-6:04אחרי חצות יום
Can you let me know if you see anymore of these?
תגובה מאת Stephan Schück
ב-אפריל 23, 2018 ב-3:35לפני חצות יום
Works now for me with the tv show I had issues. Thx.
תגובה מאת horse315
ב-אפריל 26, 2018 ב-5:29לפני חצות יום
Hi! We receive nulls in credits.cast[].id of Friends show: curl "http://api.themoviedb.org/3/tv/1668?language=en&append_to_response=credits&api_key=API_KEY" and Band of Brothers: curl "http://api.themoviedb.org/3/tv/4613?language=en&append_to_response=credits&api_key=API_KEY"
תגובה מאת Travis Bell
ב-אפריל 26, 2018 ב-10:36לפני חצות יום
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.
תגובה מאת Ron Elemans
ב-אפריל 30, 2018 ב-6:49לפני חצות יום
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
תגובה מאת Travis Bell
ב-אפריל 30, 2018 ב-10:25לפני חצות יום
@betamagic Fixed (you might have to wait for the cache to expire.)
תגובה מאת Ron Elemans
ב-אפריל 30, 2018 ב-10:29לפני חצות יום
Thanks a lot, it's already live!
תגובה מאת Ron Elemans
ב-מאי 25, 2018 ב-8:58לפני חצות יום
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
תגובה מאת Travis Bell
ב-מאי 25, 2018 ב-9:54לפני חצות יום
@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.
תגובה מאת Ron Elemans
ב-מאי 25, 2018 ב-10:51לפני חצות יום
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.
תגובה מאת Travis Bell
ב-מאי 25, 2018 ב-11:01לפני חצות יום
Thanks, I just cleared Six Feet Under.