The Movie Database Support

Hi I have this error where I'm trying to get a discover TV API call (v3) and it says I'm trying to request http although my baseQuery is https

github issue

Does anyone else have this issue?

When I use axios it's ok, but redux toolkit gives this Mixed content error

update: it's redirecting the https to a http api for some reason

Status Code: 301

Response Headers: Location: http://api.themoviedb.org/3/discover/tv?api_key=####&include_adult=false&language=en-US&page=1&with_origin_country=US

    `discover/tv/?api_key=${tmdbKey}&include_adult=false&with_origin_country=US&language=en-US&page=${String(
      page
    )}`,


    `discover/tv?api_key=${tmdbKey}&include_adult=false&with_origin_country=US&language=en-US&page=${String(
      page
    )}`,

Edit: Solved. My issue was due to a slash in the API call

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