Damit du nicht jedes Mal die Spezifikation nachschlagen musst, haben wir die in der Praxis am häufigsten auftretenden Statuscodes klassenweise zusammengestellt. Ein Klick auf jeden Code in der Liste unten führt dich zu einer Detailseite mit Bedeutung, Auftreten, Ursachen und Lösungen.
Schnelle Faustregeln: 2xx bedeutet Erfolg, 3xx eine Verschiebung (Weiterleitung), 4xx ein Problem der Anfrage (Client) und 5xx ein Serverproblem. Siehst du ein 4xx, prüfe zuerst die Anfrage-URL, die Header und die Authentifizierung; siehst du ein 5xx, prüfe zuerst die Serverprotokolle und den Zustand des Backends.
Häufig genutzte Statuscodes auf einen Blick
2xxErfolg (Success)
3xxWeiterleitung (Redirection)
4xxClient-Fehler (Client Error)
400Bad Request HäufigThe server cannot process the request due to a client error such as malformed syntax.401Unauthorized HäufigAuthentication is required and has failed or not been provided (i.e. unauthenticated).403Forbidden HäufigThe server understood the request but refuses to authorize it. Re-authenticating will not help.404Not Found HäufigThe server cannot find the requested resource. The most well-known status code.405Method Not Allowed HäufigThe HTTP method is known but not supported for the target resource.409Conflict HäufigThe request conflicts with the current state of the resource.422Unprocessable Content HäufigThe request is well-formed but has semantic errors (e.g. validation failed).429Too Many Requests HäufigThe client has sent too many requests in a given time (rate limiting).
5xxServer-Fehler (Server Error)
500Internal Server Error HäufigA generic catch-all: the server hit an unexpected condition and could not complete the request.502Bad Gateway HäufigA gateway or proxy received an invalid response from an upstream server.503Service Unavailable HäufigThe server is temporarily unable to handle the request due to overload or maintenance.504Gateway Timeout HäufigA gateway or proxy did not get a timely response from an upstream server.