Free auditStart free
GuideError · HTTP status codes

417 Expectation Failed

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
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
  2. How to get past a 417 as a visitor
  3. How to find and fix it as a developer
  4. 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 withChatGPTClaudePerplexityGoogleAI Mode
01Where a 417 comes from

What a 417 means and who causes it

RFC 9110 says the 417 (Expectation Failed) status code "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 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.

02Explained

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.

03How 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
04Explained

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 and Google's documentation on how HTTP status codes affect its crawlers. Related: 100 Continue and 413 Content Too Large.
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. 01RFC 9110: HTTP Semanticsrfc-editor.org · checked 2026-10-25
  2. 02MDN: 417 Expectation Faileddeveloper.mozilla.org · checked 2026-10-25
  3. 03curl command-line manual: --headercurl.se · checked 2026-10-25
  4. 04How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
Questions

Asked a lot.

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

01What does HTTP error 417 mean?

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

02How 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.

03Is 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.

04What 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.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane