WebmasterID logoWebmasterID
Crawl diagnostics

HTTP 415 Unsupported Media Type

HTTP 415 Unsupported Media Type is returned when the origin refuses a request because its payload is in a format the target resource does not support — for example sending XML to an endpoint that only accepts JSON, or omitting the Content-Type header. It is a request-format error on the write path, so read-only page crawling does not normally produce it.

Verified against primary sources

What 415 means

415 Unsupported Media Type, defined in RFC 9110, indicates the server is refusing the request because the payload format is unsupported for the target resource. This is usually about the Content-Type (and sometimes Content-Encoding) the client declared, or a missing Content-Type altogether.

A typical example: an API endpoint that only consumes application/json receives a request with text/xml or no Content-Type, and answers 415 rather than attempting to parse it.

415 versus 406 and crawling

Do not confuse 415 with 406 Not Acceptable. 415 is about the format the client sent (the request body); 406 is about the format the client is willing to receive (the Accept header). They sit on opposite sides of negotiation.

Search crawlers requesting HTML pages do not normally trigger 415, because GET requests have no body to reject. When 415 appears, look at API clients and their Content-Type headers, not at your indexable content.

How it appears in analytics and logs

A 415 means the server understood the request but rejected the body's format or its declared Content-Type. It points to a client/endpoint format mismatch on POST/PUT/PATCH, not to a page-indexing issue.

Diagnostic use case

Diagnose API calls failing with 415 by sending the Content-Type the endpoint expects, and confirm that page crawling is unaffected by media-type negotiation.

What WebmasterID can help detect

WebmasterID surfaces status codes for traffic, helping you separate API media-type errors (415) from the page-fetch traffic that drives indexing.

Common mistakes

Privacy and accuracy notes

A 415 is a content-format status with no personal data. WebmasterID records the status without storing the request payload.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.