Raise a NotFound error if the status is 404