What does 405 Method Not Allowed mean?
The resource exists but does not support the HTTP method used, e.g. GET on a POST-only endpoint. The Allow header lists allowed methods.
Common causes
- Webhook route only accepts GET
- Form posts to a static file
How to fix it
- Accept POST on the webhook route
- Check the
Allowheader
405 and webhooks
Very common: the webhook route was created for GET. Webhooks are almost always POST.
Test how your client handles 405
In the webhook tester you can add a response rule that answers 405 — useful to check retries, error handling and alerts before production.
FAQ
What does HTTP 405 mean?
The URL exists but not for this method. The resource exists but does not support the HTTP method used, e.g. GET on a POST-only endpoint. The Allow header lists allowed methods.
Is 405 an error?
Yes — a client error: the request must be changed before retrying.
Other 4xx codes
400 Bad Request · 401 Unauthorized · 402 Payment Required · 403 Forbidden · 404 Not Found · 406 Not Acceptable · 408 Request Timeout · 409 Conflict · 410 Gone · 411 Length Required · 412 Precondition Failed · 413 Content Too Large · 414 URI Too Long · 415 Unsupported Media Type · 418 I'm a teapot · 422 Unprocessable Content · 425 Too Early · 426 Upgrade Required · 428 Precondition Required · 429 Too Many Requests · 431 Request Header Fields Too Large · 451 Unavailable For Legal Reasons · 499 Client Closed Request