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 =].
Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.
Want to rate or add this item to a list?
Not a member?
Odpowiedź użytkownika Travis Bell
15 lipca 2015 o godz. 10:30AM
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.
Odpowiedź użytkownika ldebruijn
15 lipca 2015 o godz. 11:03AM
Awesome, thanks for the swift reply and fix!
Odpowiedź użytkownika DanielMiranda5
1 października 2020 o godz. 11:44PM
"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?
Odpowiedź użytkownika Travis Bell
1 października 2020 o godz. 11:58PM
I'm not seeing any issues with The Boys (id: 76479):
Request
Response
Odpowiedź użytkownika DanielMiranda5
2 października 2020 o godz. 12:27AM
I was getting this:
Just right before posting here... My app is still getting Runtime Error for "The Boys".
Odpowiedź użytkownika Travis Bell
2 października 2020 o godz. 12:33AM
There’s no budget for TV shows, so it looks like that’s a movie call.
Odpowiedź użytkownika DanielMiranda5
2 października 2020 o godz. 12:39AM
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...
Odpowiedź użytkownika Travis Bell
2 października 2020 o godz. 12:56AM
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.
Odpowiedź użytkownika DanielMiranda5
2 października 2020 o godz. 1:11AM
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?
Odpowiedź użytkownika Travis Bell
2 października 2020 o godz. 1:20AM
Are you able to make a more verbose request like I did with cURL so that you can capture the response headers?
Odpowiedź użytkownika DanielMiranda5
2 października 2020 o godz. 1:33AM
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...
Odpowiedź użytkownika DanielMiranda5
2 października 2020 o godz. 1:44AM
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...
Odpowiedź użytkownika Travis Bell
2 października 2020 o godz. 1:47AM
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
Odpowiedź użytkownika DanielMiranda5
2 października 2020 o godz. 1:54AM
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?
Odpowiedź użytkownika Travis Bell
2 października 2020 o godz. 12:12PM
Excellent.
Yes, the API caches data for up to 8 hours, so once the cache expires you’ll see the new data.