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
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de ticao2 🇧🇷 pt-BR
le 12 août 2023 à 08h13
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.
Réponse de udit2003
le 14 août 2023 à 03h01
apologies for late reply. yes there was a small issue in definition of item.id now it worked tysm