# Duplicated discount code

Each of your Discounts must have a unique code, the requested code is in conflict with another Discount.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "discount_code_conflict",
    "detail": "Discount code conflicts with Discount ID pro_01ghbk4xjn4qdsmstcwzgcgg35",
    "documentation_url": "https://developer.paddle.com/errors/discounts/discount_code_conflict"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 409 |
| Error code | `discount_code_conflict` |
| Error message | Discount code conflicts with Discount ID %s |

## Common causes

- You have attempted to create a Discount using a code already in use.
- You have attempted to update a Discount to use a code already in use.

## Common solutions

- Choose a different Discount code for this request
- Update the discount code of the conflicting discount.
- Send the Discount code as `null` so that the system creates a new unique a code for the Discount.
