HTTP Code: 415 (Unsupported Media Type)
HTTP-Statuscode-Referenzhandbuch
Status-Kategorie
4xx — Client-Fehler
Bedeutung & Definition
Der Server lehnt die Anfrage ab, da das Format des Mediums nicht unterstützt wird.
Häufige Ursachen
- Senden von `text/plain` an eine API, die `application/json` erwartet
HTTP-Statusfehler beheben
1. Protokolle prüfen: Fehlerprotokolle (z. B. error.log) analysieren, um Laufzeitfehler zu finden.
2. Endpoint testen: Nutzen Sie unseren Uptime-Checker, um Antwort-Header und Verbindungslatenz zu prüfen.
3. Regeln definieren: Fügen Sie Umleitungsregeln oder Fehlerseiten in Nginx/Apache hinzu.
Nginx Konfiguration
# Configure valid MIME types include mime.types;
Apache Konfiguration
AddType application/json .json
HTTP Diagnostic Tools
Authoritative Standards
IETF RFC 9110 — HTTP Semantics (June 2022, current standard)MDN Web Docs — HTTP Response Status Codes ReferenceIANA HTTP Status Code Registry
HTTP status codes standardized in RFC 9110. IANA maintains the official registry of all assigned codes.