API_METHOD_NOT_ALLOWED

The API route does not support or accept the used HTTP method.

MethodNotAllowedErrorHTTP 405ApiErrorKind

Possible causes

  • Trying to HTTP GET a POST-only resource.
  • HTTP POSTing to a route.

Thrown from

packages/errors/src/index.ts:552
* throw new MethodNotAllowedError();
View ↗

On this page