# Cannot perform an update on a subscription without a payment method

You're trying make a change to an automatically-collected subscription that results in a charge, but it doesn't have a payment method.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "subscription_missing_payment_method_cannot_update",
    "detail": "Automatically-collected subscriptions require a payment method to make changes that result in a charge.",
    "documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_missing_payment_method_cannot_update"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `subscription_missing_payment_method_cannot_update` |
| Error message | Automatically-collected subscriptions require a payment method to make changes that result in a charge. |

## Common causes

- You're trying to perform an update on a subscription that results in a transaction balance greater than 0, but no payment method is set.
- If the `customer_id` against this subscription has been replaced recently, the payment method against it was removed for security. It must be readded.

## Common solutions

- [Create a customer portal session](https://developer.paddle.com/api-reference/customer-portals/create-customer-portal-session) to capture a payment method from the customer, then retry the update.
- [Get a transaction to update payment method](https://developer.paddle.com/api-reference/subscriptions/update-payment-method) and pass to Paddle.js to capture a payment method from the customer, then retry the update.
- Change collection mode against the subscription to `manual`, then retry the update. Paddle sends an invoice for the amount due each time a subscription renews or a charge is made.
