Omono API
Menu Errors

Errors

duplicate-name

View as Markdown

HTTP 409 Duplicate company name

What it means#

Another company already uses this companyName. conflictingId names the record that already has the value, unless another request was writing it at the same moment.

What to do#

Look up the existing record with GET /companies?companyName=<name>&archived=any; update it, or choose another name. If it finds nothing, 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-name and its type is the address of this page. If you contact Omono about the error through the in-app chat, quote the response's requestId.