Web & APIsBeginner
Status Code
PronunciationSTAY-tus KOHD
Definition
A three-digit number in an HTTP response that tells the result: 200 means OK, 404 not found, 500 server error.
Where you hear it
Debugging APIs, logs, and error reports.
Examples
The API returns 401 when the token is missing.
A 500 means the bug is on the server, not in your request.
Common mistake
Returning 200 with an error message inside. Use the right code so clients can react correctly.