The Movie Database Support

I have not been receiving tv episode stills lately. The values returns but it is always an empty array. Did I miss an announcement or change?

https://api.themoviedb.org/3/tv/91363/season/1/episode/2?api_key=API_KEY&append_to_response=credits,videos,images

7 replies (on page 1 of 1)

Jump to last post

@bronkula said:
TV Episode stills returning empty array
I have not been receiving tv episode stills lately. The values returns but it is always an empty array. Did I miss an announcement or change?
https://api.themoviedb.org/3/tv/91363/season/1/episode/2?api_key=API_KEY&append_to_response=credits,videos,images

Hmmm
I tested your URL and I think I got the images in the end.
https://api.themoviedb.org/3/tv/91363/season/1/episode/2?api_key=THE_KEY&append_to_response=credits,videos,images

air_date    "2021-08-18"
crew    […]
episode_number  2
guest_stars […]
name    "What If… T'Challa Became a Star-Lord?"
overview    "The rough-and-tumble space pirates known as the Ravagers abduct T’Challa instead of Peter Quill."
id  3062390
production_code ""
runtime 37
season_number   1
still_path  "/urF7o2y7sG6GB53R0krSk9krw0E.jpg"
vote_average    7.152
vote_count  79
credits 
cast    […]
crew    […]
guest_stars […]
videos  
results []
images  
stills  
0   
aspect_ratio    1.778
height  2160
iso_639_1   null
file_path   "/urF7o2y7sG6GB53R0krSk9krw0E.jpg"
vote_average    5.454
vote_count  3
width   3840
1   
aspect_ratio    1.778
height  1080
iso_639_1   "en"
file_path   "/nYi8xASA30NvnohsEbSikjp0SXj.jpg"
vote_average    0
vote_count  0
width   1920

That shows a still path, but the stills array is empty.

@bronkula said:
That shows a still path, but the stills array is empty.

Sorry, English is not my native language.
I don't understand what you mean.
For me both images are available.
https://image.tmdb.org/t/p/original/urF7o2y7sG6GB53R0krSk9krw0E.jpg
https://image.tmdb.org/t/p/original/nYi8xASA30NvnohsEbSikjp0SXj.jpg

Well... that's bad, because the array is empty on my site using my api_key. Is there possibly something i'm doing wrong? https://filmswith.com/tv/91363/1/2

@bronkula said:
Well... that's bad, because the array is empty on my site using my api_key.

Now I understand.
You are talking about the still array of your page on your website.
You're not talking about the still array from the JASON page response from the TMDb API server.
Since you posted your API Request, I imagined you had tested it in a tab in your browser.
But he didn't test it.
Well, if you test it you will see that the information is there.
https://api.themoviedb.org/3/tv/91363/season/1/episode/2?api_key=THE_KEY&append_to_response=credits,videos,images

Is there possibly something i'm doing wrong? https://filmswith.com/tv/91363/1/2

Yes, something is certainly wrong.
Does this problem occur with all films and series or just with this one in your example specifically?
Did you develop the code for your page or is it a third-party plugin/template?

So I think I've narrowed it down.
The full url i'm calling is:
https://api.themoviedb.org/3/tv/91363/season/1/episode/2?api_key=API_KEY&language=en-US&include_adult=false&append_to_response=credits,videos,images
It appears that it is language=en-US that is the problem.
If this is included the api only returns an empty array.
Am I doing that wrong, or has that changed?

[edit] Also this seems to affect all shows. Not just this one.

@bronkula said:

So I think I've narrowed it down.
The full url i'm calling is:
https://api.themoviedb.org/3/tv/91363/season/1/episode/2?api_key=API_KEY&language=en-US&include_adult=false&append_to_response=credits,videos,images
It appears that it is language=en-US that is the problem.
If this is included the api only returns an empty array.
Am I doing that wrong, or has that changed?

[edit] Also this seems to affect all shows. Not just this one.

See the NOTE on this page.
https://developer.themoviedb.org/reference/tv-series-images

Note

If you have a language specified, it will act as a filter on the returned items.
You can use the include_image_language param to query additional languages.

That is, using the "&append_to_response=images" resource:

If you do not specify/use the "&language=" filter
then text information will be provided in the default language,
and images will be provided either all, all languages and/or no language (null).

But...

If you specify/use the "&language=" filter with the "&append_to_response=images" resource
then you must also specify the languages of the images you want using "&include_image_language="

For example
&include_image_language=null,pt,en,fr
In this case, use null for no language, normally backdrops do not have a language, and more Portuguese, English and French.
Separating with a comma all come from these languages.
You can add other languages you want.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

ಲಾಗಿನ್