Skip to main content

method_not_allowed

The method is not allowed on this path

Status: 405 Method Not Allowed

type: https://api.allisai.ai/errors/method_not_allowed

When it is sent​

A known path with a method it does not take. Sent with Allow, which lists the methods the path takes.

Example​

{
"type": "https://api.allisai.ai/errors/method_not_allowed",
"title": "The method is not allowed on this path",
"status": 405,
"detail": "A human-readable explanation of this occurrence. Its wording varies; branch on code, never on detail.",
"code": "method_not_allowed",
"request_id": "3a9f6c1e2b7d4e5f8a0b1c2d3e4f5a6b"
}

Operations that return it​

No operation lists this code.