The Movie Database Support

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 replies (on page 1 of 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

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login