Synq Docs
Errors

Hostname denied

The `hostname_denied` error: HTTP 422 Unprocessable Content.

A hostname under a domain Synq never serves a custom domain on.

FieldValue
codehostname_denied
status422 Unprocessable Content
titleHostname denied

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

{
  "type": "…/errors/hostname_denied",
  "title": "Hostname denied",
  "status": 422,
  "code": "hostname_denied"
}

See every error code.