Soporte de The Movie Database

    "success": false,
    "status_code": 34,
    "status_message": "The resource you requested could not be found."

I have been using the url for fetching movies related different genres

https://api.themoviedb.org/3/discover/movie/?api_key={API_KEY}&language=en-US
    fetchTrendingTVDay: `/trending/tv/day?api_key=${API_KEY}&language=en-US`,
    fetchTrendingAll: `/trending/all/day?api_key=${API_KEY}&language=en-US`,
    fetchNetFlixOriginals: `/discover/tv?api_key=${API_KEY}&with_networks=213`,
    fetchHBO: `/discover/tv?api_key=${API_KEY}&with_networks=5666`,
    fetchHBOMax: `/discover/tv?api_key=${API_KEY}&with_networks=5750`,

please let me know if anything is wrong with the URL's ?

2 respuestas (en la página 1 de 1)

Jump to last post

https://api.themoviedb.org/3/${isTvShow ?'tv':'movie'}/${param.Details}?append_to_response=credits,recommendations&api_key=${API_KEY}
https://api.themoviedb.org/3/person/${param.id}?append_to_response=movie_credits&api_key=${API_KEY}

I have been using these URL's please let me know if there is any error ..

The movies are being Stored in the Object getting a 404 Error ...

Hi @Developer2933,

First of all, this request:

https://api.themoviedb.org/3/discover/movie/?api_key={API_KEY}&language=en-US

Has a trailing slash which needs to be deleted:

https://api.themoviedb.org/3/discover/movie?api_key={API_KEY}&language=en-US

For this request:

https://api.themoviedb.org/3/${isTvShow ?'tv':'movie'}/${param.Details}?append_to_response=credits,recommendations&api_key=${API_KEY}

Without knowing what param.Details is, I would say that's probably your problem. As you can see here, as a test request, everything is working like it should:

https://api.themoviedb.org/3/tv/1399?append_to_response=credits,recommendations&api_key=###

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión