Skip to content
Error

Webhook 404 Not Found: routing and URL mismatches

A 404 on a webhook means your server answered, but nothing is listening on that exact path or HTTP method.

A 404 Not Found error means the provider successfully connected to your web server or reverse proxy, but no route matched the exact request URL and HTTP method (`POST`).

Common causes of webhook 404s

  • Missing trailing slash or redirect loop: Many frameworks treat /api/webhooks and /api/webhooks/ differently. If your framework issues an HTTP 301/308 redirect, the provider may follow it as a `GET` without a payload or fail with 404.
  • API version prefixes: Check if your routing configuration uses an unannounced /v1/ or /api/ prefix.
  • Wrong HTTP method: Webhooks are almost universally HTTP POST. If your route only registers `GET`, the server will return 404 or 405 Method Not Allowed.
  • Reverse proxy path stripping: In Nginx, Traefik, or AWS ALB, ensure path rewriting rules forward the complete URI to your application container.

How to diagnose with HookWatch

With HookWatch, you get a dedicated public capture URL that never returns 404. HookWatch captures the full incoming request and forward attempts, allowing you to see the exact destination path and response body returned by your backend.

Get started

Start debugging your webhooks.

Point one endpoint at HookWatch, capture a failure, and replay it once it’s fixed. Free during beta.