So issue is that when I decode the name and rating and poster path everything is good and than when i tried to decode backdrop_path it says it doesn't have any value and when i change to page 2 of the populat tv JSON file backdrop_path works perfeclty fine. So i think there is an issue withe page 1 backdrop_path for tv/popular JSOn
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 ticao2 š§š· pt-BR
on June 8, 2020 at 2:21 PM
I suppose you made an API Request like this:
https://api.themoviedb.org/3/tv/popular?api_key=THE_KEY&language=en-US&page=1
The first result for me was "The Flash".
With this backdrop_path
https://image.tmdb.org/t/p/original/jC1KqsFx8ZyqJyQa2Ohi7xgL7XC.jpg
Can you inform or post here which backdrop_path is not working for you?
Reply by dp467
on June 8, 2020 at 2:23 PM
The whole first page backdrop_path is not working for me. I am trying to use it in xcode and giving me an error saying that data doesn't exist and when change the url to page 2 and try to fetch backdrop_path data it works perfectly
Reply by ticao2 š§š· pt-BR
on June 8, 2020 at 2:42 PM
I already understood that the ones on page 1 didn't work.
And that only those on page 2 were OK.
It remains to be seen whether:
1 - It is an error here from the TMDb API, which is sending you an error response especially
or
2 - It may be an error on your side, in your programming, in xcode.
And how should we proceed to find out where the error is?
First I did this same research, which I suppose you did.
And for me the backdrop_path on page 1 is working correctly.
https://image.tmdb.org/t/p/original/jC1KqsFx8ZyqJyQa2Ohi7xgL7XC.jpg
https://image.tmdb.org/t/p/original/sZb21d6EWKAEKZ9GrLQeMwX4cWN.jpg
https://image.tmdb.org/t/p/original/cD9PxbrdWYgL7MUpD9eOYuiSe2P.jpg
https://image.tmdb.org/t/p/original/lVVsPeqD4sQEBfRH9ELIlUQJibl.jpg
So I asked you to post here one of the backdrop_path on your first page, which is not working.
So, can you do this?
Reply by dp467
on June 8, 2020 at 2:47 PM
I can open those backdrop_path from link you have provided I have already tired that and see that work. so I think it might probelm with my programming but it works for page 1 onwards so i though that it was issue withe TMDb but i am not sure what the issue is if you wnat i can provide you my code and see whats wrong
Reply by ticao2 š§š· pt-BR
on June 8, 2020 at 2:53 PM
I don't think it will solve it because I don't know anything about xcode.
If the problem is in your programming, and I think so, then you better get help from programmers who know xcode.