What 511 means
Sent by captive portals at hotels, airports and cafés before you've accepted their terms.
Common causes
- Public Wi-Fi that needs you to sign in through a browser.
How to fix it
If you're calling an API
- Open a browser, complete the portal login, then retry.
If you run the server
- Captive portals only.
Should you retry?
After signing in to the network.
Example response
HTTP/1.1 511 Network Authentication Required
Content-Type: application/problem+json
{
"type": "about:blank",
"title": "Network Authentication Required",
"status": 511,
"detail": "You need to log in to the network (e.g. Wi-Fi captive portal) first."
}Defined in: RFC 6585. 511 is a server error: the problem is on the server's side.
Debugging an API call? Convert your request with the cURL converter, check the response with the JSON formatter, or see whether the API is down on its status page.