Hey, this issue doesn't break anything for me but wanted to bring it to your attention that the changes API is returning null values for some an id and a null value for the adult field.
Here is the offending URL minus the API key: https://api.themoviedb.org/3/tv/changes?api_key=APIKEY&language=en-US&append_to_response=alternative_titles,content_ratings,credits,external_ids,images&include_image_language=en,null&start_date=2018-02-22&page=5&end_date=2018-02-25
And just in case it changes, I've pasted the results in a gist
My other question is, any idea why the results would be different when running the above URL without an end_date? Does this mean it's not including results from 2-25 if I use that end_date?
Thanks. Let me know if you have any questions.
映画やテレビ番組が見つかりませんか?ログインして作成してください。
このアイテムを評価したり、リストに追加したりしたいですか?
メンバーではありませんか?
Travis Bellからの返信
投稿:2018年02月26日 10:40 AM
Hi @heyoni,
With regards to the
id
beingnull
, not sure. That shouldn't happen. I'll have to take a look. With regards toadult
beingnull
, yes, that means the record has been deleted. That is by design.The default query without a specified
end_date
uses the current time. There's a 10 minute cache on the change methods it seems to me, so anywhere between the current time and 10 minutes ago.P.S. the change methods don't support any of those extra params you're using so there's not much point in passing them in
heyoniからの返信
投稿:2018年02月26日 7:04 PM
Whoops, you're right about those flags!
Found another one here: https://api.themoviedb.org/3/tv/changes?api_key=APIKEY&start_date=2018-02-24&page=8&end_date=2018-02-26
Is it helpful if I keep reporting new instances of this? Let me know!
horse315からの返信
投稿:2018年03月15日 4:43 PM
Hi, @travisbell ! We also get null in id field. Check several pages after 92 http://api.themoviedb.org:80/3/movie/changes?page=92&start_date=2018-03-07&api_key=xxx
horse315からの返信
投稿:2018年05月08日 11:25 AM
Hi! I've spotted
null
inid
andadult
again, item #23:Travis Bellからの返信
投稿:2018年05月08日 11:42 AM
Hi @horse315,
null
items can appear in the changes feeds from time to time. That is a different issue than @heyoni's credit id issue.The null items in the change feeds can be ignored.
horse315からの返信
投稿:2018年05月10日 10:34 AM
Is it a bug? Coz it violates spesc changes/get-movie-change-list . Unlike the
adult
field,id
is not marked as or nullTravis Bellからの返信
投稿:2018年05月10日 11:23 AM
Technically it's a bug yes but it's a low priority item for me to fix. It's an issue that is created when the item is deleted and not specific to the actual change lists.