What does HTTP status code 407 mean?
The 407 Proxy Authentication Required status code indicates that the client must authenticate itself through an intermediary proxy server before the request can proceed to the destination.
When to use it in APIs
Rarely used in public API backends; typically thrown by enterprise proxy firewalls.
How it compares to other codes
- 401 Unauthorized: Identifies authentication needed by the destination origin server, whereas 407 identifies proxy server authentication.