Errors
Plan not sold
The `plan_not_sold` error: HTTP 422 Unprocessable Content.
Checkout sells only a plan with a price: not the free plan, nor one sold by contract.
| Field | Value |
|---|---|
code | plan_not_sold |
status | 422 Unprocessable Content |
title | Plan not sold |
Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is plan_not_sold. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/plan_not_sold",
"title": "Plan not sold",
"status": 422,
"code": "plan_not_sold"
}See every error code.