Skip to content

method_not_allowed

Error codeView as Markdown

Method not allowed. That URL exists, but not with this HTTP method, for example PUT where Guv expects PATCH.

  • HTTP status: 405 Method Not Allowed
  • CLI exit code: 1 (not signed in)
  • Retry: not as it is; the same request will fail the same way until the cause is fixed

See the API reference for the allowed methods.

{
"type": "https://guv.dev/errors/method_not_allowed",
"title": "Method not allowed",
"status": 405,
"code": "method_not_allowed",
"detail": "That URL exists, but not with this HTTP method, for example `PUT` where Guv expects `PATCH`.",
"fix": "See the API reference for the allowed methods.",
"docs_url": "https://guv.dev/errors/method_not_allowed",
"request_id": "req_01jbx2m9k7q4r8t5v6w3y0z1rq"
}

The code field is stable: match on it, not on title or detail, which may be reworded.