Throw error if subscription is invalid