# precondition_failed

> The precondition_failed Problem Details code: HTTP `412`

Source: https://docs.nexafone.so/v1/errors/precondition_failed/

| | |
| --- | --- |
| HTTP status | `412` |
| Area | General |
| Problem `type` | `https://docs.nexafone.so/errors/precondition_failed` |

## Handling it

A precondition failed; read the current state and retry.

## Example

```json
{
  "type": "https://docs.nexafone.so/errors/precondition_failed",
  "title": "Precondition Failed",
  "status": 412,
  "code": "precondition_failed",
  "detail": "A human-readable explanation of this occurrence.",
  "requestId": "01J9Z8Q4TQ3W6M5V2X7Y8Z9A0B"
}
```

Match on `code`, never on `detail`: the wording may change. See [Problem Details](/v1/errors/).
