HTTP Error Code 405
The HTTP method is not allowed for this resource.
The HTTP method is not allowed for this resource.
| Code | 405 |
| Product | HTTP |
| Company / origin | IETF / IANA · International standard |
| Category | Protocols & Standards |
| Platform / versions | HTTP/1.1, HTTP/2, HTTP/3 · All HTTP versions |
| Severity | warning |
| Official source | RFC 9110: HTTP Semantics ↗ |
| Last verified | 2026-11-08 |
What does HTTP error 405 mean?
HTTP 405 means the URL exists, but the server does not support the method you used, such as POST on a read-only endpoint. The response should include an Allow header listing the methods that are supported.
Common causes
- Sending POST or PUT to an endpoint that only accepts GET.
- A proxy or client rewrote the method during the request.
- The route exists for a different API version or content type.
How to fix it
- Step 1
Read the Allow response header and use one of the listed methods.
- Step 2
Check the API reference for the endpoint's method and required body.
- Step 3
If a proxy is involved, confirm it preserves the original HTTP method.
When to escalate
Related codes
| Code | Name | What it means |
|---|---|---|
404 | Not Found | The requested resource does not exist at this URL. |
400 | Bad Request | The server cannot process the request because the syntax or parameters are invalid. |
401 | Unauthorized | Authentication is missing, expired, or invalid. |
403 | Forbidden | The server understood the request but refuses to authorize it. |
408 | Request Timeout | The client did not send the full request within the server's timeout. |
Source & verification
This page was checked against RFC 9110: HTTP Semantics on 2026-11-08. The code, product, and platform fields are kept separate from the explanation so corrections can be made without changing the URL.
Open Error Codes is independent and not affiliated with IETF / IANA. Always confirm destructive or security-sensitive steps with the official documentation.