raising an exeption for unsupported endpoints