Client errors (4xx)

405 Method Not Allowed

The server does not accept this type of request here.

Last updated · View as Markdown

Quick answer

A 405 means the address exists, but not for the request method used, for example sending a form to a page that only shows content. Our check asks first with HEAD and repeats with GET, so a 405 here was also returned for a normal page request.

When to wait: Waiting does not help; it is a configuration issue.

If you are visiting the website

  1. Start from the homepage Open the site's homepage instead of a saved link.
  2. Tell the website owner If the problem stays, contact the website through another channel (email or social media) and tell them the exact error and time.

If you run the website

  1. Allow normal requests Make sure GET and HEAD are allowed for public pages.
  2. Check forms and routes Confirm forms post to an address that accepts POST.

Worked example: a form posting to a static page

A form on https://example.com/contact posts to https://example.com/about, which only serves content. The answer is 405 with an Allow header.

That header lists what the address does accept, for example GET, HEAD.

The address exists; the method does not fit

Read Allow before changing anything, because it turns guesswork into a fact. A public page that does not allow GET is a configuration problem, not a visitor problem.

A 405 concerns the method at this address, while 501 can indicate missing functionality in the application or an intermediary.

Verify with a plain page request, then stop

Request the public page normally and record the status together with Allow. One attempt captures both.

Do not repeat signed-in form submissions to probe it. Give the operator the address, the method, the Allow value and the time.

Likely causes

  • Common The server or firewall only allows certain request methods. (Website side)
  • Sometimes A form sends data to the wrong address. (Website side)

Is the website down? Check it now

One measurement point. Results explain what we saw, not a worldwide verdict.

Sources

Last updated: