# Subscription locked for editing while there are pending changes

Occurs when you attempt to make a change to a subscription while there is a change that is still pending.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "subscription_locked_pending_changes",
    "detail": "cannot update subscription, pending scheduled changes",
    "documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_locked_pending_changes"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `subscription_locked_pending_changes` |
| Error message | cannot update subscription, pending scheduled changes |

## Common causes

- You're trying to make a change to a subscription while there is still a pending change.

## Common solutions

- Cancel the pending change before attempting request again.
