HTTP 415

HTTP 415 Unsupported Media Type โ€” Meaning, Causes & How to Fix

The request body is in a format not supported by the server for this resource.

Code
415
Name
Unsupported Media Type
Class
4xx Client Error
Specification
RFC 9110 ยง15.5.16
Cacheable by default
Only with explicit Cache-Control / Expires

What HTTP 415 means

415 Unsupported Media Type means the server refuses the request because the body format (its Content-Type or Content-Encoding) is not supported by this endpoint.

Common causes

How to fix it

For site owners

For visitors & developers

SEO impact

No SEO impact: it relates to request bodies, not page fetches.

Example 415 response

HTTP/1.1 415 Unsupported Media Type
Accept-Post: application/json
Content-Length: 0

Related status codes

406 ยท Not Acceptable400 ยท Bad Request422 ยท Unprocessable Entity413 ยท Payload Too Large401 ยท Unauthorized402 ยท Payment Required403 ยท Forbidden404 ยท Not Found

Check or look up another code

Search and filter every code in the HTTP Status Codes tool, browse the full list by class, or read HTTP status codes explained: the complete developer guide.

Open HTTP Status Codes tool โ†’All status codes

Frequently asked questions

What does HTTP 415 mean?

HTTP 415 Unsupported Media Type is a 4xx Client Error status code. The request body is in a format not supported by the server for this resource.

Why do I get 415 when my JSON is valid?

Usually the Content-Type header is missing or wrong (e.g. text/plain). Set it to application/json.

Which specification defines 415?

It is defined in RFC 9110 ยง15.5.16.

Is a 415 response cacheable?

Not by default. A 415 response is only stored by caches when it carries explicit freshness information such as Cache-Control: max-age or Expires.

More PAYATE tools