The Movie Database Support

I'm getting sporadic 500 errors using the search method. Is everything running 100%?

15 replies (on page 1 of 1)

Jump to last post

Hi Kenton,

No known issues this evening. Is it possible you were hitting our rate limits?

I don't think so. I'm running a task in Ruby and delaying requests so I won't hit the rate limit. If I did, wouldn't I see a 503 response instead 500? It's very random when I get a 500. Once I got in on my second query, and then another time 50 or so in. This same code was working fine last weekend.

I've noticed this the last days using different apps, it's very annoying

We're looking into this but there is nothing obvious at the moment. I'll update this thread when I have more information.

Thanks, Travis! Could it be related to the API update on 9/4?

Hey Kenton,

We haven’t done a deploy on the API since Aug 28 (and there’s no obvious load issues), so we’re not sure what it could be quite yet.

I think the problem resides your side because sometimes this error comes and some times it does not...!

Hey guys,

We’ve just deployed the fix for this, you can see our error rate has gone back down to zero: http://note.io/1lIaCSe

Weirdest thing, they did indeed start on September 3 but there was nothing done on our API infrastructure and it only seemed to affect 3 of our 8 HTTP servers. Solution? Restarted the app and everything calmed back down. Gotta love it when those gremlins get in there...

So lovely when a restart fixes weirdness. Thanks for looking into and fixing things on a Saturday, Travis!

Hi there!

I'm getting some HTTP 500 errors tonight, so I thought I'd re-open. It might be because I'm hitting some limits, but I'm not sure since the API documentation might be a bit outdated in that area.

This says that we'll receive a 503 error if we exceed the request limit (of 30 requests every 10 seconds): http://docs.themoviedb.apiary.io/reference

While this says that we'll receive a 429 error if we exceed the request limit (of 40 requests); https://www.themoviedb.org/documentation/api/status-codes

Can we get some clarification on that? :-)

I'm getting this errors, too since this afternoon

I just restarted the app like before, can you tell me if they have stopped?

seems to be okay

Dear friends: today I have found this ugly error; the message error was:

Server returned HTTP response code: 500 for URL: https://api.themoviedb.org/3/search/person?api_key=...&language=es&query=Brad&page=3
Exception in thread "main" java.lang.NullPointerException
    at fp.tmdb.TMDBAPIImpl.getAllPersonsByName(TMDBAPIImpl.java:221)
    at fp.tmdb.test.TestSearch86.main(TestSearch86.java:15)

If you try to go to

https://api.themoviedb.org/3/search/person?api_key=...&language=es&query=Brad&page=3

it appears an even ugglier error: in Firefox:

Archivo no encontrado
Firefox no puede encontrar el archivo en https://api.themoviedb.org/3/search/person?api_key=...&query=Brad&page=3.
    Compruebe que el nombre de archivo no tiene errores de escritura, incluyendo el uso de mayúsculas.
    Compruebe si el archivo ha sido movido, renombrado o eliminado.

(I am writting from Spain). It's means "File not found" (File???)

This doesn't happens when I was looking at

https://api.themoviedb.org/3/search/person?api_key=...&language=es&query=Brad&page=2

or

https://api.themoviedb.org/3/search/person?api_key=...&language=es&query=Brad&page=4

The "language=es" is not the problem: it happens the same without it. It looks like the server doesn't like "Brad": the same code works well when asking for "Smith" or "e", with the expectable 429 error code after 40 queries.

I've ommited the api_key here, but not in the queries, of course.

@vallejo Would you mind creating a new discussion for this? No need to resurrect a 2.5 years old thread wink

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