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

# no_active_plan

> No active billing plan

|                    |                        |
| ------------------ | ---------------------- |
| **HTTP status**    | `402 Payment Required` |
| **Error code**     | `no_active_plan`       |
| **Resolve action** | `select_plan`          |

## What happened

The organization does not have an active billing plan. All API requests that require a subscription are blocked until a plan is selected.

This typically occurs when:

* A new organization hasn't selected a plan yet
* The free plan subscription failed during signup and needs to be retried

## How to fix

<Steps>
  <Step title="List available plans">
    ```bash theme={"dark"}
    curl https://api.particle.pro/v1/billing/plans \
      -H "Authorization: Bearer YOUR_JWT_TOKEN"
    ```
  </Step>

  <Step title="Select a plan">
    ```bash theme={"dark"}
    curl -X POST https://api.particle.pro/v1/organizations/{orgId}/billing/subscription \
      -H "Authorization: Bearer YOUR_JWT_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{"plan_id": "PLAN_ID_FROM_STEP_1"}'
    ```

    Requires the **OWNER** role.
  </Step>
</Steps>
