The Movie Database Support

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 replies (on page 1 of 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?

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?

Login