511 Network Authentication Required

Log in to the network first.

Status code
511
Reason phrase
Network Authentication Required
Class
5xx Server errors

What does 511 Network Authentication Required mean?

Returned by captive portals (hotel or airport Wi-Fi) that require login before internet access.

Common causes

How to fix it

511 and webhooks

Not used.

Test how your client handles 511

In the webhook tester you can add a response rule that answers 511 — useful to check retries, error handling and alerts before production.

FAQ

What does HTTP 511 mean?

Log in to the network first. Returned by captive portals (hotel or airport Wi-Fi) that require login before internet access.

Is 511 an error?

Yes — a server error: the request may succeed if retried later.

Other 5xx codes

500 Internal Server Error · 501 Not Implemented · 502 Bad Gateway · 503 Service Unavailable · 504 Gateway Timeout · 505 HTTP Version Not Supported · 507 Insufficient Storage · 508 Loop Detected · 520 Web Server Returned an Unknown Error · 521 Web Server Is Down · 522 Connection Timed Out · 523 Origin Is Unreachable · 524 A Timeout Occurred · 525 SSL Handshake Failed · 526 Invalid SSL Certificate

← 508   All status codes   520 →

About HTTP 511

The status line “HTTP/1.1 511 Network Authentication Required” belongs to the 5xx family — server errors, where the request may be fine but the server failed.

A 511 is usually safe to retry with exponential backoff; most payment providers retry webhooks that got a 511.

In monitoring, alert on the rate of 511 responses rather than single events, and split by endpoint to find the source.