Errors
Hostname denied
The `hostname_denied` error: HTTP 422 Unprocessable Content.
A hostname under a domain Synq never serves a custom domain on.
| Field | Value |
|---|---|
code | hostname_denied |
status | 422 Unprocessable Content |
title | Hostname 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.