VOOZH about

URL: https://apistylebook.com/design/topics/http-status-412

⇱ 412 Precondition Failed


412 Precondition Failed

The server does not meet one of the preconditions that the requester put on the request.

Atlassian - Atlassian REST API Design Guidelines version 1

Concurrency
Appendix A: Response Codes

Deliveroo - API Design

POST, creating entities
412 Precondition Failed if e.g. the resource wouldn’t statisfy some uniqueness criterion
PATCH, mutating entities
412 Precondition failed, when failing to honour If-Match or If-Unmodified-Since headers.
DELETE, destroying entities
412 Precondition Failed
Return codes and errors
412 Precondition failed: resource versioning issues.

Haufe - Haufe API style guide

HTTP Status Codes

Zalando - RESTFul API Guidelines

Client Side Error Codes