The Movie Database Support

    "success": false,
    "status_code": 34,
    "status_message": "The resource you requested could not be found."

I have been using the url for fetching movies related different genres

https://api.themoviedb.org/3/discover/movie/?api_key={API_KEY}&language=en-US
    fetchTrendingTVDay: `/trending/tv/day?api_key=${API_KEY}&language=en-US`,
    fetchTrendingAll: `/trending/all/day?api_key=${API_KEY}&language=en-US`,
    fetchNetFlixOriginals: `/discover/tv?api_key=${API_KEY}&with_networks=213`,
    fetchHBO: `/discover/tv?api_key=${API_KEY}&with_networks=5666`,
    fetchHBOMax: `/discover/tv?api_key=${API_KEY}&with_networks=5750`,

please let me know if anything is wrong with the URL's ?

2 replies (on page 1 of 1)

Jump to last post

https://api.themoviedb.org/3/${isTvShow ?'tv':'movie'}/${param.Details}?append_to_response=credits,recommendations&api_key=${API_KEY}
https://api.themoviedb.org/3/person/${param.id}?append_to_response=movie_credits&api_key=${API_KEY}

I have been using these URL's please let me know if there is any error ..

The movies are being Stored in the Object getting a 404 Error ...

Hi @Developer2933,

First of all, this request:

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

Has a trailing slash which needs to be deleted:

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

For this request:

https://api.themoviedb.org/3/${isTvShow ?'tv':'movie'}/${param.Details}?append_to_response=credits,recommendations&api_key=${API_KEY}

Without knowing what param.Details is, I would say that's probably your problem. As you can see here, as a test request, everything is working like it should:

https://api.themoviedb.org/3/tv/1399?append_to_response=credits,recommendations&api_key=###

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