BloggingBIG Logo
Search
  • Blogs
  • How we work
  • Write Guest Post
Get started

HTTP Status Code 424-FAILED DEPENDENCY

by Saurabh Chalise

  • 3 min read
    • HTTP Status
Share this content
HTTP Status Code 424-FAILED DEPENDENCY image

Navigation

  • Introduction
    • Example
      • Response:
  • FAQ
    • What do you mean by HTTP Status Code 424?
    • How 424 Status Code usage on Web?
  • Status
  • Related Articles
  • 424 CODE REFERENCES
  • Conclusion

Introduction

HTTP Status Code 424-Failed Dependency is one of the classes of 4xx(Server Error) response code that indicates that the method could not be executed on the resource because the requested action was dependent on another action that failed.

If one of the instructions in a PROPPATCH method fails, the remainder of the commands will at the very least fail with 424. (Failed Dependency) (RFC 4918: HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)).

To indicate if a property change was successful or not, WebDAV employs HTTP status codes in response bodies. If a PROPPATCH is sent and one property change fails (for example, with 403 Forbidden), all subsequent property updates will fail with 424 Failed Dependency.

As a result, 424 Failed Dependency will only ever show in HTTP response bodies with a 207 Multi-Status response code, and never on an HTTP response status line.

Example

PROPPATCH /folder HTTP/1.1
Host: www.example.org
Content-Type: application/xml

<?xml version="1.0"?>
<d:propertyupdate xmlns:d="DAV:">
<d:set>
<d:prop>
<d:getcontentlength>1</d:getcontentlength>
<d:displayname>Evert</d:displayname>
</d:prop>
</d:set>

</d:propertyupdate>

Response:

HTTP/1.1 207 Multi-Status
Content-Type: application/xml
Content-Length: xxxx

<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:">
<d:response>
<d:href>/folders</d:href>
<d:propstat>
<d:prop><d:displayname/></d:prop>
<d:status>HTTP/1.1 424 Failed Dependency</d:status>
</d:propstat>
<d:propstat>
<d:prop><d:getcontentlength /></d:prop>
<d:status>HTTP/1.1 403 Forbidden</d:status>
</d:propstat>
</d:response>
</d:multistatus>

The above answer shows that getcontentlength could not be changed, resulting in a 424 error when attempting to update displayname.

FAQ

What do you mean by HTTP Status Code 424?

424 Status Code-Failed Dependency is one of the classes of 4xx(Server Error) response code that indicates that the method could not be executed on the resource because the requested action was dependent on another action that failed.

How 424 Status Code usage on Web?

Outside of WebDAV, this HTTP status code should generally not be utilized.

Status

424 Failed Dependency

Related Articles


HTTP Status Code 204 – No Content
HTTP Status Code 300-Multiple Choices
HTTP Status Code 302 Found
HTTP Status Code 207 Multi-Status

424 CODE REFERENCES

Rails HTTP Status Symbol failed_dependency
Symfony HTTP Status ConstantResponse::HTTP_FAILED_DEPENDENCY

Conclusion

Finally, the 424 status code isn’t used very frequently these days. 

I hope this article was able to help you with your doubts and queries related to the HTTP status code 422 Requested Range Not Satisfiable.

Still, if there are any queries related to this topic, feel free to ask in the comment section, we would be happy to assist you. Thank you.

Share
Tweet
Share
0 Shares
Saurabh Chalise image

Saurabh Chalise

Be first to comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

More from HTTP Status

HTTP Status Code 499 Client Closed Request image

HTTP Status Code 499 Client Closed Request

Kedar Dangal image

by Kedar Dangal

  • 4 min read
    • HTTP Status
HTTP Status Code 431 Request Header Fields Too Large image

HTTP Status Code 431 Request Header Fields Too Large

Kedar Dangal image

by Kedar Dangal

  • 4 min read
    • HTTP Status
HTTP Status Code 429-Too Many Request image

HTTP Status Code 429-Too Many Request

Saurabh Chalise image

by Saurabh Chalise

  • 4 min read
    • HTTP Status

Quick links

  • Siteground black friday deals
  • Wp engine black friday deals
  • Greengeeks black friday deals
  • Tmd hosting black friday deals
  • Fastcomet black friday deals
  • Hostwinds black friday deals
  • bluehost black friday
  • Namecheap black friday deals
  • Ionos 1 & 1 black friday deals
  • Hostgator black friday deals
  • ipage black friday deals
  • wpx hosting black friday deals
BloggingBIG logo
  • About
  • DISCLAIMER
  • Disclouser for Blogging BIG
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
Developed by Fnclick
Back To Top