Method Not Allowed
Code
code:method_not_allowedstatus:405url:https://developers.glean.com/errors/method-not-allowed
What It Means
The endpoint exists but does not support the HTTP method used by the request.
Common Causes
- The request uses
GET,POST,PUT,PATCH, orDELETEincorrectly for the endpoint. - A client or proxy rewrote the method before forwarding the request.
How To Resolve
Client Actions
- Use the HTTP method documented for the endpoint.
- Confirm any proxy or API client preserves the intended method.
Retry Guidance
Retry with the supported method.
Example Response
{
"type": "https://developers.glean.com/errors/method-not-allowed",
"title": "Method Not Allowed",
"status": 405,
"detail": "Human-readable explanation specific to this occurrence.",
"code": "method_not_allowed",
"documentation_url": "https://developers.glean.com/errors/method-not-allowed",
"request_id": "req_7f8a9b0c1d2e"
}