HTTP · Method Not Allowed

HTTP Error Code 405

The HTTP method is not allowed for this resource.

warningLast verified 2026-11-08RFC 9110: HTTP Semantics
Quick answer

The HTTP method is not allowed for this resource.

Code405
ProductHTTP
Company / originIETF / IANA · International standard
CategoryProtocols & Standards
Platform / versionsHTTP/1.1, HTTP/2, HTTP/3 · All HTTP versions
Severitywarning
Official sourceRFC 9110: HTTP Semantics ↗
Last verified2026-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

  1. Step 1

    Read the Allow response header and use one of the listed methods.

  2. Step 2

    Check the API reference for the endpoint's method and required body.

  3. Step 3

    If a proxy is involved, confirm it preserves the original HTTP method.

When to escalate

Before you escalate: If the same status persists after you have checked the request, the server logs, and the upstream service, contact the API or hosting provider with the full response headers, request ID, timestamp, and a minimal reproduction.

Related codes

CodeNameWhat it means
404Not FoundThe requested resource does not exist at this URL.
400Bad RequestThe server cannot process the request because the syntax or parameters are invalid.
401UnauthorizedAuthentication is missing, expired, or invalid.
403ForbiddenThe server understood the request but refuses to authorize it.
408Request TimeoutThe 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.