added NotFoundException for inspect calls