HTTP

HTTP 415 Unsupported Media Type vs 530 Site Frozen

HTTP 415 (Unsupported Media Type) is a 4xx Client Error response, while 530 (Site Frozen) is a 5xx Server Error response. 415 indicates that the server refuses to accept the request because the Content-Type is not supported. In contrast, 530 means that cloudflare-specific. Used by Pantheon hosting to indicate a frozen site.

Description

The server refuses to accept the request because the Content-Type is not supported.

When You See It

When sending JSON to an endpoint that only accepts XML, or missing the Content-Type header.

How to Fix

Set the correct Content-Type header matching the data format you're sending.

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

1.

415 is a 4xx Client Error response, while 530 is a 5xx Server Error response.

2.

HTTP 415: The server refuses to accept the request because the Content-Type is not supported.

3.

HTTP 530: Cloudflare-specific. Used by Pantheon hosting to indicate a frozen site.

4.

You encounter 415 when when sending JSON to an endpoint that only accepts XML, or missing the Content-Type header.

5.

You encounter 530 when when a site on Pantheon hosting has been frozen due to inactivity.

When to Use Which

For 415 (Unsupported Media Type): Set the correct Content-Type header matching the data format you're sending. For 530 (Site Frozen): Reactivate the site on the hosting platform.

Learn More