Error Codes Wiki

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

  1. 1Review the response body for available options and their URLs.
  2. 2Use the Location header if the server indicates a preferred choice.
  3. 3Send proper Accept headers in your request to help the server choose automatically.
  4. 4Implement content negotiation on your server to avoid ambiguous 300 responses.

Tags

httpredirectioncontent-negotiationmultiple-choices

Related Items

More in 3xx Redirection

Frequently Asked Questions

It means the requested resource has multiple representations and the client needs to choose one. The response provides a list of options.