HTTP 415 Unsupported Media Type — What It Means
What HTTP status code 415 Unsupported Media Type means, when servers return it, and how to handle it correctly.
Published September 24, 2026
HTTP 415 Unsupported Media Type — The request's payload format isn't supported by the server.
Key points
- Means the server can't process the format of the request body
- Common when sending XML to an endpoint that only accepts application/json
- Check that the Content-Type header actually matches the format of the body being sent