Soporte de The Movie Database

Hi, im using the popular movies endpoint and I always have the same problem with the poster_path key. I set the key an optional string in swift and when I try to make a request I receipt nil or null. I don't know why its happening, but when I make a request outside of my app, typing the url in a browser, the result its right, and the poster_path key is not null. Please I need some tip or a solution of the problem.

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

Jump to last post

@hilacuervo said:
Poster path is always nil
Hi, im using the popular movies endpoint and I always have the same problem with the poster_path key.
I set the key an optional string in swift and when I try to make a request I receipt nil or null.
I don't know why its happening, but when I make a request outside of my app, typing the url in a browser, the result its right, and the poster_path key is not null.
Please I need some tip or a solution of the problem.

I'm not a code programmer.
I suggest you add the name of the tool you are using in the title of your question.
I believe that other forum users who know the tool will be able to see more easily if they can help or not.
Something like
Swift Android - Poster path is always nil

In addition we have these indications

Travis Bell recommend:
https://stackoverflow.com/tags/themoviedb-api
Moderator Wardenclyffe Tower suggestion:
https://www.themoviedb.org/talk/5f246ccef0647c003522224e#5f25fb9e6f31af0038a05997

Hey!

I had the same problem.

Result problem following with questions: https://stackoverflow.com/questions/62396033/tmdb-api-call-swift

¿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 discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
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