It seems like the API is returning empty results for some movies when it should return actual results.
Here's an example:
This works: https://api.themoviedb.org/3/movie/550/images?api_key=###.
This doesn't: https://api.themoviedb.org/3/movie/63492/images?api_key=###
The second movie, What's Your Number, has lots of images that should be displayed when using that call, but it doesn't work. Any help?
I've read this following topic, but I'm not making any calls with a language filter: http://www.themoviedb.org/talk/508ecd2f19c295550b0000ba. Curiously, though, it does work when adding a language parameter. Shouldn't it return all images when not specifying the language?
Не можеш да нађеш филм или серију? Пријави се да додаш.
Желите ли да оцените или додате ову ставку у листу?
Нисте члан?
Одговор од Travis Bell
дана 29. новембар 2012. у 10:35 AM
Are there any more cases of this that you guys are aware of? Everything reported is back to working at the moment.
Hosam, this call by the way:
Will only include images marked as 'en' since you're specifying the language param. This is exactly how it's designed. Specifying this param acts as a filter.
Is an open ended image call. This is how the API has always worked and is designed. It's the same as just calling:
I'm still considering a
image_language
param, but for now I want to get this bug fixed but without being able to see it it's hard for me to find.Одговор од Travis Bell
дана 29. новембар 2012. у 5:41 PM
Aha! I figured it out. Ok, I'll have the fix for this pushed out later today hopefully.
Одговор од Michell Bak
дана 29. новембар 2012. у 5:45 PM
Great news, Travis! Thanks for the help.
Одговор од Travis Bell
дана 29. новембар 2012. у 6:20 PM
Ok, so the cause of the empty results should be live. Assuming there isn't another bug lingering, the empty results came from people not specifying a value for language. Example:
This would cache the image response as a 'en' call but it isn't. The ?language param is only kept around now if it's actually got a value. I have seen some apps do this before. They specify all the params and then only fill in the values based on the request their user actually makes.
There could still be some cached responses, but within the next ~24 hours, these empty responses should go away. If they don't, make sure to let me know.
Одговор од hosam
дана 29. новембар 2012. у 6:22 PM
thanks travis really appreciate it :). Well done man!
Одговор од hosam
дана 03. децембар 2012. у 9:53 PM
Travis you can mark that topic as closed because it is fixed. I tried numerous movies and never got any issues so far
Одговор од emmaqian
дана 20. јануар 2013. у 3:32 PM
I still see empty result on some movies. For example,
http://api.themoviedb.org/3/movie/11255/images?api_key=###