417 Expectation Failed

Estimated reading: 1 minute 1332 views

This response code indicates the server could not meet the response set in the Expect header.

The Expect header sets a form of predicted response of what the server should do to complete a request. An example of this would be an expectation of Status 100 Continue.

In some cases the server may reject a request if the Content-Length is too long.

In most cases, users will not see this error as browsers do not usually send an Expect header for a request.

If this error is unexpected and recurring then contact the server support team for help.

The HTTP 417 Expectation Failed client error response code indicates that the expectation given in the request’s Expect header could not be met.

See the Expect header for more details.

Status

417 Expectation Failed

Specifications

SpecificationTitle
RFC 7231, section 6.5.14: 417 Expectation FailedHypertext Transfer Protocol (HTTP/1.1): Semantics and Content