The Movie Database Support

Hi, I'm trying to generate a session ID, but I get the error below. Any thoughts?

<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

13 replies (on page 1 of 1)

Jump to last post

I'm doing some database maintenance that is most likely to blame. Retry and you'll likely see it go through.

Thanks for prompt response. It was successful. But I'm not sure where I can find the session ID so I could create a list. Can you please advise?

You can follow the steps 1-3 under "User Authentication" on this document. There's also a useful document here.

Got it. Thanks so much. Is there a way to get a list of all movies with their IDs and similar movies? I'm trying to cross link to MovieLens data to do some analysis for a school project.

Is there a way to get a list of all movies with their IDs and similar movies?

You can get a list of all the valid IDs from the daily ID exports. Depending on what you mean by "similar movies", the /recommendations method might be best. Otherwise you can construct your own custom query based on things like genres or keywords with the discover method.

Thanks again. Why do I get this message when I try to download the list of valid IDs? I copy/paste "http://files.tmdb.org/p/exports/movie_ids_04_28_2017.json.gz" into browser address bar, then I get this:

This XML file does not appear to have any style information associated with it. The document tree is shown below. NoSuchKey The specified key does not exist. p/exports/movie_ids_04_28_2017.json.gz 881EC3B8A5FDD340 ktrDl1cFA+2L/Wa3rdClemOJDVd1CAZhbQ8GRf4VTz2R88WUdhGc2StOKPHVDpWPZk3HfYVy0CM=

That file doesn't exist anymore, grab a newer one:

http://files.tmdb.org/p/exports/movie_ids_07_26_2018.json.gz

Hi Travis, Is there a new file for valid movie IDs released after 7/26/2018?

Thanks Payman

Hi @payman21,

You bet, as per the docs:

All of the exported files are available for download from http://files.tmdb.org. The export job runs every day starting at around 7:00 AM UTC, and all files are available by 8:00 AM UTC.

They are generated daily.

Thanks! But when I click on that link, it directs me to this: https://www.themoviedb.org/

Why is that? Would you be able to post the direct link to the file as you did previously above?

Actually, figured it out. thanks again

You need to change the date in the file name:

http://files.tmdb.org/p/exports/movie_ids_09_30_2018.json.gz

Thanks so much

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