Skip to content

Troubleshooting guide

501 Not Implemented: how to fix it

A 501 means the server does not support the request method or feature at all, for any URL. It is usually a method like PATCH, PROPFIND or a custom verb reaching software that does not know it.

3 min read10 sectionsUpdated

On this page

Key points

  • Not supported anywhere on the server (unlike 405).
  • Proxies and old servers reject unfamiliar methods.
  • Transfer-Encoding values can trigger it too.
  • Rarely an outage: usually a configuration mismatch.

What it means

501 Not Implemented says the server lacks the functionality to fulfil the request, typically because it does not recognise the method. 405 Method Not Allowed is the narrower case where the method exists but this URL does not allow it.

Common causes

  • A proxy or WAF that does not pass PATCH, PUT or WebDAV methods.
  • Old web servers or embedded devices.
  • Unknown Transfer-Encoding or Expect headers.
  • An API gateway route without a method mapping.

Fixes if you are visiting the site

  1. Usually not fixable by a visitor; report it to the site owner.

Fixes if it is your site

Find which layer returns the 501 (the Server header and body format tell you), then allow the method at that layer or change the client to a supported method.

bash
curl -si -X PATCH https://api.example.com/items/1 -d "{}" | head -5

Reading the status code like an engineer

An HTTP status code means the connection worked and a server answered, so the network is fine and the question is which server answered and why. Look at the response headers: Server, Via and CDN-specific headers (cf-ray, x-cache) show whether a CDN, a proxy or your application produced it, and the body format usually confirms it. Then reproduce the exact request with curl, including method, headers and body, and compare it with a request that works. Monitoring should alert on unexpected codes for important URLs, and on rates of 4xx and 5xx rising after a deploy, rather than on every single error.

How site owners catch this before visitors do

Most visitors who hit 501 Not Implemented leave without telling you. An uptime check every minute, with a keyword assertion on the page and an SSL check on every run, turns this from a support ticket into an alert. Keep the history: errors that come and go (one region, one server behind a load balancer, one in twenty requests) only make sense on a timeline. Put the result on a status page so people stop guessing. You can test any address now with the free website down checker.

Frequently asked questions

501 or 405?

405 for a method this URL does not allow; 501 when the server does not support it at all.

Is 501 a server crash?

No, it is a deliberate answer.

Can a CDN return 501?

Yes, some reject unusual methods at the edge.

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.