The Movie Database Support Forum

Hi! i hope you are well and you find this mail well.
i am working on local project where i have to fetch api and display on my project.
some apis not working properly .
these are the apis
fetchTrending: /trending/all/week?api_key=${API_KEY}&language=en-US,
fetchNetflixOrignals: /discover/tv?api_key=${API_KEY}&with_networks=213,
fetchTopRated: /movie/top_rated?api_key=${API_KEY}&language=en-US,
fetchActionMovies: /discover/movies?api_key=${API_KEY}&with_genres=28,
fetchComedyMovies: /discover/movies?api_key=${API_KEY}&with_genres=35,
fetchHorrorMovies: /discover/movies?api_key=${API_KEY}&with_genres=27,
fetchRomanceMovies: /discover/movies?api_key=${API_KEY}&with_genres=10749,
fetchDocumentaries: /discover/movies?api_key=${API_KEY}&with_genres=99,

and its says
"The resource you requested could not be found."

1 Antwort (Seite 1 von 1)

Jump to last post

@hassanrashid2299 said:
Fetch API problem
Hi! i hope you are well and you find this mail well.
i am working on local project where i have to fetch api and display on my project.
some apis not working properly .
these are the apis
fetchTrending: /trending/all/week?api_key=${API_KEY}&language=en-US,
fetchNetflixOrignals: /discover/tv?api_key=${API_KEY}&with_networks=213,
fetchTopRated: /movie/top_rated?api_key=${API_KEY}&language=en-US,
fetchActionMovies: /discover/movies?api_key=${API_KEY}&with_genres=28,
fetchComedyMovies: /discover/movies?api_key=${API_KEY}&with_genres=35,
fetchHorrorMovies: /discover/movies?api_key=${API_KEY}&with_genres=27,
fetchRomanceMovies: /discover/movies?api_key=${API_KEY}&with_genres=10749,
fetchDocumentaries: /discover/movies?api_key=${API_KEY}&with_genres=99,

and its says
"The resource you requested could not be found."

It's probably an error in the API Request you're sending.
Since your examples aren't complete, I'll post a complete and working one here.
Try my example in a new tab in your browser and let us know if it works for you.

fetchComedyMovies:   
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&with_genres=35

Of course, you should replace THE_KEY with your own API Key.

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