Cancel Pro subscription

Im trying to cancel my Pro subscription because im cancelling Netflix, but its stuck at the “problem with your subscription payment” because theres no money on the account to pay it, so does this mean i have to pay the subscription before i can cancel it? Can you please cancel my subscription. Thanks