The resource does not support the HTTP method used; the Allow header lists the supported methods.
Quick facts
When does it occur
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 it
Return an Allow header listing valid methods, and make sure clients call the correct endpoint method.
Common causes
How to fix it
Double-check the URL, return to the homepage and search again, or retry later.
Return an Allow header listing valid methods, and make sure clients call the correct endpoint method.
Review access logs and permission rules for the affected path, and confirm routing and security policies.
Frequently asked questions
405 belongs to the 4xx Client Error class and is generally not cached for long; behavior is controlled by Cache-Control.
4xx Client Error: The resource does not support the HTTP method used; the Allow header lists the supported methods.
Sources & standards
Updated 2026-08-18
Explore this reference
Related status codes
Related headers
Related methods