# Cannot send both price ID and Price Object in the same line item

You are attempting to send both the Price ID and Price Object on the same line item

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "transaction_both_price_id_and_object_found",
    "detail": "Transaction line items cannot have both Price ID and Price object present",
    "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_both_price_id_and_object_found"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `transaction_both_price_id_and_object_found` |
| Error message | Transaction line items cannot have both Price ID and Price object present |

## Common causes

- You have added both the Price ID and Price Object on the same line item

## Common solutions

- Ensure each line item only has either the Price ID or Price Object
