Soporte de The Movie Database

has anyone succeeded in using the API of 'Details' at the url : https://developer.themoviedb.org/reference/movie-details ?

an error 500, strict-origin-when-cross-origin at 'src/routes/movie/[id]/+page.svelte'

the web browser display '{data.title}' as 'undefined' at the path like 'http://localhost:5173/movie/787699'.

I changed to the variable name into 'data' in order to recheck but failed, too.

I concluded that any change has occurred in the movie api
because I tested an other example at the path of 'http://localhost:5173/stock/aapl' and it works well now.

I have tried to change the source to utilize the sample source on the document but failed for my fault.

if anyone who has solved this, show me how you did that?

thanks a lot!!!

p.s : I have posted the more details on my github issue at the url : https://github.com/joywins25/Challenge_SvelteKit/issues/1

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

Jump to last post

Hi @joywins,

I don't have any problems using the docs "try it" feature.

Do you perhaps have a ad blocker (or similar) enabled that could be blocking some scripts from loading?

thanks to let me know there is no change in the usage of api of 'details'. I have corrected typo and solved it. wish your good day!

¿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