# IDEMPOTENCY_CONFLICT: Idempotency-Key already used with another body

> You sent an issuance with an Idempotency-Key already used with a different body. The API cannot tell a retry from a new sale, so it does not issue.

Source: https://api.sharkpos.cl/en/errors/idempotency-conflict/

Checked on 2026-11-25 against the SharkPOS API code · [Markdown](/en/errors/idempotency-conflict.md)
`IDEMPOTENCY_CONFLICT` · HTTP 409
Message you may see:
- `Ese Idempotency-Key ya se usó con otra boleta. (That Idempotency-Key was already used with another boleta.)`

## What it means
You sent an issuance with an `Idempotency-Key` that had already been used, but with a different body (other products, another amount, another recipient). The API cannot tell whether it is a retry or a new sale, so it does not issue.

## Why it happens
- The key does not come from the sale id but from something that repeats (the date, the register number, a counter that resets).
- The sale was modified after the first attempt and retried with the same key.
- Two different sales share an id in your system.

## How to fix it
- Use a unique, stable identifier of the sale as the key: `venta-884`, `pedido-2026-000123`.
- For a retry, send exactly the same body as the first attempt.
- For a new sale, use a new key.

**Should you retry?** Not with the same body and another key "to unblock it": review the sales logic.
All API errors are JSON: `{"status": "error", "code": "...", "message": "...", "solution": "..."}`. The `code` is stable; `message` and `solution` are in Spanish. Full table in the [guide for agents](/en/docs/agents.md).

## Related
- [IDEMPOTENCY_KEY_REQUIRED: the Idempotency-Key header is missing](/en/errors/idempotency-key-required/)
- [RATE_LIMIT_EXCEEDED or EMISSION_RATE_LIMIT_EXCEEDED: too many requests](/en/errors/rate-limit-exceeded/)

Integrating receipts or invoices? Try it in the [sandbox](/sandbox/), without touching the real SII.
