--- title: MarketUserError - GraphQL Admin description: Defines errors encountered while managing a Market. api_version: 2024-10 api_name: admin type: object api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/2024-10/objects/MarketUserError' md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/objects/MarketUserError.txt --- # Market​User​Error object Requires `read_markets` for queries and both `read_markets` as well as `write_markets` for mutations. Defines errors encountered while managing a Market. ## Fields * code [Market​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/2024-10/enums/MarketUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [market​Create](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketCreate) mutation Creates a new market. * [market​Delete](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketDelete) mutation Deletes a market definition. * [market​Update](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketUpdate) mutation Updates the properties of a market. ### Deprecated mutations * [market​Region​Delete](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketRegionDelete) mutation Deprecated * [market​Regions​Create](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketRegionsCreate) mutation Deprecated * [market​Regions​Delete](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketRegionsDelete) mutation Deprecated * [market​Web​Presence​Create](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketWebPresenceCreate) mutation Deprecated * [market​Web​Presence​Delete](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketWebPresenceDelete) mutation Deprecated * [market​Web​Presence​Update](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketWebPresenceUpdate) mutation Deprecated *** ## <\~> MarketUserError Mutations ### Mutated by * <\~>[market​Create](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketCreate) * <\~>[market​Delete](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketDelete) * <\~>[market​Update](https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/marketUpdate) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/2024-10/interfaces/DisplayableError) interface *** ## ||-MarketUserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/admin-graphql/2024-10/interfaces/DisplayableError)