The Movie Database-ondersteuning

This issue is related with language=en-US parameter, with this parameter in url some API endpoints return not empty overview (and that's correct) but requests (also with language=en-US parameter) to similar endpoints like favorite-movies or watchlist-movies give us null overview which is incorrect.

To reproduce it:

1) Get movie details (request below returns not empty overview for given language - CORRECT)

GET https://api.themoviedb.org/3/movie/550?api_key={{api_key}}&language=en-US

The same happens on the list of top-rated movies (ID: 550 - Fight Club is high on this list so it's easy to check it here)

GET https://api.themoviedb.org/3/movie/top_rated?api_key={{api_key}}&language=en-US

2) Add movie to favorites

POST https://api.themoviedb.org/3/account/{{account_id}}/favorite?api_key={{api_key}}&session_id={{session_id}}

{
  "media_type": "movie",
  "media_id": 550,
  "favorite": true
}

3) Get list of favorites and search for movie with id 550 (overview will be empty - INCORRECT)

GET https://api.themoviedb.org/3/account/{account_id}/favorite/movies?page=1&language=en-US&api_key={api_key}&session_id={session_id}

4) Get list of favorites without language=en-US parameter (it gives us not empty overview - CORRECT)

GET https://api.themoviedb.org/3/account/{account_id}/favorite/movies?page=1&api_key={api_key}&session_id={session_id}

4 antwoorden (op pagina 1 van 1)

Jump to last post

Hi @mkskurski Thanks for the report. I've created a ticket for this for me to look at here.

Just an update, this shouldn't be happening anymore. If you see it again, let me know.

I get the same error when I try to pull data from https://api.themoviedb.org/3/discover/movie.

my codes:
const req= await axios.get("https://api.themoviedb.org/3/discover/movie", {
        params: {
            api_key : "",
            language : "tr-TR",
            include_adult : false,
            page : Math.floor(Math.random() * 500)

        }
    })

@kleisberg I'm fairly confident you are talking empty overview, while the original post here was talking about null overviews.

In your case, yes, I am sure there are many movies without a Turkish overview, especially if you randomly selecting higher pages. This is normal, and expected since we don't have all items available in Turkish and our API does not fallback the overview field in any way.

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen