err:unkey:data:domain_already_existsExample response
Likely causes
- You already added this domain, on this environment or another one.
- You added the domain earlier and it isn’t verified yet.
How to fix
- Look the domain up with
domains.getDomainordomains.listDomains. - If it’s on the wrong environment, delete it there and create it on the right one.
- If it’s there but not verified, call
domains.verifyDomaininstead of creating it again.
Related errors
err:unkey:data:domain_not_found: the domain isn’t attached to this workspace.err:unkey:limits:custom_domain_limit_exceeded: the workspace is at its domain limit.err:unkey:application:precondition_failed: the domain is already verified.