Diese Seite ist noch nicht auf Deutsch verfügbar, daher zeigen wir die englische Version.

HTTP 415 Unsupported Media Type

The server does not support the format of the request body.

Aktualisiert am

415
Unsupported Media Type
4xx Client error
Class
RFC 9110 §15.5.16
Defined in

What does HTTP 415 mean?

The server does not support the format of the request body. Usually a wrong or missing Content-Type header — for example sending JSON without Content-Type: application/json, or uploading an image type the endpoint does not accept.

4xx Client error: The request has a problem the client can fix: wrong URL, missing credentials, bad data or too many requests.

Common causes of a 415 error

  • Missing or wrong Content-Type header.

How to fix 415 Unsupported Media Type

  • Set the correct Content-Type for the body you send.

415 and SEO

Not relevant for crawling.

Example response

HTTP/1.1 415 Unsupported Media Type

How to return a 415 response

Node.js (Express)

res.status(415).json({ error: 'Unsupported Media Type' });

PHP

http_response_code(415);

Python (Flask)

return {'error': 'Unsupported Media Type'}, 415

Go (net/http)

w.WriteHeader(415)

nginx

return 415;

Related status codes

Check which status code a URL returns with the HTTP header checker.

All HTTP status codesSearch the full list of status codes from 100 to 599 with their meanings and SEO impact.
Open the full list

Häufige Fragen

What does status code 415 mean?
415 Unsupported Media Type: The server does not support the format of the request body.
How do I fix a 415 error?
Set the correct Content-Type for the body you send.
Does 415 affect SEO?
Not relevant for crawling.