> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appgoat.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# method_not_allowed

> 405 · Method not allowed

> [!NOTE]
>
> HTTP status **405** · Retry: **Yes, after fixing the request** · Failed requests never cost credits.

```json 405 response theme={null}
{
  "error": {
    "code": "method_not_allowed",
    "message": "Method not allowed.",
    "hint": "…",
    "docs": "https://docs.appgoat.ai/errors/method_not_allowed"
  }
}
```

## Why

The endpoint exists but not with this HTTP method (for example `POST` on a read-only endpoint).

## Fix

Use the method listed in the API reference.

## Still stuck?

Email [support@appgoat.ai](mailto:support@appgoat.ai) with the endpoint and the time of the request.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.