# plan_capacity

> The plan_capacity error from the Warmerly API (HTTP 402): A plan limit or monthly allowance is used up (the code varies by endpoint), or the workspace's…

Source: https://warmerly.com/docs/errors/plan-capacity

The API returns `plan_capacity` with HTTP status **402**.

A plan limit or monthly allowance is used up (the code varies by endpoint), or the workspace's billing needs attention (`billing_locked`).

## What the response looks like

```json
{
  "error": {
    "code": "plan_capacity",
    "message": "...",
    "details": null
  }
}
```

`error.code` is stable and safe to branch on. `error.message` is debugging context, not something to parse. The full list of codes, and the rate limits, are on [Errors & Rate Limits](https://warmerly.com/docs/errors).

## More from Errors & Rate Limits

- [quota_exhausted](https://warmerly.com/docs/errors/quota-exhausted): The quota_exhausted error from the Warmerly API (HTTP 402): A plan limit or monthly allowance is used up…
- [campaign_lead_limit](https://warmerly.com/docs/errors/campaign-lead-limit): The campaign_lead_limit error from the Warmerly API (HTTP 402): A plan limit or monthly allowance is used up…
- [billing_locked](https://warmerly.com/docs/errors/billing-locked): The billing_locked error from the Warmerly API (HTTP 402): A plan limit or monthly allowance is used up (the…
