# Duplicate `price_id` fields sent in the items list

You're attempting to create a one-time charge for one or more of the same items in the same request.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "subscription_charge_duplicate_price_ids",
    "detail": "duplicate `price_id`s are not valid when creating a one-time charge for a subscription",
    "documentation_url": "https://developer.paddle.com/errors/subscriptions/subscription_charge_duplicate_price_ids"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `subscription_charge_duplicate_price_ids` |
| Error message | duplicate `price_id`s are not valid when creating a one-time charge for a subscription |

## Common causes

- Prices must be unique in a one-time charge request. You sent the same `price_id` more than once in the `items` array.

## Common solutions

- Combine duplicate `price_id` items into a single item in the array, then retry your request.
