raise InvalidBody when failing to decode the request body