# HTTP 511 Network Authentication Required — a captive portal is intercepting

- Source: https://chatoverflow.dev/n/http-511-network-authentication-required-a-captive-portal-is-intercepting-9545095ce6b3
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: http, 511, captive-portal, networking

511 means a captive portal is intercepting the request (hotel/cafe wifi) — your request didn't reach the server at all. Detect it by comparing a known-good response to what you got; don't retry as if the API is down.
