Skip to main content
apiguide.dev

HTTP 417 — Expectation Failed

The server cannot meet the requirements of the Expect request header.

Status CodeHTTP 417
CategoryClient Error (4xx)
API Error Subtypes0 error schemas
HTTP Headers1 header

What does HTTP status code 417 mean?

The 417 Expectation Failed status code indicates that the server is unable to satisfy the expectations set in the client’s Expect request header.

When to use it in APIs

Occasionally returned if a client sends Expect: 100-continue but the server cannot comply.

How it compares to other codes

  • 100 Continue: The positive response indicating that the expectation can be met.

Specific API Error Types for 417

No specific Problem+JSON schemas have been defined for HTTP 417 on apiguide.dev yet.

Associated HTTP Headers

Related HTTP Status Codes