# `idempotency_conflict`

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

This `Idempotency-Key` was already used with a different payload.

## Status

HTTP `409`, title `Idempotency conflict`. One of the [the request itself](https://www.shortsintel.com/docs/reference/errors#the-request-itself) errors. Branch on `code`, never on the status or the prose.

Retryable: no. Every body carries this as `retryable: false`, beside `action` and `remedy`: the same request will fail again until the request changes or a person acts.

## Common causes

- One key reused for two different requests.
- A retry that changed the body.

## What to do

Action: Resend the original payload with this key, or use a new key for the new payload.

This Idempotency-Key was already used with a different payload. Use a new key, or resend the original payload.

## Example

The body arrives as `application/problem+json`, with `retryable` and the `remedy` above. Most responses add `detail` about the occurrence, and some add fields of their own.

```json
{
  "type": "https://www.shortsintel.com/docs/reference/errors/idempotency_conflict",
  "title": "Idempotency conflict",
  "status": 409,
  "code": "idempotency_conflict",
  "retryable": false,
  "action": "Resend the original payload with this key, or use a new key for the new payload.",
  "remedy": "This Idempotency-Key was already used with a different payload. Use a new key, or resend the original payload."
}
```

## Related

- [Runs](https://www.shortsintel.com/docs/concepts/runs)
- [Errors](https://www.shortsintel.com/docs/concepts/errors)
- [Every error code](https://www.shortsintel.com/docs/reference/errors)

[Previous comment_not_found](https://www.shortsintel.com/docs/reference/errors/comment_not_found)[Next run_not_ready](https://www.shortsintel.com/docs/reference/errors/run_not_ready)
