# `duplicate-external-ref`

HTTP 409: Duplicate external reference

## What it means

Another record of the same kind in your organisation already uses this `externalRef`, archived and cancelled records included, or another line item of the same document does. `conflictingId` names the record or line item that already has the value, unless another request was writing it at the same moment.

## What to do

It is usually the record you sent before: read it by `conflictingId`, or find it with the list's `externalRef` filter and `archived=any`, instead of creating it again. To give the reference to another record, change or remove it on the old one first. If nothing has it, another request was writing the same value and did not keep it: retry yours.

## The error response

Every error response has an `application/problem+json` body. For this error, its `code` is `duplicate-external-ref` and its `type` is `https://api.omono.co/docs/errors/duplicate-external-ref`. If you contact Omono about the error through the in-app chat, quote the response's `requestId`.
