stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > MarketUserErrorCode

AdminTypes.MarketUserErrorCode enum

Possible error codes that can be returned by MarketUserError.

Signature:

export declare enum MarketUserErrorCode 

Enumeration Members

Member Value Description
Blank "BLANK" The input value is blank.
CannotAddCustomerDomain "CANNOT_ADD_CUSTOMER_DOMAIN" Can’t add customer account domain to a market.
CannotAddRegionsToPrimaryMarket "CANNOT_ADD_REGIONS_TO_PRIMARY_MARKET" Can’t add regions to the primary market.
CannotAddWebPresenceToPrimaryMarket "CANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKET" Can’t add the web presence to the primary market.
CannotDeleteOnlyRegion "CANNOT_DELETE_ONLY_REGION" Can’t delete the only region in a market.
CannotDeletePrimaryMarket "CANNOT_DELETE_PRIMARY_MARKET" Can’t delete the primary market.
CannotDeletePrimaryMarketWebPresence "CANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCE" Can’t delete the primary market’s web presence.
CannotDisablePrimaryMarket "CANNOT_DISABLE_PRIMARY_MARKET" Can’t disable the primary market.
CannotHaveBothSubfolderAndDomainWebPresences "CANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCES" Can’t have both subfolder and domain web presences.
CannotHaveMultipleSubfoldersPerMarket "CANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKET" Can’t have multiple subfolder web presences per market.
CannotHaveSubfolderAndDomain "CANNOT_HAVE_SUBFOLDER_AND_DOMAIN" Can’t pass both subfolderSuffix and domainId.
CannotSetDefaultLocaleToNull "CANNOT_SET_DEFAULT_LOCALE_TO_NULL" Can’t set default locale to null.
DisabledLanguage "DISABLED_LANGUAGE" The language isn’t enabled on the store.
DomainNotFound "DOMAIN_NOT_FOUND" Domain was not found.
DuplicateLanguages "DUPLICATE_LANGUAGES" Duplicates found in languages.
Invalid "INVALID" The input value is invalid.
MarketNotFound "MARKET_NOT_FOUND" The market wasn’t found.
MarketReachedWebPresenceLimit "MARKET_REACHED_WEB_PRESENCE_LIMIT" Can’t add another web presence to the market.
NoLanguages "NO_LANGUAGES" No languages selected.
PrimaryMarketMustUsePrimaryDomain "PRIMARY_MARKET_MUST_USE_PRIMARY_DOMAIN" The primary market must use the primary domain.
RegionNotFound "REGION_NOT_FOUND" The market region wasn’t found.
RegionSpecificLanguage "REGION_SPECIFIC_LANGUAGE" Cannot add region-specific language.
RequiresDomainOrSubfolder "REQUIRES_DOMAIN_OR_SUBFOLDER" One of subfolderSuffix or domainId is required.
RequiresExactlyOneOption "REQUIRES_EXACTLY_ONE_OPTION" Exactly one input option is required.
ShopReachedMarketsLimit "SHOP_REACHED_MARKETS_LIMIT" Can’t have more than 50 markets.
SubfolderSuffixCannotBeScriptCode "SUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODE" The subfolder suffix is invalid, please provide a different value.
SubfolderSuffixMustContainOnlyLetters "SUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERS" The subfolder suffix must contain only letters.
Taken "TAKEN" The input value is already taken.
TooLong "TOO_LONG" The input value is too long.
TooShort "TOO_SHORT" The input value is too short.
UnpublishedLanguage "UNPUBLISHED_LANGUAGE" The language isn’t published to the store.
UnsupportedCountryRegion "UNSUPPORTED_COUNTRY_REGION" Can’t add unsupported country or region.
WebPresenceNotFound "WEB_PRESENCE_NOT_FOUND" The market web presence wasn’t found.