HTTP 300 Multiple Choices — What It Means & How to Fix It
Warning3xx redirection
Overview
The HTTP 300 Multiple Choices status code indicates there are multiple possible responses for the request, and the user or user agent should choose one.
Key Details
- This status code is used when a resource has multiple representations available.
- The response typically includes a list of options with their URIs and content types.
- The server may indicate a preferred choice via the Location header.
- It is rarely used in practice as most servers make the choice automatically.
Common Causes
- A resource exists in multiple formats like HTML, JSON, or XML.
- Content negotiation could not determine a single best representation.
- A URL maps to multiple versions of a document.
Steps
- 1Review the response body for available options and their URLs.
- 2Use the Location header if the server indicates a preferred choice.
- 3Send proper Accept headers in your request to help the server choose automatically.
- 4Implement content negotiation on your server to avoid ambiguous 300 responses.
Tags
httpredirectioncontent-negotiationmultiple-choices
Related Items
More in 3xx Redirection
http-301-moved-permanentlyHTTP 301 Moved Permanently — What It Means & How to Fix It
Warninghttp-302-foundHTTP 302 Found — What It Means & How to Fix It
Warninghttp-303-see-otherHTTP 303 See Other — What It Means & How to Fix It
Warninghttp-304-not-modifiedHTTP 304 Not Modified — What It Means & How to Fix It
Warninghttp-305-use-proxyHTTP 305 Use Proxy — What It Means & How to Fix It
Warninghttp-307-temporary-redirectHTTP 307 Temporary Redirect — What It Means & How to Fix It
WarningFrequently Asked Questions
It means the requested resource has multiple representations and the client needs to choose one. The response provides a list of options.