The DevOps Drop
Home / Encyclopedia / HTTP Status Codes / 4xx Client Error Responses / 405 Method Not Allowed

405 Method Not Allowed

The HTTP 405 Method Not Allowed status code indicates that the server understands the request but does not support the HTTP method used.

Published 16 Jul 2026 · HTTP Status Code

What is HTTP 405 Method Not Allowed?

The 405 Method Not Allowed status code means the requested HTTP method is not supported for the target resource.

Example

DELETE /users/123 HTTP/1.1

HTTP/1.1 405 Method Not Allowed

Common Causes

  • Incorrect HTTP method
  • Missing API route
  • Incorrect framework configuration

DevOps Considerations

405 errors often occur during API development and reverse proxy configuration.

Summary

405 Method Not Allowed means the resource exists but does not support that request method.