request errors should return status 400 (bad request)