The Movie Database Support

I have been getting the Gateway timed-out error randomly for a while now. I am collecting a lot of data (so with the sleep, the code runs for like 1 hour or so), so each time I try to run it after a while I get the 504 response.

2 replies (on page 1 of 1)

Jump to last post

https://api.themoviedb.org/3/movie/4011/credits?api_key=my_key

This call worked well in my browser, but is causing 504 in my code. I am not exceeding my rate limit as I am giving a sleep of 0.25 seconds after each call, even then I am getting this issue.

Hi @apppap, are you able to provide a verbose log of the request (full URL, request headers, response headers) of a failing request? I don't see many 504's returned during the day so as far as I can see from an infrastructure point of view, nothing is wrong. A full log entry with a few of these 504's would be helpful.

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