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

About This Tool

This page provides original, human-reviewed information about HTTP status codes such as 405, the HTTP Status Code Reference and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.

If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.