Errors
plan-change-invalid
The target plan is the current plan, Free, or unknown.
422 Unprocessable Content · Invalid plan change · type: https://docs.dlogify.com/errors/plan-change-invalid
When it happens
- The target plan is the organization's current plan.
- The target is
free: cancel the subscription instead. - The target is not a plan.
How to fix it
Send plan_id pro or team, different from the current plan. To return to Free, cancel the subscription.
Example
HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json{
"type": "https://docs.dlogify.com/errors/plan-change-invalid",
"title": "Invalid plan change",
"status": 422,
"detail": "The organization is already on pro.",
"instance": "req_01j…"
}