Hey there,
I've been using your API for about three days now. I am/was using the field 'backdrop_path' to display backdrop images when listing an overview of TV shows (/search/tv) and a specific TV show (/tv/:id). Today, I get a consistent null value for the backdrop_path field on the /tv/:id route and an occasional null on the same field on the search route. I've looked to see for changes in both the data and the API but cannot seem to find anything. Is there an error on the API or is this a problem on my part?
An example being:
http://api.themoviedb.org/3/tv/1396?api_key= (Breaking Bad, null value) http://api.themoviedb.org/3/tv/46648?api_key= (True Detective, null value)
http://api.themoviedb.org/3/search/tv?api_key= &query=breaking+bad (Breaking Bad, null value) http://api.themoviedb.org/3/search/tv?api_key= &query=True+detective (True Detective, non-null value)
Thanks for reading and responding =].
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 July 15, 2015 at 10:30 AM
Sorry about that. Fix for this is now live, you'll just have to wait for the items to expire from the cache (~6 hours).
Cheers.
Reply by ldebruijn
on July 15, 2015 at 11:03 AM
Awesome, thanks for the swift reply and fix!
Reply by DanielMiranda5
on October 1, 2020 at 11:44 PM
"The Boys"(TV Show) backdrop is returning "null" today... Could any Dev please fix it? My app is getting "Runtime Error" when trying to get item 1 from the API. Why does it happen? Isn't recommended to use backdrops_path? Should I remove all of them to not get this kind of issue?
Reply by Travis Bell
on October 1, 2020 at 11:58 PM
I'm not seeing any issues with The Boys (id: 76479):
Request
Response
Reply by DanielMiranda5
on October 2, 2020 at 12:27 AM
I was getting this:
Just right before posting here... My app is still getting Runtime Error for "The Boys".
Reply by Travis Bell
on October 2, 2020 at 12:33 AM
There’s no budget for TV shows, so it looks like that’s a movie call.
Reply by DanielMiranda5
on October 2, 2020 at 12:39 AM
Check the "Episode Runtime", it's null...
The same is happening to "Elite"...
id: 76669
I'm not having the same trouble for my others TV Show... They are all fine and I'm using the same method for calling it...
Reply by Travis Bell
on October 2, 2020 at 12:56 AM
I don’t know what request you’re making. It if you look at the response you posted, the title of the item is Deceived, so that’s definitely a movie.
Reply by DanielMiranda5
on October 2, 2020 at 1:11 AM
I'm using this JSON request: https://api.themoviedb.org/3/tv/**76669**?api_key=THE_KEY&language=pt-BR
My app returns the JSON and decodes it, just changing the iD for each TV Show... When I request "Supernatural" for example, using the same method, it works everthing fine.
My app decodes this JSON and returns:
As you can see, episode_run_time is just fine...
May that be a problem with my API key?
Reply by Travis Bell
on October 2, 2020 at 1:20 AM
Are you able to make a more verbose request like I did with cURL so that you can capture the response headers?
Reply by DanielMiranda5
on October 2, 2020 at 1:33 AM
I'm using the same method as in this:
https://developers.themoviedb.org/3/tv/get-tv-details
Using the Try it out you can see my problem happening... Could please simulate a request in this link for "The Boys" and verify it clicking on the link , you can try it with my API key, (don't really know if it is needed).
It is returning this link where I get the JSON from:
https://api.themoviedb.org/3/tv/76479?api_key=THE_KEY&language=pt-BR
If you look at the "episode_run_time in the JSON Explorer, you will see it has no value, it's empty...
I really don't know other way than that to make a request since I'm using Kodular.io to develop my App.
In you first comment, even with your request, this "episode_run_time" has an empty array if you take another look...
Reply by DanielMiranda5
on October 2, 2020 at 1:44 AM
Please, take a look in your first comment:
https://res.cloudinary.com/danmiranda/image/upload/v1601617452/w7gqwjrhnfrmf0etcghu.jpg
There's no problem in my request, yours is returning an empty array as well...
Reply by Travis Bell
on October 2, 2020 at 1:47 AM
Right, there’s no runtime entered. So what’s the problem?
It was removed by a user, as you can see here: https://www.themoviedb.org/tv/76479-the-boys/changes
Reply by DanielMiranda5
on October 2, 2020 at 1:54 AM
Is it possible to edit any content on TMDB, may I reedit it? Bacause my App is trying to get the value for this and as it was removed, it gives me a Runtime Error for trying to get this... that's my problem.
If it's possible I really don't know how to do it and I'm sorry for taking your time...
I did it! Thank you. I'm really sorry...
Does it take a time to update?
Reply by Travis Bell
on October 2, 2020 at 12:12 PM
Excellent.
Yes, the API caches data for up to 8 hours, so once the cache expires you’ll see the new data.