Integrations

The integration returned 412 with If-Match: reconcile the version before writing again

An integration reads a record and prepares a change, but saving returns 412. If it uses If-Match under the API's contract, the version read may have changed before writing. Repeating the request or removing its condition does…

2 min readLast updated November 4, 2026
A developer and colleague reviewing a connection between business systems

An integration reads a record and prepares a change, but saving returns 412. If it uses If-Match under the API's contract, the version read may have changed before writing. Repeating the request or removing its condition does not resolve the conflict decision.

What connects reading and writing?

The If-Match reference explains conditioning a request on an ETag, including protecting a write from overwriting a change made since reading. The API must actually support this contract: adding a header yourself does not create an undeclared safeguard.

Preserve the reference as supplied and use it according to documentation. If-Match uses strong comparison; a tag beginning W/ does not become suitable merely by manually removing the prefix. Do not reshape it to fit local expectations or confuse it with a customer reference or operation idempotency key.

Read the failed condition

The 412 reference explains a failed precondition on a conditional request. This differs from password rejection and does not automatically mean the server is down. Begin with API documentation, safe headers and the version underlying the modification.

Suppose a follow-up system reads a delivery address, then an authorised person corrects it before the integration saves an older copy containing another change. Version protection may have prevented that correction being lost. The integration cannot restore the old address merely because its other change remains necessary.

Reconcile before making a new decision

Retrieve current state through the permitted method and compare it with the original read and intended modification. Decide what can apply and what needs an authorised decision, then prepare a new request based on that review. Pasting the latest ETag onto an unchanged old body undermines the protection.

This describes an external API supporting conditional writes. It does not claim all Taloo APIs use ETag. It also differs from out-of-order incoming updates and Taloo flow-draft revision conflicts.

Use a synthetic acceptance case that changes between read and save, without experimenting on customer records. Record that the expected rejection preserved the change, then review reconciliation and its outcome. Successful testing includes preventing an inappropriate write, not obtaining success responses for every request.