---
title: 417 Expectation Failed
slug: Web/HTTP/Status/417
tags:
  - Client error
  - HTTP
  - HTTP Status Code
  - Reference
  - Status code
---
{{HTTPSidebar}}

The HTTP **`417 Expectation Failed`** client error response
code indicates that the expectation given in the request's {{HTTPHeader("Expect")}}
header could not be met.

See the {{HTTPHeader("Expect")}} header for more details.

## Status

```
417 Expectation Failed
```

## Specifications

| Specification                                                        | Title                                                         |
| -------------------------------------------------------------------- | ------------------------------------------------------------- |
| {{RFC("7231", "417 Expectation Failed" , "6.5.14")}} | Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content |

## See also

- {{HTTPHeader("Expect")}}
