# 417 Expectation Failed

> A 417 means a server or proxy cannot meet the request

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

Guide Error · HTTP status codes

A 417 means a server or proxy cannot meet the request's Expect header, usually Expect: 100-continue. See how to retry without it and where it comes from.

3 min

read

4

sources

Oct 23, 2026

updated

Scaplet Editorial Team

author

417 4xx · Client error

The short answer

A 417 Expectation Failed error means the server, or a proxy on the way, could not meet the expectation in the request's Expect header, which in practice is almost always Expect: 100-continue. The client's Expect header caused it. Repeat the request without the Expect header and send the body straight away.

1. [What a 417 means and who causes it](#what-a-417-means-and-who-causes-it)
2. [How to get past a 417 as a visitor](#how-to-get-past-a-417-as-a-visitor)
3. [How to find and fix it as a developer](#how-to-find-and-fix-it-as-a-developer)
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%2F417%20(%22417%20Expectation%20Failed%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%2F417%20(%22417%20Expectation%20Failed%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%2F417%20(%22417%20Expectation%20Failed%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%2F417%20(%22417%20Expectation%20Failed%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

_01_Where a 417 comes from

## What a 417 means and who causes it

RFC 9110 says the 417 (Expectation Failed) [status code](/glossary/http-status-codes) "indicates that the expectation given in the request's Expect header field" (Section 10.1.1) "could not be met by at least one of the [inbound](/glossary/inbound-marketing) servers". The only expectation RFC 9110 defines is 100-continue, and a server that receives another one "MAY respond with a 417".

Cause

### Client adds Expect: 100-continue to a request

Where to look

Request headers in curl -v or DevTools

Fix

Remove the header and resend

Cause

### A proxy or gateway does not support expectations

Where to look

Compare a direct request to the origin with one through the proxy

Fix

Disable Expect on the client, or upgrade the proxy

Cause

### Server rejects any Expect value

Where to look

Server or framework docs

Fix

Return 100 for 100-continue, or leave Expect unsupported and let clients retry

Cause

### Unknown expectation token in the header

Where to look

The Expect header value

Fix

Only send 100-continue

For a 100-continue request, RFC 9110 says the 417 "merely indicates that the response chain does not support expectations (e.g., it passes through an HTTP/1.0 server)". So the failure can sit in any hop: the origin, a reverse proxy, a gateway or a CDN. The client triggers it by sending Expect, and the fix is on the client or on the hop that rejects it.

_02_Explained

## How to get past a 417 as a visitor

Visitors rarely see a 417, because it only answers a request that carries an Expect header. If an upload tool or app shows it, retry the upload. If it fails every time, the app is sending a header the site's servers do not support, and the site owner or app vendor has to change it.

_03_How it works

## How to find and fix it as a developer

1. 1

### Capture the request

Run curl -v or check your HTTP client's debug log for an Expect: 100-continue header.
2. 2

### Retry without Expect

RFC 9110 says a client that gets a 417 to a 100-continue request "SHOULD repeat that request without a 100-continue expectation". MDN says the same: send the body without waiting for a 100.
3. 3

### Stop sending the header

Some clients add the header on their own: the curl documentation says curl emits an Expect: 100-continue header in some requests. Turn that option off, or strip the header, so the failure does not repeat.
4. 4

### Find the hop that rejects it

Send the same request straight to the origin and then through each proxy. The first hop that answers 417 is the one that does not support expectations.
5. 5

### Fix the server if it is yours

Answer 100 or a final status to Expect: 100-continue. RFC 9110 says an origin server "MUST NOT wait for the content before sending the 100 (Continue) response".

Reproduce and fix with curl

```
# Send the expectation explicitly curl -i -X PUT https://uploads.example.com/videos -H 'Expect: 100-continue' -T video.mp4 # Remove the Expect header: a header with an empty value removes it curl -i -X PUT https://uploads.example.com/videos -H 'Expect:' -T video.mp4
```

**curl and Expect**The curl documentation says you can remove an internal header by giving a replacement without content after the colon, as in -H "Host:". The same works for Expect.

_04_Explained

## What it does to SEO

A 417 is a 4xx response. Google's documentation says it does not index URLs that return a 4xx status code and treats all 4xx errors except 429 the same way. It answers a request that carries an Expect header, such as an upload or API call, not a plain GET for a page, so it should not affect rankings. See [4xx errors](/seo-issues/4xx-errors) and Google's documentation on how HTTP status codes affect its crawlers. Related: [100 Continue](/errors/http/100) and [413 Content Too Large](/errors/http/413).

Sources · 4

## Every fact, linked and dated.

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

- rfc-editor.org
- mozilla.org
- curl.se
- 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 [MDN: 417 Expectation Failed](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/417) developer.mozilla.org · checked 2026-10-25
3. 03 [curl command-line manual: --header](https://curl.se/docs/manpage.html) curl.se · checked 2026-10-25
4. 04 [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 HTTP error 417 mean?

The server or a proxy could not meet the expectation in the request's Expect header, usually 100-continue.

_02_ How do I fix 417 Expectation Failed?

Resend the request without the Expect header. RFC 9110 and MDN both say the client should repeat it without the expectation.

_03_ Is a 417 caused by the client or the server?

The client sends the Expect header, but the rejecting hop is a server or proxy that does not support expectations. Fix it on whichever side you control.

_04_ What is the difference between 417 and 100?

100 means the server is ready for the body. 417 means the expectation could not be met, so the client should send the request again without it.

## Keep learning

[All errors](/errors)

[Learn 100 Continue HTTP status codes](/errors/http/100) [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)

More in HTTP status codes
[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) [425 Too Early](/errors/http/425) [426 Upgrade Required](/errors/http/426) [428 Precondition Required](/errors/http/428) [429 Too Many Requests](/errors/http/429) [451 Unavailable For Legal Reasons](/errors/http/451) [502 Bad Gateway](/errors/http/502)

Terms on this page
[HTTP status codes](/glossary/http-status-codes) [Inbound marketing](/glossary/inbound-marketing)

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
