# Transaction cannot be modified and canceled

You are attempting to cancel a transaction whilst passing fields to update

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "transaction_cannot_be_modified_and_canceled",
    "detail": "Cannot update transaction to canceled, along with other fields at the same time",
    "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_cannot_be_modified_and_canceled"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `transaction_cannot_be_modified_and_canceled` |
| Error message | Cannot update transaction to canceled, along with other fields at the same time |

## Common causes

- You are attempting to cancel a transaction and modify it at the same time

## Common solutions

- Ensure you are only passing the status when attempting to update to canceled
