Admin API / Types
CustomDomainInvalidReason
EnumThe rule that refused a custom domain or its storefront label. Clients must accept an unknown value.
enum CustomDomainInvalidReasonValues
DISTRICT_DOMAIN: The domain is in a District domain, such asshop.district.site.EMPTY: The value is empty.FRAGMENT: The value has a fragment.HOSTNAME: The domain is not a DNS name of two or more labels of letters, digits and hyphens, or it is longer than 253 characters.IP_ADDRESS: The domain is an IP address.MALFORMED: The value is not a host name.PATH: The value has a path.PORT: The value has a port.PUBLIC_SUFFIX: The domain is a public suffix, such asco.ukorgithub.io.QUERY: The value has a query.STOREFRONT_HOSTNAME_HELD: Another row of District holds the Cloudflare hostname of the storefront host, and the add cannot move it to the domain. Nothing was added. Try the add again after District releases the hostname.STOREFRONT_LABEL: The storefront label is not one DNS label of ASCII letters, digits and interior hyphens, it has hyphens at positions 3 and 4, or the storefront host is longer than 253 characters.STOREFRONT_LABEL_RESERVED: District reserves the storefront label, such aslive,checkoutorapi.USERINFO: The value has a user name or a password.