Category: Forms and APIs

HTTP 409 Conflict When Creating an Existing Record

Read this guide in Polish

A resubmit form tries to save an existing order ID.

How to identify the source of the problem

Check the unique business key and number of repeat requests from the same source.

Save method, status, headers and anonymized body requests and answers.

Repair steps

Enter idempotency key or controlled upsert only for operations that are allowed to repeat safely.

How to Test Solution

Two identical requests do not create two orders or overwrite a foreign record.

Security and restrictions

Do not disable authorization or validation of webhook signature for status 200. Wash the tokens in the logs.