[BUGFIX] Use HTTP 400 instead of 500 when client is faulty