Method Not Allowed
URI: https://docs.ankatech.co/errors/method-not-allowed
HTTP Status: 405 Method Not Allowed
When you see this
You called a valid endpoint with an HTTP method it does not support (for example, a POST to a read-only resource, or a DELETE where only GET is allowed).
Common Causes
- Using
POST/PUT/PATCH/DELETEon an endpoint that only exposesGET. - A typo in the request that changed the intended method.
- Calling a collection endpoint with a method reserved for item endpoints (or vice versa).
- An out-of-date client or SDK that targets a method the API no longer accepts.
Response Example
{
"type": "https://docs.ankatech.co/errors/method-not-allowed",
"title": "Method Not Allowed",
"status": 405,
"detail": "Request method 'DELETE' is not supported for this endpoint. Supported methods: GET, POST.",
"instance": "/api/v3/keys",
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": 1730000000
}
Content-Type: application/problem+json — the response follows RFC 7807 Problem Details.
How to Resolve
- Check the
Allowresponse header — it lists the methods the endpoint accepts. - Confirm the correct method and path in the Developer Hub Reference.
- Update your client or SDK to the current API surface and re-submit the request with the supported method.
For full schema definitions, examples, and interactive testing, see the Developer Hub Reference.