Sign inConnect your AI
api / errors

Method not allowed

HTTP 405, code method_not_allowed.

Updated · API v1

What it means

The route exists but not with this HTTP method.

What to do

Use one of the methods listed in the Allow header.

Not retryable as it is: sending the same request again gives the same answer.

The answer

application/problem+json
{
  "type": "https://www.adspy.sh/docs/api/errors/method-not-allowed",
  "title": "Method not allowed",
  "status": 405,
  "detail": "…",
  "code": "method_not_allowed",
  "request_id": "3f5b9c2e-8d41-4a7e-9b0c-6e2d1f4a8c37",
  "instance": "/api/v1/…"
}

Every error type and how to handle them.