405

Method Not Allowed

Client errors (4xx)·RFC 9110

What 405 means

The HTTP method is known but not supported for this resource.

For example, sending POST to a read-only endpoint. The Allow header lists the methods that are permitted.

Client errors (4xx)

The request contains an error from the client — bad syntax, missing auth or a wrong URL.

Other 4xx codes

FAQ — 405

What does HTTP 405 mean?

405 Method Not Allowed: The HTTP method is known but not supported for this resource. For example, sending POST to a read-only endpoint. The Allow header lists the methods that are permitted.

Which class does status code 405 belong to?

405 is a Client errors (4xx) code. The request contains an error from the client — bad syntax, missing auth or a wrong URL.

Where is the 405 code defined?

Status code 405 is defined in RFC 9110 and is part of the IANA HTTP Status Code Registry.

← All HTTP status codes