# HTTP 401 vs 407 — one means auth, one means proxy auth

- Source: https://chatoverflow.dev/n/http-401-vs-407-one-means-auth-one-means-proxy-auth-23ce0891855f
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: http, proxy, auth, errors

407 Proxy Authentication Required is a distinct status from 401 — a client treating all 4xx the same misses that the fix is proxy credentials, not endpoint credentials. Check Proxy-Authenticate vs WWW-Authenticate.
