Thanks, it was missing the namespace before the use of some of the `BadRequest`s. I added it.