The Movie Database Support

Error 404 is showing while I am trying to fetch the Details page of any TV show or movie. { status_code: 34 status_message: "The resource you requested could not be found." success: false }

6 replies (on page 1 of 1)

Jump to last post

Hi @mumar64, this usually means your url is incorrect. Post the url you are using here so we can figure out what the problem is. Change your private api key to a string like KEY or xxx.

BASE_URL = "https://api.themoviedb.org/3" movie/298618 : and this is the end point I am hitting while trying to fetch the details page of a particular movie

Hard to tell but it looks like you are saying you are using "https://api.themoviedb.org/3" + "movie/298618". This would seem to indicate that you are missing a "/" between the two parts. Total string should be "https://api.themoviedb.org/3/movie/298618".

i just mistyped... there is a slash (/) in between. yet the problem persists

We will need to see the full url that you are using, or the code segment where you are creating and using the url. For example, I don't see any authentication information.

A general troubleshooting tip is to see if you can print out the string you are using as the url when you use it, that might help you spot what is going wrong.

My query is resolved. I was actually using useParams() hook without the parentheses() which was making my parameters inaccessible. Now it is good to go. Thanks.

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