Skip to content
4xx · Client Error

417 Expectation Failed

The server cannot meet the requirement set in the request's Expect header.

What it means

HTTP 417 Expectation Failed means the request carried an Expect header — almost always Expect: 100-continue — and the server cannot satisfy that expectation. The client asked the server to confirm it would accept the body before sending it, and the server, or an intermediary, could not honour the handshake.

When it happens

It happens when a client sends Expect: 100-continue through a proxy or server that does not support it, breaking the continue handshake during an upload.

How to fix it

  • Drop the Expect header so the client sends the body without waiting for a 100 Continue.
  • Check whether a proxy between client and server is mishandling the Expect header.
  • Update or reconfigure the server if it should support the expectation but does not.

SEO impact

None for normal pages. The Expect handshake relates to uploads, not to how crawlers fetch pages.

Check it with Sitewell

Find out which of your URLs return 417

Paste a list of URLs and Sitewell checks the status code of every one at once — free and without signup.

Related codes

Related guides