Disclosure: This draft was generated with AI assistance for GILNEX editorial review. The SQL is an illustrative example, not a verified production implementation. References checked November 27, 2026.
A customer taps Submit, the network times out, and the browser retries. Did the first request fail, or did the response disappear after the server committed? A reliable intake system must handle both possibilities without producing two appointments, two notifications, or two CRM records.
Define the operation, not just the request
A retry key identifies one intended operation. Generate it once for the submission and reuse it after a timeout. Scope it to the authenticated tenant and operation type. Derive the tenant on the server; never trust a tenant identifier supplied by a browser.
Persist a normalized request fingerprint. If the same key arrives with a different payload, reject it as a conflict rather than silently accepting the changed request.…