„The Movie Database“ palaikymas

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 atsakė (on page 1 iš 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

Negalite rasti filmo ar TV laidos? Prisijunkite, kad sukurtumėte.

Bendras

s susitelkti į paieškos juostą
p profilio meniu
esc uždarykite atidarytą langą
? spartieji klavišai

Medijų puslapiuose

b grįžkite atgal (arba tėvams leidus)
e į redagavimo puslapį

TV sezono puslapiuose

(dešinė rodyklė) sekantis sezonas
(kairė rodyklė) ankstesnis sezonas

TV epizodo puslapiuose

(dešinė rodyklė) sekantis epizodas
(kairė rodyklė) ankstesnis epizodas

Visuose atvaizdžio puslapiuose

a atverti atvaizdžio pridėjimo langą

Visuose redagavimo puslapiuose

t vertimo parinktys
ctrl+ s pateikti formą

Diskusijų puslapiuose

n sukurti naują diskusiją
w perjungti peržiūros būseną
p perjungti viešasis / privatus
c perjungti uždaryti / atidaryti
a peržiūrėti aktyvumą
r atsakyti į pokalbį
l į paskutinį atsakymą
ctrl+ enter pateikti pranešimą
(dešinė rodyklė) sekantis puslapis
(kairė rodyklė) ankstesnis puslapis

Nustatymai

Norite įvertinti ar įtraukti šį elementą į sąrašą?

Prisijungti