> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getmodus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ConflictError

> Idempotency conflict — a run with this ID already exists with a different body (HTTP 409).

Idempotency conflict — a run with this ID already exists with a different
body (HTTP 409). Use a new idempotency key or omit it to auto-generate.

```typescript
class ConflictError extends ModusError
```

## Constructor

```typescript
ConflictError(message: string, options?: { statusCode: number; requestId: string; responseHeaders: Record<string, string>; body: string; code: string } | undefined): ConflictError
```

### Parameters

<ResponseField name={"message"} type={"string"} required />

<ResponseField name={"options"} type={"{ statusCode: number; requestId: string; responseHeaders: Record<string, string…"} />

### Returns

`ConflictError`

## Properties

<ResponseField name={"body"} type={"string"} />

<ResponseField name={"code"} type={"string"} />

<ResponseField name={"requestId"} type={"string"} />

<ResponseField name={"responseHeaders"} type={"Record<string, string>"} />

<ResponseField name={"statusCode"} type={"number"} />
