Synq Docs
Errors

Reserved hostname

The `reserved_hostname` error: HTTP 422 Unprocessable Content.

One of Synq's own hostnames, or one under them.

FieldValue
codereserved_hostname
status422 Unprocessable Content
titleReserved hostname

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 reserved_hostname. Branch on code, never on title or detail: a code never changes once it ships, while the words may.

{
  "type": "…/errors/reserved_hostname",
  "title": "Reserved hostname",
  "status": 422,
  "code": "reserved_hostname"
}

See every error code.