Skip to main content
Log inSign up
enum

Possible error codes that can be returned by MarketUserError.

•

The input value is blank.

Anchor to CANNOT_ADD_CUSTOMER_DOMAINCANNOT_ADD_CUSTOMER_DOMAIN
•

Can't add customer account domain to a market.

Anchor to CANNOT_ADD_REGIONS_TO_PRIMARY_MARKETCANNOT_ADD_REGIONS_TO_PRIMARY_MARKET
•

Can't add regions to the primary market.

Anchor to CANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKETCANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKET
•

Can't add the web presence to the primary market.

Anchor to CANNOT_DELETE_ONLY_REGIONCANNOT_DELETE_ONLY_REGION
•

Can't delete the only region in a market.

Anchor to CANNOT_DELETE_PRIMARY_MARKETCANNOT_DELETE_PRIMARY_MARKET
•

Can't delete the primary market.

Anchor to CANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCECANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCE
•

Can't delete the primary market's web presence.

Anchor to CANNOT_DISABLE_PRIMARY_MARKETCANNOT_DISABLE_PRIMARY_MARKET
•

Can't disable the primary market.

Anchor to CANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCESCANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCES
•

Can't have both subfolder and domain web presences.

Anchor to CANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKETCANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKET
•

Can't have multiple subfolder web presences per market.

Anchor to CANNOT_HAVE_SUBFOLDER_AND_DOMAINCANNOT_HAVE_SUBFOLDER_AND_DOMAIN
•

Can't pass both subfolderSuffix and domainId.

Anchor to CANNOT_SET_DEFAULT_LOCALE_TO_NULLCANNOT_SET_DEFAULT_LOCALE_TO_NULL
•

Can't set default locale to null.

•

The language isn't enabled on the store.

•

Domain was not found.

•

Duplicates found in languages.

•

The input value is invalid.

•

The market wasn't found.

Anchor to MARKET_REACHED_WEB_PRESENCE_LIMITMARKET_REACHED_WEB_PRESENCE_LIMIT
•

Can't add another web presence to the market.

•

No languages selected.

Anchor to PRIMARY_MARKET_MUST_USE_PRIMARY_DOMAINPRIMARY_MARKET_MUST_USE_PRIMARY_DOMAIN
•

The primary market must use the primary domain.

•

The market region wasn't found.

Anchor to REGION_SPECIFIC_LANGUAGEREGION_SPECIFIC_LANGUAGE
•

Cannot add region-specific language.

Anchor to REQUIRES_DOMAIN_OR_SUBFOLDERREQUIRES_DOMAIN_OR_SUBFOLDER
•

One of subfolderSuffix or domainId is required.

Anchor to REQUIRES_EXACTLY_ONE_OPTIONREQUIRES_EXACTLY_ONE_OPTION
•

Exactly one input option is required.

Anchor to SHOP_REACHED_MARKETS_LIMITSHOP_REACHED_MARKETS_LIMIT
•

Can't have more than 50 markets.

Anchor to SUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODESUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODE
•

The subfolder suffix is invalid, please provide a different value.

Anchor to SUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERSSUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERS
•

The subfolder suffix must contain only letters.

•

The input value is already taken.

•

The input value is too long.

•

The input value is too short.

Anchor to UNPUBLISHED_LANGUAGEUNPUBLISHED_LANGUAGE
•

The language isn't published to the store.

Anchor to UNSUPPORTED_COUNTRY_REGIONUNSUPPORTED_COUNTRY_REGION
•

Can't add unsupported country or region.

Anchor to WEB_PRESENCE_NOT_FOUNDWEB_PRESENCE_NOT_FOUND
•

The market web presence wasn't found.


Was this section helpful?


Was this section helpful?