lookup> 405

405 ·Method Not Allowed

The resource does not support the HTTP method used; the Allow header lists the supported methods.

Client ErrorRFC7231#6.5.5
Status405
PhraseMethod Not Allowed
TypeClient Error
SpecificationRFC7231#6.5.5

What does HTTP 405 mean?

The resource does not support the HTTP method used; the Allow header lists the supported methods.

It belongs to the 4xx Client Error class of responses, defined in RFC7231#6.5.5.

Browse all codes in this class: 4xx Client Error

How to fix HTTP 405

Return an Allow header listing valid methods, and make sure clients call the correct endpoint method.

  • Calling the endpoint with the wrong method
  • Route only accepts specific methods

Website visitors

Double-check the URL, return to the homepage and search again, or retry later.

Developers

Return an Allow header listing valid methods, and make sure clients call the correct endpoint method.

Server administrators

Review access logs and permission rules for the affected path, and confirm routing and security policies.

Is HTTP 405 cacheable?

405 belongs to the 4xx Client Error class and is generally not cached for long; behavior is controlled by Cache-Control.

What does the 4xx class mean?

4xx Client Error: The resource does not support the HTTP method used; the Allow header lists the supported methods.

4xx responses

Related status codes

Related headers

Related methods