Error 412
The 412 Precondition Failed
status code indicates that the server denies the request because the resource does not meet the conditions specified by the client.
For more details, refer to RFC 7232 ↗.
One common use case for the 412 Precondition Failed
status code is version control. For example, a client modifying an existing resource may set the If-Unmodified-Since
header to ensure the resource has not been changed since the client downloaded it for editing. If another client edits the resource after the specified date but before the original client uploads their changes, the server will return a 412
response to prevent overwriting the newer updates.
Cloudflare may serve this response: for more information please refer to ETag Headers.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark