---
title: MarketUserErrorCode - GraphQL Admin
description: Possible error codes that can be returned by `MarketUserError`.
api_version: 2026-10
source_url:
  html: 'https://shopify.dev/docs/api/admin-graphql/latest/enums/MarketUserErrorCode'
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/MarketUserErrorCode.md
api_name: admin
api_type: graphql
type: enum
---

# Market​User​Error​Code

enum

Possible error codes that can be returned by `MarketUserError`.

## Valid values

* ADAPTIVE\_​PRICING\_​REQUIRED\_​SETUP\_​ERROR

  The given priceInclusions setup is not compatible with adaptive pricing.

* ADAPTIVE\_​PRICING\_​REQUIRES\_​LOCAL\_​CURRENCIES

  Local currencies must be enabled when adaptive pricing is active.

* ADAPTIVE\_​PRICING\_​REQUIRES\_​MANAGED\_​MARKETS

  Adaptive pricing can only be enabled for Markets with Managed Markets enabled.

* B2B\_​CATALOG\_​LIMIT\_​REACHED

  The maximum number of active B2B catalogs allowed by your plan has been reached.

* B2B\_​MARKET\_​MUST\_​BE\_​MERCHANT\_​MANAGED

  B2B markets must be merchant managed.

* BLANK

  The input value is blank.

* CANNOT\_​ACTIVATE\_​MARKET\_​B2B\_​CATALOG\_​LIMIT\_​REACHED

  Can't activate this market because the B2B catalog limit has been reached.

* CANNOT\_​ADD\_​ALL\_​SUBDIVISIONS\_​FOR\_​A\_​COUNTRY\_​TO\_​A\_​MARKET

  Can't add all subdivisions for a country to a market.

* CANNOT\_​ADD\_​CUSTOMER\_​DOMAIN

  Can't add customer account domain to a market.

* CANNOT\_​DELETE\_​ONLY\_​REGION

  Can't delete the only region in a market.

* CANNOT\_​DELETE\_​PRIMARY\_​MARKET

  Can't delete the primary market.

* CANNOT\_​DELETE\_​SUBDIVISION\_​MARKET

  Can't delete the last subdivision-driven market.

* CANNOT\_​DISABLE\_​PRIMARY\_​MARKET

  Can't disable the primary market.

* CANNOT\_​HAVE\_​BOTH\_​SUBFOLDER\_​AND\_​DOMAIN\_​WEB\_​PRESENCES

  Can't have both subfolder and domain web presences.

* CANNOT\_​HAVE\_​MULTIPLE\_​SUBFOLDERS\_​PER\_​MARKET

  Can't have multiple subfolder web presences per market.

* CANNOT\_​HAVE\_​SUBFOLDER\_​AND\_​DOMAIN

  Can't pass both `subfolderSuffix` and `domainId`.

* CANNOT\_​SET\_​DEFAULT\_​LOCALE\_​TO\_​NULL

  Can't set default locale to null.

* CATALOG\_​CONDITION\_​TYPES\_​MUST\_​BE\_​THE\_​SAME

  Catalog condition types must be the same for all conditions on a catalog.

* CATALOG\_​NOT\_​COMPATIBLE\_​WITH\_​CONDITION\_​TYPES

  Catalogs and condition types are not compatible with each other.

* CATALOG\_​TYPE\_​NOT\_​SUPPORTED

  A market can only have market catalogs.

* CATALOGS\_​WITH\_​VOLUME\_​PRICING\_​OR\_​QUANTITY\_​RULES\_​NOT\_​SUPPORTED

  Catalogs with volume pricing or quantity rules are not supported for the specified condition types.

* CHANNEL\_​DRIVER\_​MUST\_​HAVE\_​CHANNEL\_​SPECIFICATION

  A channel driver must have a channel specification.

* CHANNEL\_​MARKET\_​MUST\_​HAVE\_​SINGLE\_​CHANNEL\_​DRIVER

  A channel market must have a single channel driver.

* CHANNEL\_​NOT\_​VALID\_​FOR\_​CHANNEL\_​MARKET

  The selected channel is not valid for a channel market.

* CONDITIONS\_​NOT\_​FOUND

  One or more condition IDs were not found.

* CONTAINS\_​REGIONS\_​THAT\_​CANNOT\_​BE\_​MANAGED

  Contains regions that cannot be managed.

* CUSTOMIZATIONS\_​NOT\_​FOUND

  One or more customizations were not found.

* DISABLED\_​LANGUAGE

  The language isn't enabled on the store.

* DISCOUNT\_​EXCEEDS\_​MARKET\_​LIMIT

  One or more discounts exceed the maximum number of markets allowed.

* DISCOUNT\_​NOT\_​COMPATIBLE\_​WITH\_​B2B\_​MARKET

  The shop does not have discounts enabled for B2B markets.

* DISCOUNT\_​NOT\_​MARKET\_​CONTEXTUAL

  One or more discounts do not have market eligibility.

* DOMAIN\_​NOT\_​FOUND

  Domain was not found.

* DUPLICATE\_​LANGUAGES

  Duplicates found in languages.

* DUPLICATE\_​REGION\_​MARKET

  Duplicate region market.

* DUPLICATE\_​UNIQUE\_​MARKET

  Duplicate unique market.

* EXCEEDS\_​MAX\_​MULTI\_​CONTEXT\_​MARKETS

  Exceeds max multi-context markets.

* GENERIC\_​ERROR

  An error occurred. See the message for details.

* GLOBAL\_​E\_​PRICING\_​STRATEGY\_​NOT\_​PERMITTED

  Global-e pricing configurations can only be edited by Global-e.

* INCLUSION

  The input value isn't included in the list.

* INCLUSIVE\_​PRICING\_​NOT\_​COMPATIBLE\_​WITH\_​CONDITION\_​TYPES

  Inclusive pricing cannot be added to a market with the specified condition types.

* INCOMPATIBLE\_​CONDITIONS

  The specified conditions are not compatible with each other.

* INCOMPATIBLE\_​CONFIGURATION

  The selected customization can't be applied to this configuration.

* INVALID

  The input value is invalid.

* INVALID\_​CHANNEL\_​IDS

  Channel ids are invalid.

* INVALID\_​COUNTRY\_​AND\_​SUBDIVISION\_​CONDITIONS

  A country condition and a subdivision condition belonging to the same country cannot be added to the same market.

* INVALID\_​CUSTOMIZATION\_​FOR\_​SUBDIVISION\_​CONDITION

  Can't add selected customizations to a market with a subdivision condition.

* INVALID\_​PROVINCE\_​FORMAT

  The province format is invalid.

* INVALID\_​STATUS\_​AND\_​ENABLED\_​COMBINATION

  Invalid combination of status and enabled.

* INVALID\_​SUBDIVISION\_​FORMAT

  The subdivision format is invalid.

* LOCATION\_​MATCH\_​ALL\_​REQUIRES\_​ONE\_​SPECIFIC\_​REGION

  Location match all is only valid with one non-match all region.

* LOCATION\_​REGION\_​COUNTRY\_​MISMATCH

  A location's country does not match the region's country.

* MANAGED\_​MARKET

  The currency settings of the given market cannot be changed because the market manager has exclusive control of pricing.

* MANAGED\_​MARKET\_​CURRENCY\_​MUST\_​MATCH\_​COUNTRY

  A Managed Market must use currencies that correspond to all of its countries.

* MANAGED\_​MARKETS\_​CATALOG\_​NOT\_​ALLOWED

  Catalogs created by Managed Markets cannot be added to a market.

* MANAGED\_​MARKETS\_​RESOURCE\_​NOT\_​ALLOWED

  Resources created by Managed Markets cannot be added to a market.

* MARKET\_​CANT\_​HAVE\_​DIRECT\_​CONNECTION\_​CATALOG

  A direct connection catalog can't be attached to a market.

* MARKET\_​MANAGER\_​NOT\_​COMPATIBLE\_​WITH\_​CONDITION\_​TYPES

  Market managers and condition types are not compatible with each other.

* MARKET\_​NOT\_​FOUND

  The market wasn't found.

* MARKET\_​REACHED\_​WEB\_​PRESENCE\_​LIMIT

  Can't add another web presence to the market.

* MARKET\_​UPDATE\_​CONCURRENT\_​MODIFICATION

  Another modification to this market is in progress.

* MISSING\_​COUNTRY\_​CODE

  The country code is missing.

* MISSING\_​PROVINCE\_​CODE

  The province code is missing.

* MISSING\_​SUBDIVISION\_​CODE

  The subdivision code is missing.

* MIXED\_​COUNTRY\_​LOCATIONS\_​NOT\_​ALLOWED

  All retail locations in a market must be in the same country.

* MIXED\_​COUNTRY\_​SUBDIVISIONS\_​NOT\_​ALLOWED

  All regions in a market that includes a subdivision must be in the same country.

* MULTIPLE\_​CURRENCIES\_​NOT\_​SUPPORTED

  The shop's payment gateway does not support enabling more than one currency.

* MUST\_​HAVE\_​AT\_​LEAST\_​ONE\_​ACTIVE\_​REGION\_​MARKET

  Can’t delete, disable, or change the type of the last region market.

* NO\_​LANGUAGES

  No languages selected.

* NOT\_​ENTITLED\_​TO\_​ACTIVATE\_​MARKET

  Your shop is not entitled to activate markets of this type.

* POS\_​LOCATION\_​MARKET\_​MUST\_​BE\_​MERCHANT\_​MANAGED

  POS location markets must be merchant managed.

* PROVINCE\_​DOES\_​NOT\_​EXIST

  The province doesn't exist.

* REGION\_​NOT\_​FOUND

  The market region wasn't found.

* REGION\_​NOT\_​SUPPORTED\_​FOR\_​CHANNEL

  The selected region is not supported for the selected channel.

* REGION\_​SPECIFIC\_​LANGUAGE

  Cannot add region-specific language.

* REQUIRES\_​DOMAIN\_​OR\_​SUBFOLDER

  One of `subfolderSuffix` or `domainId` is required.

* RETAIL\_​LOCATION\_​CURRENCY\_​MUST\_​BE\_​LOCAL

  Retail location currency must be local.

* SHIPPING\_​NOT\_​COMPATIBLE\_​WITH\_​CONDITION\_​TYPES

  Shipping and condition types are not compatible with each other.

* SHOP\_​MUST\_​HAVE\_​PRIMARY\_​DOMAIN\_​WEB\_​PRESENCE

  The shop must have a web presence that uses the primary domain.

* SPECIFIED\_​CONDITIONS\_​CANNOT\_​BE\_​EMPTY

  Specified conditions cannot be empty.

* SPECIFIED\_​NOT\_​VALID\_​FOR\_​INPUT

  With an ID list in input, SPECIFIED is not needed.

* SUBDIVISION\_​DOES\_​NOT\_​EXIST

  The subdivision doesn't exist.

* SUBDIVISION\_​MARKET\_​REQUIRES\_​COUNTRY\_​COVERAGE

  A market that includes a subdivision requires another market that includes the whole country. If the subdivision market is active, the country market must also be active.

* SUBDIVISION\_​MUST\_​BELONG\_​TO\_​COUNTRY

  The selected subdivision does not belong to the selected country.

* SUBFOLDER\_​SUFFIX\_​CANNOT\_​BE\_​SCRIPT\_​CODE

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

* SUBFOLDER\_​SUFFIX\_​MUST\_​BE\_​AT\_​LEAST\_​2\_​LETTERS

  The subfolder suffix must be at least 2 letters.

* TAKEN

  The input value is already taken.

* TOO\_​LONG

  The input value is too long.

* TOO\_​SHORT

  The input value is too short.

* UNPERMITTED\_​ENTITLEMENTS\_​MARKET\_​CATALOGS

  Managing this catalog is not supported by your plan.

* UNPUBLISHED\_​LANGUAGE

  The language isn't published to the store.

* UNSUPPORTED\_​COUNTRY\_​REGION

  Can't add unsupported country or region.

* UNSUPPORTED\_​CURRENCY

  The specified currency is not supported.

* USER\_​LACKS\_​PERMISSION

  The user doesn't have permission access to create or edit markets.

* WEB\_​PRESENCE\_​NOT\_​COMPATIBLE\_​WITH\_​CONDITION\_​TYPES

  Web presences and condition types are not compatible with each other.

* WEB\_​PRESENCE\_​NOT\_​FOUND

  The market web presence wasn't found.

* WEB\_​PRESENCE\_​REACHED\_​MARKETS\_​LIMIT

  Can't add web presence to the another market.

* WILDCARD\_​NOT\_​SUPPORTED

  Matching ALL or NONE isn't supported for this driver type.

### Deprecated valid values

* CANNOT\_​ADD\_​REGIONS\_​TO\_​PRIMARY\_​MARKET

  Deprecated

* CANNOT\_​ADD\_​WEB\_​PRESENCE\_​TO\_​PRIMARY\_​MARKET

  Deprecated

* CANNOT\_​DELETE\_​PRIMARY\_​MARKET\_​WEB\_​PRESENCE

  Deprecated

* INVALID\_​RESPONDER\_​FOR\_​PROVINCE\_​DRIVEN\_​MARKET

  Deprecated

* MARKET\_​NOT\_​COMPATIBLE\_​WITH\_​CONDITION\_​TYPES

  Deprecated

* NO\_​LOCAL\_​CURRENCIES\_​ON\_​SINGLE\_​COUNTRY\_​MARKET

  Deprecated

* NO\_​ROUNDING\_​ON\_​LEGACY\_​MARKET

  Deprecated

* PRIMARY\_​MARKET\_​MUST\_​USE\_​PRIMARY\_​DOMAIN

  Deprecated

* REQUIRES\_​EXACTLY\_​ONE\_​OPTION

  Deprecated

* SHOP\_​REACHED\_​MARKETS\_​LIMIT

  Deprecated

* SUBFOLDER\_​SUFFIX\_​MUST\_​CONTAIN\_​ONLY\_​LETTERS

  Deprecated

* UNIFIED\_​MARKETS\_​NOT\_​ENABLED

  Deprecated

* WEB\_​PRESENCE\_​RETAIL\_​LOCATION

  Deprecated

***

## Fields

* [Market​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/MarketUserError#field-MarketUserError.fields.code)

  OBJECT

  Defines errors encountered while managing a Market.

***

## Map

### Fields with this enum

* [Market​User​Error.code](https://shopify.dev/docs/api/admin-graphql/latest/objects/MarketUserError#field-MarketUserError.fields.code)
