HTTP

HTTP 300 Multiple Choices vs 511 Network Authentication Required

HTTP 300 (Multiple Choices) is a 3xx Redirection response, while 511 (Network Authentication Required) is a 5xx Server Error response. 300 indicates that the request has more than one possible response. The client should choose one of them. In contrast, 511 means that the client needs to authenticate to gain network access. Used by captive portals (hotel/airport WiFi).

Description

The request has more than one possible response. The client should choose one of them.

When You See It

When a resource is available in multiple formats (e.g., different languages or media types).

How to Fix

Select the appropriate resource variant. Send an Accept header with your preferred content type.

Description

The client needs to authenticate to gain network access. Used by captive portals (hotel/airport WiFi).

When You See It

When connecting to WiFi that requires login (airport, hotel, coffee shop).

How to Fix

Open a browser and complete the captive portal login process.

Key Differences

1.

300 is a 3xx Redirection response, while 511 is a 5xx Server Error response.

2.

HTTP 300: The request has more than one possible response. The client should choose one of them.

3.

HTTP 511: The client needs to authenticate to gain network access. Used by captive portals (hotel/airport WiFi).

4.

You encounter 300 when when a resource is available in multiple formats (e.g., different languages or media types).

5.

You encounter 511 when when connecting to WiFi that requires login (airport, hotel, coffee shop).

When to Use Which

For 300 (Multiple Choices): Select the appropriate resource variant. Send an Accept header with your preferred content type. For 511 (Network Authentication Required): Open a browser and complete the captive portal login process.

Learn More