> ## Documentation Index
> Fetch the complete documentation index at: https://docs.particle.pro/llms.txt
> Use this file to discover all available pages before exploring further.

# version_conflict

> Someone else changed the resource since the version you sent

| | |
| - | - |
| **HTTP status** | `412 Precondition Failed` |
| **Error code** | `version_conflict` |
| **Resolve action** | `reload_resource` |

## What happened

The request carried an `If-Match` header naming the version it was made against, and the resource has moved past that version: another edit was saved first. Applying this one would have overwritten it, so nothing was changed. The `detail` names the current version, and `resolve.endpoint` is where to read it.

## How to fix

Read the resource again, reapply your change to what you get back, and send it with `If-Match` set to the new `version`. To overwrite whatever is there, leave `If-Match` out.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.