# Archived discount cannot be applied

You cannot apply an archived discount to a subscription.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "subscription_archived_discount_application_attempt",
    "detail": "The discount you're trying to apply has been archived and cannot be added to the subscription.",
    "documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_archived_discount_application_attempt"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `subscription_archived_discount_application_attempt` |
| Error message | The discount you're trying to apply has been archived and cannot be added to the subscription. |

## Common causes

- The discount has been archived, and archived discounts cannot be applied to new or existing subscriptions.

## Common solutions

- Check the discount status and make sure that the discount is active before attempting to apply it to a subscription.
