Where it is raised
PATCH /api/v1/status-pages/{id}
What triggers it
The domain is saved first, then registered with the certificate provider. When that call fails, the page's domain_status is set to error, an audit row is written, and the reply is this 502 with a fixed message while the provider's own text is kept in the page's domain_error field. Nothing is serving on the domain until a later attach succeeds.
Example response
PATCH /api/v1/status-pages/{id}
HTTP 502
{
"error": "Could not register that domain. Try again in a moment.",
"code": "RU-5016"
}Common causes
- A transient failure at the certificate provider.
How to fix it
- Send the same `customDomain` again: attaching the hostname already on the page retries the registration.
- Or detach the domain with `customDomain: null` and attach it again later.