The Movie Database Support Forum

Error message with code: {"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}

code snippet: const videoUrl = https://api.themoviedb.org/3/movie/${item.id}/videos?api_key=${apikey}&language=en-US; kindly guide where am i having issues. Rest of my code is perfect

2 Antworten (Seite 1 von 1)

Jump to last post

@udit2003 said:
Error 34 (status: The resource you requested could not be found.)
Error message with code:
{"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}

code snippet: const videoUrl =
https://api.themoviedb.org/3/movie/${item.id}/videos?api_key=${apikey}&language=en-US;
kindly guide where am i having issues.
Rest of my code is perfect

Usually this response refers to an ID that does not exist in the database.
Can you let us know which ID resulted in this response?
If the ID exists then it is possible that there is some small error in your code.
Some character left when insert value of "${item.id}".
A space, a } or {, or something like that.

apologies for late reply. yes there was a small issue in definition of item.id now it worked tysm

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden