Error 417
Last updated Sep 28, 2026
417 Expectation Failed
The 417 Expectation Failed status code indicates that the server could not meet the requirements specified in the Expect header of the client's request.
For more details, refer to RFC 9110 ↗︎.
Common use cases
Some clients use the Expect header, such as Expect: 100-continue, to verify if the server is ready to receive a large payload, and if the server cannot fulfill this expectation, it returns a 417 response. Similarly, a server may reject a request with this error if the client includes an Expect header with unsupported or invalid values.
Cloudflare-specific information
Cloudflare typically forwards this response from the origin server if it encounters an issue related to unsupported or unfulfilled Expect headers in the client's request.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/error-417/#page","headline":"Error 417","description":"Troubleshoot HTTP 417 error responses.","url":"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/error-417/","inLanguage":"en","image":"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/error-417/og.png?v=f6f4378f7c5335dc","dateModified":"2026-09-28","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Troubleshoot HTTP 421 error responses. title: Error 421 image: https://developers.cloudflare.com/support/troubleshooting/http-status-codes/4xx-client-error/error-421/og.png?v=8a50f81084be8f51
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/support/llms.txt
Use this file to discover all available pages before exploring further.
Docs