{"id":794,"date":"2025-07-02T15:17:34","date_gmt":"2025-07-02T15:17:34","guid":{"rendered":"http:\/\/gogetmuscle.com\/?p=794"},"modified":"2025-07-02T17:43:55","modified_gmt":"2025-07-02T17:43:55","slug":"webhook-retry-behaviour-on-4xx-responses","status":"publish","type":"post","link":"http:\/\/gogetmuscle.com\/index.php\/2025\/07\/02\/webhook-retry-behaviour-on-4xx-responses\/","title":{"rendered":"Webhook retry behaviour on 4xx responses"},"content":{"rendered":"

I have a webhook which returns a variety of 4xx responses for various failures – for example a 404 if the webhook doesn’t match a rule in the handler (ie the desired action doesn’t exist on my server).

This is on the assumption that 4xx codes do not elicit a retry, but I am getting conflicting information:

The developer documentation here<\/a>\u00a0suggests that all 4xx response codes will elicit a retry, whereas\u00a0this previous community forum post<\/a>\u00a0suggests that only a 429 would elicit a retry.<\/P>

\u00a0<\/P>

Can anyone confirm which case is true please?<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"

I have a webhook which returns a variety of 4xx responses for various failures – for example a 404 if the webhook doesn’t match a rule in the handler (ie the desired action doesn’t exist on my server).This is on the assumption that 4xx codes do not elicit a retry, but I am getting conflicting […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/794"}],"collection":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/comments?post=794"}],"version-history":[{"count":1,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/794\/revisions"}],"predecessor-version":[{"id":795,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/794\/revisions\/795"}],"wp:attachment":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media?parent=794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/categories?post=794"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/tags?post=794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}