Skip to content

Workspace billing is inactive (billing-inactive)

PubNio billing-inactive problem, HTTP 402: The workspace's subscription is neither active nor trialing, and past due beyond the grace period, on a plan other than pay as you go.

HTTP 402 Workspace billing is inactive. The workspace’s subscription is neither active nor trialing, and past due beyond the grace period, on a plan other than pay as you go.

When it happens

2 operations declare it: POST /api/v1/posts and POST /api/v1/posts/{postId}/publish.

Response body

{
  "type": "https://pubnio.com/docs/problems/billing-inactive/",
  "status": 402,
  "title": "Workspace billing is inactive",
  "detail": "Workspace subscription status is past_due.",
  "code": "billing_inactive",
  "subscriptionStatus": "past_due",
  "fundingUrl": "/app/1d3e5f70-2a4b-4c6d-8e0f-123456789abc/settings?tab=billing",
  "canManageBilling": true,
  "nextAction": "Open /app/1d3e5f70-2a4b-4c6d-8e0f-123456789abc/settings?tab=billing to update your payment method or resume billing.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
Field Type Always present
subscriptionStatus "active", "trialing", "past_due", "canceled", "incomplete", "unpaid" Yes
fundingUrl string Yes
canManageBilling boolean Yes
nextAction string Yes

Recovery for agents

  • Do what nextAction says.

Retryable

No: the SDKs mark HTTP 402 not retryable.

Limits

  • Match on type or code, not on detail.

Type to search…

↑↓ navigate↵ selectEsc close