# Subscription cannot be updated when past due

Occurs when you try to update a past_due subscription.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "subscription_update_when_past_due",
    "detail": "cannot update subscription, as the subscription status is 'past_due'",
    "documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_update_when_past_due"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `subscription_update_when_past_due` |
| Error message | cannot update subscription, as the subscription status is 'past_due' |

## Common causes

- You're trying to make a change to a subscription that is past_due.

## Common solutions

- Move the subscription out of the past_due state by updating the payment method, then try again.
