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.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on February 26, 2018 at 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
Reply by heyoni
on February 26, 2018 at 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!
Reply by horse315
on March 15, 2018 at 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
Reply by horse315
on May 8, 2018 at 11:25 AM
Hi! I've spotted
null
inid
andadult
again, item #23:Reply by Travis Bell
on May 8, 2018 at 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.
Reply by horse315
on May 10, 2018 at 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 nullReply by Travis Bell
on May 10, 2018 at 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.