Errors
Hostname not allowed here
The `hostname_not_allowed_here` error: HTTP 422 Unprocessable Content.
This environment takes custom domains only under its test zone.
| Field | Value |
|---|---|
code | hostname_not_allowed_here |
status | 422 Unprocessable Content |
title | Hostname not allowed here |
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_not_allowed_here. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/hostname_not_allowed_here",
"title": "Hostname not allowed here",
"status": 422,
"code": "hostname_not_allowed_here"
}See every error code.