Re: Help with 400 Bad Request

Ulrich Klauer <[email protected]> Sun, 15 Feb 2015 05:48:32 +0100
Newsgroups gmane.comp.audio.musicbrainz.devel
Message-ID <[email protected]>
Ian McEwen wrote:

> However, this also works fine with 4 rather than 80, though the result
> on the site is that it appears to be unrated, since that's less than 1
> star.

Actually, the rating is visible - the left edge of the first star has  
a tiny blue dot:  
http://chirlu.mbsandbox.org/recording/f5aec1b4-0162-489b-ad1a-2aeecebc7d8a/ratings
So as you see, it worked for me, too.

> Looking at the code, most normal errors should return an XML document
> with the error, e.g. if I change 'recording' to 'event' (since events
> can't be rated), I get:

This is a bug, BTW, because events do have ratings. I'll make it use  
%ENTITIES instead of the outdated hardcoded list.

Ulrich