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

# too-many-subscriptions

> A WebSocket connection already has 20 subscriptions.

| Status | Title |
| - | - |
| `400` | This connection has too many subscriptions |

## What it means

A connection to the [WebSocket](https://developer.plugchoice.com/v4/live-updates.md) holds at most 20 subscriptions, and this `subscribe` would be the 21st. The connection stays open, and its subscriptions keep running.

## What to do

Send `unsubscribe` for a subscription you no longer need, then subscribe again. Or follow more chargers in one subscription: one subscription of a location or a team covers up to 100 chargers.

## Example

```json theme={null}
{
  "type": "error",
  "id": "garage",
  "data": {
    "type": "https://developer.plugchoice.com/api/errors/too-many-subscriptions",
    "title": "This connection has too many subscriptions",
    "status": 400,
    "code": "too-many-subscriptions",
    "detail": "A connection has at most 20 subscriptions: unsubscribe from one first."
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.