Sprijin Bază de date filme (The Movie Database)

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 răspunsuri (pe pagina 1 din 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.

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare