When I query the latest movie using /3/movie/latest, and then try to get the basic info using the TMDB id returned: /3/movie/{the TMDB id that was returned} I get back: {u'status_code': 6, u'status_message': u'Invalid id - The pre-requisite id is invalid or not found'}
However, if I use the imdb id, it seems to be working. If their is such a TMDB id, why would the lookup by that id fail? This seems like a bug.
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Dale
el 22 de julio de 2013 a las 05:53
It might be that someone searched for that ID before the cache server cached it. Wait for 24 hours when the cache is flushed, I think its 24 hours.
Dale.
Contestado por Travis Bell
el 22 de julio de 2013 a las 10:18
Hi johnb003,
The current id 208983 (as of 8:19 AM MST this morning) seems to be returning data:
Do you have another example?
It is indeed like what Dale said though. 404 pages are not supposed to be cached but there is clearly a bug lurking around there somewhere that is causing them to be.
Contestado por johnb003
el 22 de julio de 2013 a las 21:01
So here's what I get from my python shell, note the id returned, and passed in.
Contestado por Dale
el 23 de julio de 2013 a las 03:19
Yea I have checked the API still needs some time to clear it's cache. Travis might be able to help it alone.
Dale/
Contestado por johnb003
el 24 de julio de 2013 a las 17:00
Clearing the cache seems like a short term solution. Perhaps ids > latest can be prevented from caching at all.
Contestado por Travis Bell
el 24 de julio de 2013 a las 17:41
That's how it's supposed to work but like I mention above, there's a bug in there somewhere that isn't actually working.
Contestado por luigi.coluccio
el 31 de julio de 2013 a las 05:40
Hi, the issue is still open.
this call doesn't work. http://api.themoviedb.org/3/movie/4258?api_key=APY_KEY
{"statuscode":6,"statusmessage":"Invalid id - The pre-requisite id is invalid or not found"}
this call work: http://api.themoviedb.org/3/movie/04258?api_key=APY_KEY
the ID field must be not less 5 numbers now?
Contestado por Travis Bell
el 31 de julio de 2013 a las 09:05
With regards to Scary Movie 5 (4258), please see this thread: https://www.themoviedb.org/talk/51f811c819c2953a8928df8c
Contestado por luigi.coluccio
el 31 de julio de 2013 a las 09:14
Ah ok. Thanks for the quickly reply. Regards
Contestado por matthewbuchanan
el 18 de septiembre de 2013 a las 07:30
Travis, any update on this caching bug? It still appears to be an issue; I’m fielding queries from our members frustrated that new films they add to TMDb aren’t immediately available for import via the API, as they used to be under 2.1.
Contestado por Travis Bell
el 18 de septiembre de 2013 a las 10:05
Hey guys,
I've created a new ticket for this here. I'm in the middle of some feature work that needs to get done and I don't imagine finding time to look at anything else until it's completed in ~2 weeks. I'll make sure to take a look at it then.
Cheers.
Contestado por matthewbuchanan
el 18 de septiembre de 2013 a las 12:33
Thanks Travis.
Contestado por Travis Bell
el 11 de octubre de 2013 a las 13:24
The fix for this was just pushed live. Already cached items won't show any difference but as they expire, no new invalid ids should be cached.Had to revert it for the time being, I will work on this next week.
Contestado por letterboxd
el 13 de octubre de 2013 a las 20:23
Oh no! I feel your pain, Travis. Caching is a harsh mistress. I wish you luck!