Supporto The Movie Database

I Try This https://developers.themoviedb.org/3/getting-started/append-to-response

in website https://api.themoviedb.org/3/movie/157336/videos?api_key=### it works

but get 404 in Java Android

this is the error message

{"status_code":34,"status_message":"The resource you requested could not be found."}

when i change to API http://api.themoviedb.org/3/movie/popular?api_key=### it works on my Java Android

Can somebody explain and how to solve this?

7 risposte (nella pagina 1 di 1)

Jump to last post

Hi @topkek404 Take a look at your request and make sure there's no typos or anything. All of these requests work fine:

https://api.themoviedb.org/3/movie/157336?api_key=###
https://api.themoviedb.org/3/movie/157336/videos?api_key=###
https://api.themoviedb.org/3/movie/157336?api_key=###&append_to_response=videos

i have the same problem it works on the web but not in android

Hi @bensbiw You'll have to post some code. For code specific problems you'll usually have better luck asking at somewhere like Stack Overflow. That is unless someone familiar with Android/Java sees your problem wink

public static String getMovieTrailers(String id){

     String MOVIE_TRAILER = "https://api.themoviedb.org/3/movie/" +id + "/videos?api_key=" + API_KEY +"&append_to_response=videos" ;

    return MOVIE_TRAILER;
}

I am also facing same issue

@topkek404 said:

I Try This https://developers.themoviedb.org/3/getting-started/append-to-response

in website https://api.themoviedb.org/3/movie/157336/videos?api_key=### it works

but get 404 in Java Android

this is the error message

{"status_code":34,"status_message":"The resource you requested could not be found."}

when i change to API http://api.themoviedb.org/3/movie/popular?api_key=### it works on my Java Android

Can somebody explain and how to solve this?

I also facing same issue

I have the same issue, someone know what cause this?

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi