Try the sandbox

IDEMPOTENCY_CONFLICT: Idempotency-Key already used with another body

Checked on 2026-11-25 against the SharkPOS API code · Markdown

IDEMPOTENCY_CONFLICT · HTTP 409

Message you may see:

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

How to fix it

  1. Use a unique, stable identifier of the sale as the key: venta-884, pedido-2026-000123.
  2. For a retry, send exactly the same body as the first attempt.
  3. 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.

Related

Integrating receipts or invoices? Try it in the sandbox, without touching the real SII.

Try it today in the sandbox

Get a sandbox API key: a test company with certificate and folios already loaded and a simulated SII. When you are ready, each RUT costs CLP 5,990 a month (VAT included) with 20,000 documents a month.