# 406 Not Acceptable

> A 406 means the server cannot match your Accept headers and refuses a default. Learn which headers cause it and how visitors, API clients and admins fix it.

Canonical: https://scaplet.com/errors/http/406

Guide Error · HTTP status codes

A 406 means the server cannot match your Accept headers and refuses a default. Learn which headers cause it and how visitors, API clients and admins fix it.

4 min

read

6

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

406 4xx · Client error

The short answer

A 406 Not Acceptable response means the server cannot offer a version of the resource that fits the request's content negotiation headers (Accept, Accept-Language, Accept-Encoding) and refuses to supply a default. Clients should send broader headers such as `Accept: */*`. Server owners should serve a default format instead of rejecting the request.

1. [What does 406 Not Acceptable mean?](#what-does-406-not-acceptable-mean)
2. [Why servers return it, and why they usually shouldn't](#why-servers-return-it-and-why-they-usually-shouldn-t)
3. [How to fix it](#how-to-fix-it)
4. [What it does to SEO](#what-it-does-to-seo)

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F406%20(%22406%20Not%20Acceptable%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F406%20(%22406%20Not%20Acceptable%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F406%20(%22406%20Not%20Acceptable%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F406%20(%22406%20Not%20Acceptable%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

_01_Explained

## What does 406 Not Acceptable mean?

RFC 9110 says the 406 status indicates that the target resource has no current representation acceptable to the [user agent](/glossary/user-agent), according to the proactive negotiation header fields in the request, and the server is unwilling to supply a default representation. In practice the client asked for a format, language or encoding the server will not provide.

The headers involved are `Accept` (media types), `Accept-Language` and `Accept-Encoding`. Cloudflare's docs give the example of a client asking for a language or character set the server doesn't support.

It is a request problem like a [400](/errors/http/400), but narrower: the request is valid, it just can't be satisfied in the format requested. A server that refuses the body type the client sent uses [415](/errors/http/415) instead, and a [405](/errors/http/405) is about the method.

_02_Where a 406 comes from

## Why servers return it, and why they usually shouldn't

MDN notes that a server may return responses that differ from the request's accept headers, and that a 200 response with a default resource that doesn't match the client's list may be preferable to sending a 406. Cloudflare says the same: to avoid a 406 the server can serve a less preferred option instead of rejecting the request.

Source

### API with strict content negotiation

Typical trigger

`Accept: application/xml` on a JSON-only endpoint

Fix

Send an `Accept` the API supports, such as `application/json`, or `*/*`

Source

### Apache with negotiated variants

Typical trigger

No variant satisfies the browser's headers

Fix

Provide a default variant, or set `ForceLanguagePriority Fallback` for language mismatches

Source

### Client or script sending odd headers

Typical trigger

A hard-coded `Accept` that excludes the real type

Fix

Remove or broaden the header

Source

### Language or charset the site lacks

Typical trigger

`Accept-Language` with no matching version

Fix

Offer a default language version

If a server does return a 406, RFC 9110 says it should include content listing the available representation characteristics and resource identifiers so the user or client can choose one. MDN adds that there is no standard way to do this.

Apache's content-negotiation docs describe the last step of the algorithm: if no variant is acceptable to the browser, it returns a 406 status with a body listing the available variants, and sets the `Vary` header to indicate the dimensions of variance. This is a standard `mod_negotiation` behavior, so check it if your site uses `MultiViews` or type maps. For language mismatches, `mod_negotiation` has a documented way out: `ForceLanguagePriority Fallback` serves the first variant from `LanguagePriority` instead of returning a 406 when none matches the client's `Accept-Language`. The default is `Prefer`, which does not do that.

Apache: serve a default language instead of a 406

```
LanguagePriority en fr de ForceLanguagePriority Fallback
```

_03_How it works

## How to fix it

1. 1

### Visitors: reload and try another browser

If a page only fails in one browser, an extension or an unusual setting may be changing the request headers. A private window with extensions off rules that out.
2. 2

### Check the request headers

Open DevTools or run `curl -v` and read the `Accept`, `Accept-Language` and `Accept-Encoding` lines the client really sent.
3. 3

### Retry with a broad Accept header

`curl -H 'Accept: */*' https://example.com/resource`. If that returns 200, your original header was too narrow for the server.
4. 4

### API clients: match the documented format

Request one of the media types the API lists. If you need a different format, the API may use a file extension or a query parameter instead.
5. 5

### Server owners: add a default

Serve the default representation when nothing matches, and log 406s to find which headers real clients send.

Compare a narrow and a broad request

```
curl -i -H 'Accept: application/rtf' https://example.com/docs/doc1 curl -i -H 'Accept: */*' https://example.com/docs/doc1
```

_04_Explained

## What it does to SEO

A 406 on a public page means a server rule is refusing requests with certain headers. Google treats it like other 4xx codes except 429: content isn't used, and an indexed URL that starts returning it is removed from the index. If [Search Console](/glossary/google-search-console) shows 406s, fetch the URL with a broad `Accept` header and check what your server or firewall does with other headers. See [4xx errors](/seo-issues/4xx-errors).

Sources · 6

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- rfc-editor.org
- mozilla.org
- cloudflare.com
- apache.org
- google.com

1. 01 [RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110.html) rfc-editor.org · checked 2026-10-25
2. 02 [406 Not Acceptable - HTTP - MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/406) developer.mozilla.org · checked 2026-10-25
3. 03 [Error 406: Not Acceptable - Cloudflare Support docs](https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/error-406/) developers.cloudflare.com · checked 2026-10-25
4. 04 [Content Negotiation - Apache HTTP Server 2.4](https://httpd.apache.org/docs/2.4/content-negotiation.html) httpd.apache.org · checked 2026-10-25
5. 05 [mod_negotiation - Apache HTTP Server 2.4](https://httpd.apache.org/docs/2.4/mod/mod_negotiation.html) httpd.apache.org · checked 2026-10-25
6. 06 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-10-25

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ What does the 406 server error mean?

The server cannot produce a response that matches the Accept, Accept-Language or Accept-Encoding headers in the request, and it will not send a default. The client asked for something the server will not provide.

_02_ How do I fix a 406 Not Acceptable error?

Send broader headers, for example `Accept: */*`, or request a format the server supports. If you run the server, return a default representation instead of a 406, and list the available formats.

_03_ Is a 406 error a client or a server problem?

It is classed as a client error, because the request headers don't match what the server offers. The server's refusal to fall back to a default is a design choice that owners can change.

_04_ What is the difference between 406 and 415?

A 406 is about what the client wants back (Accept headers). A 415 is about the format of the data the client sent. Both mean the formats do not match, in different directions.

## Keep learning

[All errors](/errors)

[Learn 415 Unsupported Media Type HTTP status codes](/errors/http/415) [Related 4xx errors Status codes and links](/seo-issues/4xx-errors) [Read next HTTP 400 Bad Request HTTP status codes](/errors/http/400) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in errors
[405 Method Not Allowed in Apache](/errors/http/405/apache) [405 Not Allowed in nginx](/errors/http/405/nginx) [HTTP 407 Proxy Authentication Required](/errors/http/407) [HTTP 408 Request Timeout](/errors/http/408)

More in HTTP status codes
[HTTP 431 Request Header Fields Too Large](/errors/http/431) [HTTP 499 Client Closed Request](/errors/http/499) [HTTP 500 Internal Server Error](/errors/http/500) [HTTP 501 Not Implemented](/errors/http/501) [HTTP redirect codes](/errors/http/http-redirect-codes) [HTTP status code list](/errors/http/http-status-code-list) [REST API status codes](/errors/http/rest-api-status-codes) [100 Continue](/errors/http/100) [101 Switching Protocols](/errors/http/101) [402 Payment Required](/errors/http/402) [403 Forbidden](/errors/http/403) [404 Not Found](/errors/http/404) [406 Not Acceptable](/errors/http/406) [411 Length Required](/errors/http/411) [413 Request Entity Too Large](/errors/http/413) [414 URI Too Long](/errors/http/414) [415 Unsupported Media Type](/errors/http/415) [416 Range Not Satisfiable](/errors/http/416) [417 Expectation Failed](/errors/http/417) [418 I'm a Teapot](/errors/http/418) [421 Misdirected Request](/errors/http/421) [422 Unprocessable Content (Unprocessable Entity)](/errors/http/422) [423 Locked](/errors/http/423) [424 Failed Dependency](/errors/http/424)

Terms on this page
[User agent](/glossary/user-agent) [Google Search Console](/glossary/google-search-console)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
