SynqDocs
Errors

Error code method_not_allowed (HTTP 405)

What Synq's `method_not_allowed` error code means, when the API answers HTTP 405 Method Not Allowed with it, and how to fix it.

This route does not accept the request's HTTP method.

What to do

Use one of the methods listed in the Allow response header; check the route's API reference.

FieldValue
codemethod_not_allowed
status405 Method Not Allowed
titleMethod not allowed

Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is method_not_allowed. Branch on code, never on title or detail: a code never changes once it ships, while the words may.

{
  "type": "…/errors/method_not_allowed",
  "title": "Method not allowed",
  "status": 405,
  "code": "method_not_allowed"
}

See every error code. Still stuck? Support says where to write, what to send and where Synq's status page is.

On this page