# Problem type: precondition-failed

**412 Precondition Failed.** The `If-Match` or `If-None-Match` header of the request does not hold.

`type`: `https://code.salaxy.com/problems/precondition-failed`

## When

On the [payment channel config](https://code.salaxy.com/integration/company-settings.md#payment-channel-config) endpoints (v04 beta):

- `If-Match` does not match the stored version, or names a config that does not exist. This also applies when the config changed during a write with `If-Match`, a `DELETE` included.
- `If-None-Match: *` on a `PUT` when a config already exists.

## What to do

Someone changed the config after you read it. Read it again with `GET`, check that your change still applies, and send it with the new `ETag` as `If-Match`.

See all [problem types](https://code.salaxy.com/problems/index.md).
