# Discount not applicable for transaction items

You are applying a discount that doesn't apply to any of the transaction items.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "transaction_discount_not_eligible",
    "detail": "Discount is not eligible for the provided items",
    "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_discount_not_eligible"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `transaction_discount_not_eligible` |
| Error message | Discount is not eligible for the provided items |

## Common causes

- Discount has restricted_to set to certain price_id(s) and/or product_id(s).

## Common solutions

- Verify you've added the items that match the price_id(s) and/or product_id(s) to the transaction.
- Apply a different discount that doesn't have these limitations.
- Add different items to your transaction.
