HTTP 428 Precondition Required vs 530 Site Frozen
HTTP 428 (Precondition Required) is a 4xx Client Error response, while 530 (Site Frozen) is a 5xx Server Error response. 428 indicates that the server requires the request to be conditional (e.g., include If-Match header) to prevent lost updates. In contrast, 530 means that cloudflare-specific. Used by Pantheon hosting to indicate a frozen site.
Description
The server requires the request to be conditional (e.g., include If-Match header) to prevent lost updates.
When You See It
When an API requires optimistic concurrency control via ETags.
How to Fix
Fetch the resource first to get its ETag, then include If-Match in your update request.
Description
Cloudflare-specific. Used by Pantheon hosting to indicate a frozen site.
When You See It
When a site on Pantheon hosting has been frozen due to inactivity.
How to Fix
Reactivate the site on the hosting platform.
Key Differences
428 is a 4xx Client Error response, while 530 is a 5xx Server Error response.
HTTP 428: The server requires the request to be conditional (e.g., include If-Match header) to prevent lost updates.
HTTP 530: Cloudflare-specific. Used by Pantheon hosting to indicate a frozen site.
You encounter 428 when when an API requires optimistic concurrency control via ETags.
You encounter 530 when when a site on Pantheon hosting has been frozen due to inactivity.
When to Use Which
For 428 (Precondition Required): Fetch the resource first to get its ETag, then include If-Match in your update request. For 530 (Site Frozen): Reactivate the site on the hosting platform.