Use HTTP 400 response code for errors