Server Error · 5xx

501 Not Implemented

The server does not support the request method or feature.

What 501 Not Implemented means

501 Not Implemented means the server does not know how to handle the request method at all (TRACE, CONNECT) or does not implement a feature requested in headers (e.g. unknown Transfer-Encoding). It is different from 405 Method Not Allowed: 405 means "this resource does not support this method"; 501 means "this server does not support this method, period".

When servers should return it: Return 501 when the server lacks support for a method or feature, not when a specific resource refuses the method.

Common causes

How to fix 501 Not Implemented

Example response

HTTP/2 501
content-type: text/plain
Method not implemented

Related status codes

Frequently Asked Questions

501 vs 405?
501 = the server does not implement this method anywhere. 405 = the server implements the method generally but not on this resource.
Defined in: RFC 9110 · Class: 5xx Server Error

More references

For a one-page reference of all HTTP status codes, see the HTTP cheat sheet. For testing API responses, try the API Tester tool. For inspecting responses on the command line, the curl cheat sheet covers the most common flags.