# Subscription update removes all items

The subscription update request removes all items.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "subscription_all_items_removed",
    "detail": "items array is empty, this would delete all items in the subscription",
    "documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_all_items_removed"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `subscription_all_items_removed` |
| Error message | items array is empty, this would delete all items in the subscription |

## Common causes

- You're updating a subscription and removing all items.

## Common solutions

- Include 1 or more items in the update.
