---
title: "Workspace billing is inactive (billing-inactive)"
description: "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."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Workspace billing is inactive (billing-inactive)

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`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts) and [`POST /api/v1/posts/{postId}/publish`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/{postId}/publish).

## Response body

```json
{
  "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`.

## Related

- [Billing problems](https://pubnio.com/docs/problems/#billing)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/billing-inactive/index.mdx
