Pizza VPN RU

Why did saving with If-Match return HTTP 412?

A precondition on the request evaluated to false. In an editor this can protect a newer version from being overwritten by a stale copy.

HTTP status directory · 412 Precondition Failed

What to check

Keep your edits separately and retrieve the current object and its ETag. Merge changes using the workflow supported by the service.

Interpreting the result

Removing the condition just to make the request succeed could overwrite somebody else's work.

Why did editing a document end in HTTP 409?

Definition in the standard · 412 · IANA registry