Errors
plan_downgrade_needs_payment
409: Settle the payment first.
Settle the payment first. Answered with 409.
What it means
POST /api/billing/schedule named a lower paid Plan while the subscription is past_due: the last renewal failed and its grace is running. A downgrade is an agreement to go on paying, at the lower price, and it is not taken while the renewal is unpaid. Nothing was scheduled and the subscription is as it was.
What to do
Settle the failed renewal first; once the subscription is active again, schedule the lower Plan. A cancel is accepted at any time, past due or not: send free, and the Org moves to Free when the grace ends at grace_until.
The body
{
"type": "https://tigby.eu/problems/plan_downgrade_needs_payment",
"title": "Settle the payment first",
"status": 409,
"detail": "…what was refused, naming this request's own values",
"code": "plan_downgrade_needs_payment",
"doc_url": "https://docs.tigby.eu/errors/plan_downgrade_needs_payment",
"agent_hint": "…the next step, for software"
}Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.