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.
The above answer shows that getcontentlength could not be changed, resulting in a 424 error when attempting to update displayname.
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.
|424 Failed Dependency|
|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 Constant||Response::HTTP_FAILED_DEPENDENCY|
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.