Added BadRequest exception.

Because, when an user send invalid data, HttpError (500) is incorrect way to demonstrate this.