---
title: "No billing customer exists yet (billing-customer-missing)"
description: "PubNio billing-customer-missing problem, HTTP 409: The billing portal is requested before the workspace has a billing customer."
---

> 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.

# No billing customer exists yet (billing-customer-missing)

HTTP 409 No billing customer exists yet. The billing portal is requested before the workspace has a billing customer.

## When it happens

One operation declares it: [`POST /api/v1/workspaces/{workspaceId}/billing/portal`](https://pubnio.com/api/v1/docs#tag/billing/POST/api/v1/workspaces/{workspaceId}/billing/portal).

## Response body

```json
{
  "type": "https://pubnio.com/docs/problems/billing-customer-missing/",
  "status": 409,
  "title": "No billing customer exists yet",
  "detail": "Start a subscription or add credit before opening the portal.",
  "code": "billing_customer_missing",
  "nextAction": "Create a checkout session via POST /api/v1/workspaces/:workspaceId/billing/checkout first.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

| Field        | Type   | Always present |
| ------------ | ------ | -------------- |
| `nextAction` | string | Yes            |

## Recovery for agents

- Do what `nextAction` says.

## Retryable

No: the SDKs mark HTTP 409 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-customer-missing/index.mdx
