@http · HTTP status codes, explained HTTP/1.1 417 Expectation Failed ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4xx · Client error The server can't meet the Expect header. WHAT IT MEANS ──────────────────────────────────────────────────────────── The server or a proxy can't meet the request's Expect header. The only defined expectation is 100-continue. WHY YOU'RE SEEING IT ───────────────────────────────────────────────────── → An old server or proxy that doesn't support Expect: 100-continue. → Clients that add the header automatically for large uploads. HOW TO FIX IT ──────────────────────────────────────────────────────────── → Retry without the Expect header, e.g. curl -H "Expect:". → In .NET, set ServicePointManager.Expect100Continue = false, or the equivalent in your client. EXAMPLE RESPONSE ───────────────────────────────────────────────────────── HTTP/1.1 417 Expectation Failed Content-Length: 0 related 100 Continue   400 Bad Request   413 Content Too Large spec RFC 9110 §15.5.18 https://www.rfc-editor.org/rfc/rfc9110#section-15.5.18 web https://athttp.com/417 ← curl athttp.com/416 curl athttp.com/418 →