# Product Price not active

Each Product Price ID given in the restricts_to field must be active.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "discount_restricted_product_price_not_active",
    "detail": "Product Price given not active pri_01ghbk4xjn4qdsmstcwzgcgg35",
    "documentation_url": "https://developer.paddle.com/errors/discounts/discount_restricted_product_price_not_active"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `discount_restricted_product_price_not_active` |
| Error message | Product Price given not active %s |

## Common causes

- You have attempted to restrict a Discount to a Product Price which does not exist.
- You have attempted to restrict a Discount to a Product Price which is not active.

## Common solutions

- Set the status of the provided Product Price ID to 'active'.
- Ensure the Product Price ID provided already exists.
