HTTP Error Code 415
The request body format is not supported by the server.
The request body format is not supported by the server.
| Code | 415 |
| Product | HTTP |
| Company / origin | IETF / IANA · International standard |
| Category | Protocols & Standards |
| Platform / versions | HTTP/1.1, HTTP/2, HTTP/3 · All HTTP versions |
| Severity | warning |
| Official source | RFC 9110: HTTP Semantics ↗ |
| Last verified | 2026-11-08 |
What does HTTP error 415 mean?
HTTP 415 means the server does not accept the media type declared in the Content-Type header, or the body cannot be parsed as that type. A common example is sending JSON while the endpoint expects form data or XML.
Common causes
- The Content-Type header is missing, wrong, or includes an unsupported charset.
- The body is JSON but the endpoint only accepts form-encoded data.
- A client library sends a default content type that the API does not support.
How to fix it
- Step 1
Set Content-Type to the exact media type documented by the API.
- Step 2
Encode the body in the matching format, including any required charset.
- Step 3
If the API accepts multiple formats, confirm which one the endpoint expects for this operation.
When to escalate
Related codes
| Code | Name | What it means |
|---|---|---|
400 | Bad Request | The server cannot process the request because the syntax or parameters are invalid. |
422 | Unprocessable Content | The request is syntactically valid but fails semantic validation. |
401 | Unauthorized | Authentication is missing, expired, or invalid. |
403 | Forbidden | The server understood the request but refuses to authorize it. |
404 | Not Found | The requested resource does not exist at this URL. |
Source & verification
This page was checked against RFC 9110: HTTP Semantics on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.
Open Error Codes is independent and not affiliated with IETF / IANA. Always confirm destructive or security-sensitive steps with the official documentation.