Skip to content

Method not allowed

What it means

The API path exists, but it doesn't take the HTTP method the request used, such as POST where the path takes only GET. Nothing was done.

What to do

Read the problem's detail first. It says what happened to this request.

  • Use one of the methods the Allow header lists.
  • Check the route's method in the HTTP API reference.

Technical details

  • Type: https://on.auto/problems/method_not_allowed
  • Status: 405
  • Reason: method_not_allowed
  • Allow header: the methods the path takes

Responses and errors in the HTTP API reference has the full detail. Problem types lists every type.