Error code org_domain_invalid (HTTP 422)
What Synq's `org_domain_invalid` error code means, when the API answers HTTP 422 Unprocessable Content with it, and how to fix it.
Not a domain an org can prove it owns: reason says why: format, public_mailbox (gmail.com and such, whose people aren't one company's), public_suffix (a name like co.uk that anyone registers under), reserved (for testing) or synq_owned.
What to do
Check reason and add a domain your organization registered, such as acme.com.
| Field | Value |
|---|---|
code | org_domain_invalid |
status | 422 Unprocessable Content |
title | Domain invalid |
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 org_domain_invalid. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/org_domain_invalid",
"title": "Domain invalid",
"status": 422,
"code": "org_domain_invalid"
}See every error code. Still stuck? Support says where to write, what to send and where Synq's status page is.
Error code email_domain_in_use (HTTP 409)
What Synq's `email_domain_in_use` error code means, when the API answers HTTP 409 Conflict with it, and how to fix it.
Error code org_domain_exists (HTTP 409)
What Synq's `org_domain_exists` error code means, when the API answers HTTP 409 Conflict with it, and how to fix it.