throw exception if endpoint type not found
extend api