The Movie Database-ondersteuning

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 antwoorde (op blad 1 van 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.

Kan ’n rolprent of TV-program nie vind nie? Teken aan om dit te skep.

Globaal

s fokus op soekbalk
p open profielkieslys
esc sluit ’n oop venster
? open sneltoetsvenster

Op mediablaaie

b gaan terug (na ouer waar van toepassing)
e gaan na wysigblad

Op TV-seisoenblaaie

(regterpyl) gaan na volgende seisoen
(linkerpyl) gaan na vorige seisoen

Op TV-episodeblaaie

(regterpyl) gaan na volgende episode
(linkerpyl) gaan na vorige episode

Op alle beeldblaaie

a open beeldtoevoegvenster

Op alle wysigingsblaaie

t open vertaalkieser
ctrl+ s dien form in

Op besprekingsblaaie

n skep nuwe bespreking
w tokkel kykstatus
p tokkel openbaar/privaat
c tokkel maak oop/toe
a open aktiwiteit
r reageer op bespreking
l gaan na laaste reaksie
ctrl+ enter dien u boodskap in
(regterpyl) volgende blad
(linkerpyl) vorige blad

Instellings

Wil u hierdie item gradeer of tot ’n lys toevoeg?

Teken aan