Replacing 400 with ResponseCode::HTTP_BAD_REQUEST