Error Raised, if session or distribution type not present