err:unkey:data:domain_not_foundExample response
Likely causes
- The domain ID or name is wrong, or the domain was never added to this workspace.
- Your root key can’t read the domain.
domains.getDomain,domains.deleteDomain, anddomains.verifyDomainreturn this 404 instead of a 403, so it’s as likely a permission problem as a missing domain. A key that can read the domain but lacks the action gets a 403err:unkey:authorization:insufficient_permissionsthat names the missing permission.
MÜNCHEN.de and xn--mnchen-3ya.de are the same domain.
How to fix
- List domains with
domains.listDomainsand use the returned ID. - If the ID is right, check the root key’s permissions before you decide the domain is gone.
Related errors
err:unkey:data:domain_already_exists: the domain is already attached.err:unkey:data:environment_not_found: the environment the domain should belong to doesn’t exist.