The most common auth-related status codes.
Section: Common API Response Patterns
Authentication and authorization codes
text
text
401 Unauthorized
403 Forbidden
407 Proxy Authentication RequiredExplanation
`401` typically means authentication is required or invalid, while `403` usually means the server understood the request but refuses it. `407` is the proxy-auth equivalent of `401`.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Common API Response Patterns
Rate limiting and overload codes
Responses commonly used when a client must back off.
HTTP status code classes
Understand the five categories of HTTP responses.
Debug status codes in the right order
A quick flow for deciding where a problem lives.
Check headers and status with curl
Inspect the response line and headers only.