The Movie Database Support


I've just come across something I can’t find in the API documentation. I’ve made a call to the /3/movie/{id}/rating method and passed an invalid rating-value as parameter.

JSON Body:

{"value":9.1 }

According to the documentation the API should have returned something like this:

    "status_code": 5,
    "status_message": "Failed…?"

But the API has returned:

{"failure":true,"error":"Unable to save the rating because: Value is not a multiple of .50."}

Have I missed something in the documentation?

6 replies (on page 1 of 1)

Jump to last post

Hi Dave,

Good find. The API should still serve the standard status_code error block. I've created a new ticket and will look at this shortly.

Thanks for your support.

Fix for this was just deployed.

Just tested it, now it returns a (400) Bad Request error. (Movie 550, rating: 9.1)

Yes, the HTTP status code on a validation error like this is 400. We still respond with body and a valid status_code error:

{"status_code":18,"status_message":"Unable to save the rating because: Value is not a multiple of .50."}


Sorry was my fault…

I haven’t seen the error message, because of .net (which I’m using) per default throws an error when a server returns an http error code….

(Details for the .Net developers with the same problem:

Thanks your answer.

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


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


Want to rate or add this item to a list?